From 291131845667471fc34c726b3fa788dbf67b2050 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Nov 2022 13:02:32 +0000 Subject: [PATCH 1/2] docs: documentation updates chore: cleanup; annotations updates; adding missing imports PiperOrigin-RevId: 486612860 Source-Link: https://github.com/googleapis/googleapis/commit/a6efcc9b7addae8a95fa76d610845a8b08f12fc4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1584a152ac384c9f67d6bdb7e11d10581f1b2341 Copy-Tag: eyJwIjoiamF2YS1kYXRhY2F0YWxvZy8uT3dsQm90LnlhbWwiLCJoIjoiMTU4NGExNTJhYzM4NGM5ZjY3ZDZiZGI3ZTExZDEwNTgxZjFiMjM0MSJ9 --- .../datacatalog/v1/PolicyTagManagerGrpc.java | 1806 -------- .../datacatalog/v1beta1/DataCatalogGrpc.java | 3859 ----------------- .../v1beta1/PolicyTagManagerGrpc.java | 1778 -------- .../cloud/datacatalog/v1/BigQueryProto.java | 105 - .../google/cloud/datacatalog/v1/Common.java | 76 - .../v1/CrossRegionalSourceOrBuilder.java | 54 - .../cloud/datacatalog/v1/DataSourceProto.java | 97 - .../cloud/datacatalog/v1/Datacatalog.java | 1120 ----- .../datacatalog/v1/DataplexSpecProto.java | 126 - .../v1/DeleteEntryGroupRequestOrBuilder.java | 67 - .../v1/DeleteEntryRequestOrBuilder.java | 54 - .../v1/DeletePolicyTagRequestOrBuilder.java | 56 - .../v1/DeleteTagRequestOrBuilder.java | 54 - ...eleteTagTemplateFieldRequestOrBuilder.java | 68 - .../v1/DeleteTagTemplateRequestOrBuilder.java | 68 - .../v1/DeleteTaxonomyRequestOrBuilder.java | 56 - .../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 | 160 - .../datacatalog/v1/PolicyTagManagerProto.java | 387 -- .../PolicyTagManagerSerializationProto.java | 240 - .../v1/ReplaceTaxonomyRequestOrBuilder.java | 95 - .../datacatalog/v1/SchemaOuterClass.java | 93 - .../google/cloud/datacatalog/v1/Search.java | 105 - .../v1/StarEntryRequestOrBuilder.java | 54 - .../v1/StarEntryResponseOrBuilder.java | 24 - .../datacatalog/v1/TableSpecOuterClass.java | 131 - .../com/google/cloud/datacatalog/v1/Tags.java | 245 -- .../cloud/datacatalog/v1/Timestamps.java | 83 - .../v1/UnstarEntryRequestOrBuilder.java | 54 - .../v1/UnstarEntryResponseOrBuilder.java | 24 - .../google/cloud/datacatalog/v1/Usage.java | 108 - .../cloud/datacatalog/v1beta1/Common.java | 56 - .../datacatalog/v1beta1/Datacatalog.java | 792 ---- .../DeleteEntryGroupRequestOrBuilder.java | 69 - .../v1beta1/DeleteEntryRequestOrBuilder.java | 56 - .../DeletePolicyTagRequestOrBuilder.java | 56 - .../v1beta1/DeleteTagRequestOrBuilder.java | 56 - .../DeleteTaxonomyRequestOrBuilder.java | 56 - .../v1beta1/GcsFilesetSpecOuterClass.java | 99 - .../v1beta1/GetEntryRequestOrBuilder.java | 56 - .../v1beta1/GetPolicyTagRequestOrBuilder.java | 54 - .../GetTagTemplateRequestOrBuilder.java | 56 - .../v1beta1/GetTaxonomyRequestOrBuilder.java | 54 - .../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 - .../v1beta1/TableSpecOuterClass.java | 131 - .../cloud/datacatalog/v1beta1/Tags.java | 250 -- .../cloud/datacatalog/v1beta1/Timestamps.java | 84 - .../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 | 0 ...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 .../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 | 3156 +++++--------- .../datacatalog/v1/PolicyTagManagerGrpc.java | 1399 ++++++ .../v1/PolicyTagManagerSerializationGrpc.java | 446 +- .../v1/BigQueryConnectionSpec.java | 606 +-- .../v1/BigQueryConnectionSpecOrBuilder.java | 44 +- .../v1/BigQueryDateShardedSpec.java | 548 +-- .../v1/BigQueryDateShardedSpecOrBuilder.java | 56 +- .../cloud/datacatalog/v1/BigQueryProto.java | 93 + .../datacatalog/v1/BigQueryRoutineSpec.java | 355 +- .../v1/BigQueryRoutineSpecOrBuilder.java | 36 +- .../datacatalog/v1/BigQueryTableSpec.java | 568 +-- .../v1/BigQueryTableSpecOrBuilder.java | 48 +- .../cloud/datacatalog/v1/BusinessContext.java | 422 +- .../v1/BusinessContextOrBuilder.java | 34 +- .../v1/CloudSqlBigQueryConnectionSpec.java | 590 +-- ...oudSqlBigQueryConnectionSpecOrBuilder.java | 42 +- .../cloud/datacatalog/v1/ColumnSchema.java | 801 ++-- .../datacatalog/v1/ColumnSchemaOrBuilder.java | 92 +- .../google/cloud/datacatalog/v1/Common.java | 61 + .../google/cloud/datacatalog/v1/Contacts.java | 801 ++-- .../datacatalog/v1/ContactsOrBuilder.java | 36 +- .../v1/CreateEntryGroupRequest.java | 517 +-- .../v1/CreateEntryGroupRequestOrBuilder.java | 52 +- .../datacatalog/v1/CreateEntryRequest.java | 543 +-- .../v1/CreateEntryRequestOrBuilder.java | 61 +- .../v1/CreatePolicyTagRequest.java | 447 +- .../v1/CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1/CreateTagRequest.java | 468 +- .../v1/CreateTagRequestOrBuilder.java | 52 +- .../v1/CreateTagTemplateFieldRequest.java | 576 +-- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1/CreateTagTemplateRequest.java | 565 +-- .../v1/CreateTagTemplateRequestOrBuilder.java | 64 +- .../datacatalog/v1/CreateTaxonomyRequest.java | 447 +- .../v1/CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1/CrossRegionalSource.java | 355 +- .../v1/CrossRegionalSourceOrBuilder.java | 29 + .../cloud/datacatalog/v1/DataSource.java | 670 ++- .../v1/DataSourceConnectionSpec.java | 413 +- .../v1/DataSourceConnectionSpecOrBuilder.java | 35 +- .../datacatalog/v1/DataSourceOrBuilder.java | 50 +- .../cloud/datacatalog/v1/DataSourceProto.java | 81 + .../datacatalog/v1/DatabaseTableSpec.java | 546 +-- .../v1/DatabaseTableSpecOrBuilder.java | 50 +- .../cloud/datacatalog/v1/Datacatalog.java | 1023 +++++ .../datacatalog/v1/DataplexExternalTable.java | 548 +-- .../v1/DataplexExternalTableOrBuilder.java | 51 +- .../datacatalog/v1/DataplexFilesetSpec.java | 337 +- .../v1/DataplexFilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/DataplexSpec.java | 556 +-- .../datacatalog/v1/DataplexSpecOrBuilder.java | 53 +- .../datacatalog/v1/DataplexSpecProto.java | 108 + .../datacatalog/v1/DataplexTableSpec.java | 522 +-- .../v1/DataplexTableSpecOrBuilder.java | 44 +- .../v1/DeleteEntryGroupRequest.java | 396 +- .../v1/DeleteEntryGroupRequestOrBuilder.java | 39 + .../datacatalog/v1/DeleteEntryRequest.java | 355 +- .../v1/DeleteEntryRequestOrBuilder.java | 29 + .../v1/DeletePolicyTagRequest.java | 358 +- .../v1/DeletePolicyTagRequestOrBuilder.java | 31 + .../datacatalog/v1/DeleteTagRequest.java | 355 +- .../v1/DeleteTagRequestOrBuilder.java | 29 + .../v1/DeleteTagTemplateFieldRequest.java | 403 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 40 + .../v1/DeleteTagTemplateRequest.java | 396 +- .../v1/DeleteTagTemplateRequestOrBuilder.java | 40 + .../datacatalog/v1/DeleteTaxonomyRequest.java | 358 +- .../v1/DeleteTaxonomyRequestOrBuilder.java | 31 + .../google/cloud/datacatalog/v1/Entry.java | 3103 +++++-------- .../cloud/datacatalog/v1/EntryGroup.java | 623 ++- .../cloud/datacatalog/v1/EntryGroupName.java | 0 .../datacatalog/v1/EntryGroupOrBuilder.java | 65 +- .../cloud/datacatalog/v1/EntryName.java | 0 .../cloud/datacatalog/v1/EntryOrBuilder.java | 374 +- .../cloud/datacatalog/v1/EntryOverview.java | 320 +- .../v1/EntryOverviewOrBuilder.java | 27 +- .../cloud/datacatalog/v1/EntryType.java | 147 +- .../v1/ExportTaxonomiesRequest.java | 603 +-- .../v1/ExportTaxonomiesRequestOrBuilder.java | 78 +- .../v1/ExportTaxonomiesResponse.java | 394 +- .../v1/ExportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/FieldType.java | 1435 +++--- .../datacatalog/v1/FieldTypeOrBuilder.java | 35 +- .../cloud/datacatalog/v1/FilesetSpec.java | 336 +- .../datacatalog/v1/FilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/GcsFileSpec.java | 492 +-- .../datacatalog/v1/GcsFileSpecOrBuilder.java | 50 +- .../cloud/datacatalog/v1/GcsFilesetSpec.java | 576 +-- .../v1/GcsFilesetSpecOrBuilder.java | 74 +- .../v1/GcsFilesetSpecOuterClass.java | 81 + .../datacatalog/v1/GetEntryGroupRequest.java | 432 +- .../v1/GetEntryGroupRequestOrBuilder.java | 43 +- .../cloud/datacatalog/v1/GetEntryRequest.java | 351 +- .../v1/GetEntryRequestOrBuilder.java | 29 + .../datacatalog/v1/GetPolicyTagRequest.java | 355 +- .../v1/GetPolicyTagRequestOrBuilder.java | 29 + .../datacatalog/v1/GetTagTemplateRequest.java | 358 +- .../v1/GetTagTemplateRequestOrBuilder.java | 29 + .../datacatalog/v1/GetTaxonomyRequest.java | 355 +- .../v1/GetTaxonomyRequestOrBuilder.java | 29 + .../v1/ImportTaxonomiesRequest.java | 597 +-- .../v1/ImportTaxonomiesRequestOrBuilder.java | 51 +- .../v1/ImportTaxonomiesResponse.java | 412 +- .../v1/ImportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/InlineSource.java | 476 +- .../datacatalog/v1/InlineSourceOrBuilder.java | 53 + .../datacatalog/v1/IntegratedSystem.java | 96 +- .../datacatalog/v1/ListEntriesRequest.java | 540 +-- .../v1/ListEntriesRequestOrBuilder.java | 55 +- .../datacatalog/v1/ListEntriesResponse.java | 482 +- .../v1/ListEntriesResponseOrBuilder.java | 45 +- .../v1/ListEntryGroupsRequest.java | 472 +- .../v1/ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1/ListEntryGroupsResponse.java | 486 +-- .../v1/ListEntryGroupsResponseOrBuilder.java | 45 +- .../datacatalog/v1/ListPolicyTagsRequest.java | 472 +- .../v1/ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1/ListPolicyTagsResponse.java | 486 +-- .../v1/ListPolicyTagsResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/ListTagsRequest.java | 465 +- .../v1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1/ListTagsResponse.java | 488 +-- .../v1/ListTagsResponseOrBuilder.java | 46 +- .../datacatalog/v1/ListTaxonomiesRequest.java | 472 +- .../v1/ListTaxonomiesRequestOrBuilder.java | 47 +- .../v1/ListTaxonomiesResponse.java | 489 +-- .../v1/ListTaxonomiesResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/LocationName.java | 0 .../datacatalog/v1/LookupEntryRequest.java | 582 ++- .../v1/LookupEntryRequestOrBuilder.java | 54 +- .../v1/ModifyEntryContactsRequest.java | 495 +-- .../ModifyEntryContactsRequestOrBuilder.java | 56 + .../v1/ModifyEntryOverviewRequest.java | 492 +-- .../ModifyEntryOverviewRequestOrBuilder.java | 56 + .../cloud/datacatalog/v1/PersonalDetails.java | 362 +- .../v1/PersonalDetailsOrBuilder.java | 29 +- .../cloud/datacatalog/v1/PhysicalSchema.java | 2632 +++++------ .../v1/PhysicalSchemaOrBuilder.java | 66 +- .../datacatalog/v1/PhysicalSchemaProto.java | 135 + .../cloud/datacatalog/v1/PolicyTag.java | 697 ++- .../datacatalog/v1/PolicyTagManagerProto.java | 354 ++ .../PolicyTagManagerSerializationProto.java | 217 + .../cloud/datacatalog/v1/PolicyTagName.java | 0 .../datacatalog/v1/PolicyTagOrBuilder.java | 84 +- ...enameTagTemplateFieldEnumValueRequest.java | 491 +-- ...emplateFieldEnumValueRequestOrBuilder.java | 44 +- .../v1/RenameTagTemplateFieldRequest.java | 444 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../v1/ReplaceTaxonomyRequest.java | 505 +-- .../v1/ReplaceTaxonomyRequestOrBuilder.java | 56 + .../cloud/datacatalog/v1/RoutineSpec.java | 1520 +++---- .../datacatalog/v1/RoutineSpecOrBuilder.java | 74 +- .../google/cloud/datacatalog/v1/Schema.java | 389 +- .../cloud/datacatalog/v1/SchemaOrBuilder.java | 36 +- .../datacatalog/v1/SchemaOuterClass.java | 77 + .../google/cloud/datacatalog/v1/Search.java | 80 + .../datacatalog/v1/SearchCatalogRequest.java | 1500 +++---- .../v1/SearchCatalogRequestOrBuilder.java | 68 +- .../datacatalog/v1/SearchCatalogResponse.java | 576 +-- .../v1/SearchCatalogResponseOrBuilder.java | 63 +- .../datacatalog/v1/SearchCatalogResult.java | 1119 ++--- .../v1/SearchCatalogResultOrBuilder.java | 119 +- .../datacatalog/v1/SearchResultType.java | 89 +- .../datacatalog/v1/SerializedPolicyTag.java | 623 ++- .../v1/SerializedPolicyTagOrBuilder.java | 60 +- .../datacatalog/v1/SerializedTaxonomy.java | 735 ++-- .../v1/SerializedTaxonomyOrBuilder.java | 87 +- .../datacatalog/v1/StarEntryRequest.java | 355 +- .../v1/StarEntryRequestOrBuilder.java | 29 + .../datacatalog/v1/StarEntryResponse.java | 251 +- .../v1/StarEntryResponseOrBuilder.java | 9 + .../datacatalog/v1/StorageProperties.java | 432 +- .../v1/StoragePropertiesOrBuilder.java | 45 +- .../datacatalog/v1/SystemTimestamps.java | 539 +-- .../v1/SystemTimestampsOrBuilder.java | 51 +- .../cloud/datacatalog/v1/TableSourceType.java | 93 +- .../cloud/datacatalog/v1/TableSpec.java | 348 +- .../datacatalog/v1/TableSpecOrBuilder.java | 35 +- .../datacatalog/v1/TableSpecOuterClass.java | 113 + .../com/google/cloud/datacatalog/v1/Tag.java | 889 ++-- .../google/cloud/datacatalog/v1/TagField.java | 1209 ++---- .../datacatalog/v1/TagFieldOrBuilder.java | 82 +- .../google/cloud/datacatalog/v1/TagName.java | 0 .../cloud/datacatalog/v1/TagOrBuilder.java | 108 +- .../cloud/datacatalog/v1/TagTemplate.java | 743 ++-- .../datacatalog/v1/TagTemplateField.java | 693 ++- .../v1/TagTemplateFieldEnumValueName.java | 0 .../datacatalog/v1/TagTemplateFieldName.java | 0 .../v1/TagTemplateFieldOrBuilder.java | 71 +- .../cloud/datacatalog/v1/TagTemplateName.java | 0 .../datacatalog/v1/TagTemplateOrBuilder.java | 90 +- .../com/google/cloud/datacatalog/v1/Tags.java | 211 + .../google/cloud/datacatalog/v1/Taxonomy.java | 916 ++-- .../cloud/datacatalog/v1/TaxonomyName.java | 0 .../datacatalog/v1/TaxonomyOrBuilder.java | 106 +- .../cloud/datacatalog/v1/Timestamps.java | 68 + .../datacatalog/v1/UnstarEntryRequest.java | 355 +- .../v1/UnstarEntryRequestOrBuilder.java | 29 + .../datacatalog/v1/UnstarEntryResponse.java | 251 +- .../v1/UnstarEntryResponseOrBuilder.java | 9 + .../v1/UpdateEntryGroupRequest.java | 467 +- .../v1/UpdateEntryGroupRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateEntryRequest.java | 445 +- .../v1/UpdateEntryRequestOrBuilder.java | 43 +- .../v1/UpdatePolicyTagRequest.java | 422 +- .../v1/UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1/UpdateTagRequest.java | 447 +- .../v1/UpdateTagRequestOrBuilder.java | 43 +- .../v1/UpdateTagTemplateFieldRequest.java | 616 +-- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1/UpdateTagTemplateRequest.java | 467 +- .../v1/UpdateTagTemplateRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateTaxonomyRequest.java | 426 +- .../v1/UpdateTaxonomyRequestOrBuilder.java | 34 +- .../google/cloud/datacatalog/v1/Usage.java | 96 + .../cloud/datacatalog/v1/UsageSignal.java | 624 ++- .../datacatalog/v1/UsageSignalOrBuilder.java | 80 +- .../cloud/datacatalog/v1/UsageStats.java | 403 +- .../datacatalog/v1/UsageStatsOrBuilder.java | 30 +- .../google/cloud/datacatalog/v1/ViewSpec.java | 317 +- .../datacatalog/v1/ViewSpecOrBuilder.java | 27 +- .../cloud/datacatalog/v1/bigquery.proto | 1 + .../google/cloud/datacatalog/v1/common.proto | 0 .../cloud/datacatalog/v1/data_source.proto | 0 .../cloud/datacatalog/v1/datacatalog.proto | 34 +- .../cloud/datacatalog/v1/dataplex_spec.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 | 5 +- .../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 .../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 .../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 | 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 .../DataCatalogClientHttpJsonTest.java | 0 .../v1beta1/DataCatalogClientTest.java | 0 .../datacatalog/v1beta1/MockDataCatalog.java | 0 .../v1beta1/MockDataCatalogImpl.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 .../datacatalog/v1beta1/DataCatalogGrpc.java | 3000 +++++++++++++ .../v1beta1/PolicyTagManagerGrpc.java | 1352 ++++++ .../PolicyTagManagerSerializationGrpc.java | 347 +- .../v1beta1/BigQueryDateShardedSpec.java | 482 +- .../BigQueryDateShardedSpecOrBuilder.java | 47 +- .../v1beta1/BigQueryTableSpec.java | 573 +-- .../v1beta1/BigQueryTableSpecOrBuilder.java | 48 +- .../datacatalog/v1beta1/ColumnSchema.java | 792 ++-- .../v1beta1/ColumnSchemaOrBuilder.java | 92 +- .../cloud/datacatalog/v1beta1/Common.java | 45 + .../v1beta1/CreateEntryGroupRequest.java | 524 +-- .../CreateEntryGroupRequestOrBuilder.java | 52 +- .../v1beta1/CreateEntryRequest.java | 568 +-- .../v1beta1/CreateEntryRequestOrBuilder.java | 64 +- .../v1beta1/CreatePolicyTagRequest.java | 444 +- .../CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/CreateTagRequest.java | 482 +- .../v1beta1/CreateTagRequestOrBuilder.java | 52 +- .../CreateTagTemplateFieldRequest.java | 613 +-- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1beta1/CreateTagTemplateRequest.java | 572 +-- .../CreateTagTemplateRequestOrBuilder.java | 64 +- .../v1beta1/CreateTaxonomyRequest.java | 444 +- .../CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/Datacatalog.java | 730 ++++ .../v1beta1/DeleteEntryGroupRequest.java | 403 +- .../DeleteEntryGroupRequestOrBuilder.java | 41 + .../v1beta1/DeleteEntryRequest.java | 358 +- .../v1beta1/DeleteEntryRequestOrBuilder.java | 31 + .../v1beta1/DeletePolicyTagRequest.java | 358 +- .../DeletePolicyTagRequestOrBuilder.java | 31 + .../datacatalog/v1beta1/DeleteTagRequest.java | 358 +- .../v1beta1/DeleteTagRequestOrBuilder.java | 31 + .../DeleteTagTemplateFieldRequest.java | 428 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTagTemplateRequest.java | 403 +- .../DeleteTagTemplateRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTaxonomyRequest.java | 358 +- .../DeleteTaxonomyRequestOrBuilder.java | 31 + .../cloud/datacatalog/v1beta1/Entry.java | 1651 +++---- .../cloud/datacatalog/v1beta1/EntryGroup.java | 627 ++- .../datacatalog/v1beta1/EntryGroupName.java | 0 .../v1beta1/EntryGroupOrBuilder.java | 68 +- .../cloud/datacatalog/v1beta1/EntryName.java | 0 .../datacatalog/v1beta1/EntryOrBuilder.java | 178 +- .../cloud/datacatalog/v1beta1/EntryType.java | 96 +- .../v1beta1/ExportTaxonomiesRequest.java | 610 +-- .../ExportTaxonomiesRequestOrBuilder.java | 78 +- .../v1beta1/ExportTaxonomiesResponse.java | 417 +- .../ExportTaxonomiesResponseOrBuilder.java | 33 +- .../cloud/datacatalog/v1beta1/FieldType.java | 1476 +++---- .../v1beta1/FieldTypeOrBuilder.java | 35 +- .../datacatalog/v1beta1/GcsFileSpec.java | 505 +-- .../v1beta1/GcsFileSpecOrBuilder.java | 50 +- .../datacatalog/v1beta1/GcsFilesetSpec.java | 590 +-- .../v1beta1/GcsFilesetSpecOrBuilder.java | 71 +- .../v1beta1/GcsFilesetSpecOuterClass.java | 83 + .../v1beta1/GetEntryGroupRequest.java | 435 +- .../GetEntryGroupRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/GetEntryRequest.java | 355 +- .../v1beta1/GetEntryRequestOrBuilder.java | 31 + .../v1beta1/GetPolicyTagRequest.java | 358 +- .../v1beta1/GetPolicyTagRequestOrBuilder.java | 29 + .../v1beta1/GetTagTemplateRequest.java | 358 +- .../GetTagTemplateRequestOrBuilder.java | 31 + .../v1beta1/GetTaxonomyRequest.java | 358 +- .../v1beta1/GetTaxonomyRequestOrBuilder.java | 29 + .../v1beta1/ImportTaxonomiesRequest.java | 494 +-- .../ImportTaxonomiesRequestOrBuilder.java | 43 +- .../v1beta1/ImportTaxonomiesResponse.java | 413 +- .../ImportTaxonomiesResponseOrBuilder.java | 36 +- .../datacatalog/v1beta1/InlineSource.java | 499 +-- .../v1beta1/InlineSourceOrBuilder.java | 53 + .../datacatalog/v1beta1/IntegratedSystem.java | 82 +- .../v1beta1/ListEntriesRequest.java | 543 +-- .../v1beta1/ListEntriesRequestOrBuilder.java | 55 +- .../v1beta1/ListEntriesResponse.java | 486 +-- .../v1beta1/ListEntriesResponseOrBuilder.java | 45 +- .../v1beta1/ListEntryGroupsRequest.java | 472 +- .../ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1beta1/ListEntryGroupsResponse.java | 476 +- .../ListEntryGroupsResponseOrBuilder.java | 45 +- .../v1beta1/ListPolicyTagsRequest.java | 472 +- .../ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1beta1/ListPolicyTagsResponse.java | 483 +-- .../ListPolicyTagsResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/ListTagsRequest.java | 469 +- .../v1beta1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1beta1/ListTagsResponse.java | 485 +-- .../v1beta1/ListTagsResponseOrBuilder.java | 45 +- .../v1beta1/ListTaxonomiesRequest.java | 472 +- .../ListTaxonomiesRequestOrBuilder.java | 47 +- .../v1beta1/ListTaxonomiesResponse.java | 483 +-- .../ListTaxonomiesResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/LocationName.java | 0 .../v1beta1/LookupEntryRequest.java | 486 +-- .../v1beta1/LookupEntryRequestOrBuilder.java | 42 +- .../cloud/datacatalog/v1beta1/PolicyTag.java | 697 ++- .../v1beta1/PolicyTagManagerProto.java | 357 ++ .../PolicyTagManagerSerializationProto.java | 184 + .../datacatalog/v1beta1/PolicyTagName.java | 0 .../v1beta1/PolicyTagOrBuilder.java | 84 +- .../RenameTagTemplateFieldRequest.java | 469 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../cloud/datacatalog/v1beta1/Schema.java | 490 +-- .../datacatalog/v1beta1/SchemaOrBuilder.java | 58 + .../datacatalog/v1beta1/SchemaOuterClass.java | 79 + .../cloud/datacatalog/v1beta1/Search.java | 64 + .../v1beta1/SearchCatalogRequest.java | 1213 ++---- .../SearchCatalogRequestOrBuilder.java | 68 +- .../v1beta1/SearchCatalogResponse.java | 485 +-- .../SearchCatalogResponseOrBuilder.java | 45 +- .../v1beta1/SearchCatalogResult.java | 555 +-- .../v1beta1/SearchCatalogResultOrBuilder.java | 51 +- .../datacatalog/v1beta1/SearchResultType.java | 89 +- .../v1beta1/SerializedPolicyTag.java | 653 ++- .../v1beta1/SerializedPolicyTagOrBuilder.java | 66 +- .../v1beta1/SerializedTaxonomy.java | 565 +-- .../v1beta1/SerializedTaxonomyOrBuilder.java | 51 +- .../datacatalog/v1beta1/SystemTimestamps.java | 542 +-- .../v1beta1/SystemTimestampsOrBuilder.java | 51 +- .../datacatalog/v1beta1/TableSourceType.java | 86 +- .../cloud/datacatalog/v1beta1/TableSpec.java | 348 +- .../v1beta1/TableSpecOrBuilder.java | 35 +- .../v1beta1/TableSpecOuterClass.java | 113 + .../google/cloud/datacatalog/v1beta1/Tag.java | 909 ++-- .../cloud/datacatalog/v1beta1/TagField.java | 1120 ++--- .../v1beta1/TagFieldOrBuilder.java | 70 +- .../cloud/datacatalog/v1beta1/TagName.java | 0 .../datacatalog/v1beta1/TagOrBuilder.java | 108 +- .../datacatalog/v1beta1/TagTemplate.java | 710 ++- .../datacatalog/v1beta1/TagTemplateField.java | 609 +-- .../v1beta1/TagTemplateFieldName.java | 0 .../v1beta1/TagTemplateFieldOrBuilder.java | 62 +- .../datacatalog/v1beta1/TagTemplateName.java | 0 .../v1beta1/TagTemplateOrBuilder.java | 85 +- .../cloud/datacatalog/v1beta1/Tags.java | 211 + .../cloud/datacatalog/v1beta1/Taxonomy.java | 752 ++-- .../datacatalog/v1beta1/TaxonomyName.java | 0 .../v1beta1/TaxonomyOrBuilder.java | 86 +- .../cloud/datacatalog/v1beta1/Timestamps.java | 69 + .../v1beta1/UpdateEntryGroupRequest.java | 478 +- .../UpdateEntryGroupRequestOrBuilder.java | 46 +- .../v1beta1/UpdateEntryRequest.java | 470 +- .../v1beta1/UpdateEntryRequestOrBuilder.java | 46 +- .../v1beta1/UpdatePolicyTagRequest.java | 419 +- .../UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1beta1/UpdateTagRequest.java | 461 +- .../v1beta1/UpdateTagRequestOrBuilder.java | 43 +- .../UpdateTagTemplateFieldRequest.java | 653 +-- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1beta1/UpdateTagTemplateRequest.java | 474 +- .../UpdateTagTemplateRequestOrBuilder.java | 46 +- .../v1beta1/UpdateTaxonomyRequest.java | 423 +- .../UpdateTaxonomyRequestOrBuilder.java | 34 +- .../cloud/datacatalog/v1beta1/ViewSpec.java | 320 +- .../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 .../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 .../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 908 files changed, 50720 insertions(+), 79798 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/Common.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/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/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/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/Timestamps.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 (100%) 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/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 (51%) 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 (54%) 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 (69%) 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 (66%) 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 (68%) 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/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 (66%) 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/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 (68%) 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 (65%) 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 (65%) 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 (65%) 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 (62%) 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 (62%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java (53%) 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 (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java (56%) 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 (69%) 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 (66%) 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 (63%) 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 (63%) 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 (63%) create mode 100644 owl-bot-staging/java-datacatalog/v1/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java 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 (67%) 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 (80%) 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 (74%) 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 (52%) 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 (68%) 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 (61%) 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 (62%) 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 (62%) 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/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 (67%) 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 (69%) 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 (67%) 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 (67%) 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 (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java (57%) 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/LookupEntryRequest.java (76%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java (86%) 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/RenameTagTemplateFieldEnumValueRequest.java (60%) 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 (72%) 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 (73%) 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 (76%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java (78%) 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 (80%) 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/StarEntryRequest.java (61%) 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 (80%) 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 (71%) 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 (53%) 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 (68%) 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 (83%) 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 (67%) 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 (72%) 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 (61%) 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 (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java (65%) 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 (68%) 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 (69%) 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 (72%) 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 (61%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java (68%) 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 (98%) 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/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 (91%) 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/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/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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java (99%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java (100%) 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 (100%) 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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java (100%) 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 (99%) 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 (100%) 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 (100%) 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 (100%) 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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java (100%) 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 (100%) 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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java (100%) 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 (100%) 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 (50%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java (63%) 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 (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java (64%) 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 (55%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java (66%) 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 (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java (59%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java (61%) 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 (66%) 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 (63%) 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 (62%) 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 (52%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java (63%) 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 (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java (68%) 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 (66%) 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 (83%) 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 (52%) 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 (70%) 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 (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java (83%) 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 (62%) 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 (62%) 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 (62%) 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 (62%) 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 (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java (60%) 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 (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java (60%) 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 (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java (64%) 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 (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java (55%) 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 (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java (82%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java (75%) 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 (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java (56%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java (63%) 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 (74%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java (78%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java (71%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java (72%) 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 (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java (73%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java (75%) 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 (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java (53%) 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 (68%) 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 (82%) 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 (72%) 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 (68%) 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 (68%) 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 (69%) create mode 100644 owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java (71%) 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%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java (68%) 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 (64%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java (60%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java (70%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java (74%) 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 (67%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java (69%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java (66%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java (68%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java (65%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java (63%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java (72%) 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%) 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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto (100%) 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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto (100%) 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%) 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 (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java (100%) rename {java-datacatalog => owl-bot-staging/java-datacatalog/v1beta1}/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java (100%) 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 ca0bd99fe764..000000000000 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java +++ /dev/null @@ -1,1806 +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 abstract static class PolicyTagManagerImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void listTaxonomies( - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTaxonomiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public 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.
-     * 
- */ - public 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
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>(this, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>(this, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( - this, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>(this, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>(this, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, - com.google.protobuf.Empty>(this, 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>(this, 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>( - this, 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>(this, METHODID_GET_POLICY_TAG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 PolicyTagManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PolicyTagManagerImplBase 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(); - } - } - } - - 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 c52edd603893..000000000000 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java +++ /dev/null @@ -1,3859 +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 abstract static class DataCatalogImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.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).
-     * 
- */ - public 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).
-     * 
- */ - public void updateEntryGroup( - com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntryGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an EntryGroup.
-     * 
- */ - public 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).
-     * 
- */ - public void deleteEntryGroup( - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryGroupMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists entry groups.
-     * 
- */ - public 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.
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public void deleteEntry( - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an entry.
-     * 
- */ - public 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.
-     * 
- */ - public void lookupEntry( - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getLookupEntryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists entries.
-     * 
- */ - public 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).
-     * 
- */ - public 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.
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void updateTag( - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_SEARCH_CATALOG))) - .addMethod( - getCreateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - this, 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>( - this, 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>( - this, METHODID_GET_ENTRY_GROUP))) - .addMethod( - getDeleteEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, - com.google.protobuf.Empty>(this, 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>( - this, 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>(this, METHODID_CREATE_ENTRY))) - .addMethod( - getUpdateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_UPDATE_ENTRY))) - .addMethod( - getDeleteEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ENTRY))) - .addMethod( - getGetEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_GET_ENTRY))) - .addMethod( - getLookupEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_LOOKUP_ENTRY))) - .addMethod( - getListEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( - this, METHODID_LIST_ENTRIES))) - .addMethod( - getCreateTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - this, 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>( - this, 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>( - this, METHODID_UPDATE_TAG_TEMPLATE))) - .addMethod( - getDeleteTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, - com.google.protobuf.Empty>(this, 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>( - this, 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>( - this, 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>( - this, METHODID_RENAME_TAG_TEMPLATE_FIELD))) - .addMethod( - getDeleteTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty>(this, 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>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 DataCatalogImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataCatalogImplBase 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(); - } - } - } - - 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 2eb2f526c221..000000000000 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java +++ /dev/null @@ -1,1778 +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 abstract static class PolicyTagManagerImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTaxonomyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTaxonomyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a taxonomy.
-     * 
- */ - public 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.
-     * 
- */ - public void listTaxonomies( - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTaxonomiesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a taxonomy.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - this, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( - this, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>(this, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - this, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, - com.google.protobuf.Empty>(this, 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>( - this, 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>( - this, 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>( - this, METHODID_GET_POLICY_TAG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 PolicyTagManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PolicyTagManagerImplBase 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(); - } - } - } - - 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 5a04ebdb6211..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.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/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\"\264\002\n\026Bi" - + "gQueryConnectionSpec\022[\n\017connection_type\030" - + "\001 \001(\0162B.google.cloud.datacatalog.v1.BigQ" - + "ueryConnectionSpec.ConnectionType\022P\n\tclo" - + "ud_sql\030\002 \001(\0132;.google.cloud.datacatalog." - + "v1.CloudSqlBigQueryConnectionSpecH\000\022\026\n\016h" - + "as_credential\030\003 \001(\010\"@\n\016ConnectionType\022\037\n" - + "\033CONNECTION_TYPE_UNSPECIFIED\020\000\022\r\n\tCLOUD_" - + "SQL\020\001B\021\n\017connection_spec\"\347\001\n\036CloudSqlBig" - + "QueryConnectionSpec\022\023\n\013instance_id\030\001 \001(\t" - + "\022\020\n\010database\030\002 \001(\t\022V\n\004type\030\003 \001(\0162H.googl" - + "e.cloud.datacatalog.v1.CloudSqlBigQueryC" - + "onnectionSpec.DatabaseType\"F\n\014DatabaseTy" - + "pe\022\035\n\031DATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POS" - + "TGRES\020\001\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpe" - + "c\022\032\n\022imported_libraries\030\001 \003(\tB\332\001\n\037com.go" - + "ogle.cloud.datacatalog.v1B\rBigQueryProto" - + "P\001ZFgoogle.golang.org/genproto/googleapi" - + "s/cloud/datacatalog/v1;datacatalog\370\001\001\252\002\033" - + "Google.Cloud.DataCatalog.V1\312\002\033Google\\Clo" - + "ud\\DataCatalog\\V1\352\002\036Google::Cloud::DataC" - + "atalog::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - 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", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 75a56f19348d..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java +++ /dev/null @@ -1,76 +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*{\n\020Integrate" - + "dSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIED" - + "\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022DA" - + "TAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004B\313\001\n\037com" - + ".google.cloud.datacatalog.v1P\001ZFgoogle.g" - + "olang.org/genproto/googleapis/cloud/data" - + "catalog/v1;datacatalog\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.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/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 a754645aa9e6..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\"\234\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\031\n\014source_entry\030\003 \001(\tB\003\340A\003\022L\n\022s" - + "torage_properties\030\004 \001(\0132..google.cloud.d" - + "atacatalog.v1.StoragePropertiesH\000\"C\n\007Ser" - + "vice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_S" - + "TORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n\021" - + "StorageProperties\022\024\n\014file_pattern\030\001 \003(\t\022" - + "\021\n\tfile_type\030\002 \001(\tB\334\001\n\037com.google.cloud." - + "datacatalog.v1B\017DataSourceProtoP\001ZFgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atacatalog/v1;datacatalog\370\001\001\252\002\033Google.Cl" - + "oud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCa" - + "talog\\V1\352\002\036Google::Cloud::DataCatalog::V" - + "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_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 f7385b047b13..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java +++ /dev/null @@ -1,1120 +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_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_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_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_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\033google/protobuf/" - + "empty.proto\032 google/protobuf/field_mask." - + "proto\"\205\003\n\024SearchCatalogRequest\022K\n\005scope\030" - + "\006 \001(\01327.google.cloud.datacatalog.v1.Sear" - + "chCatalogRequest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001" - + "(\tB\003\340A\001\022\021\n\tpage_size\030\002 \001(\005\022\027\n\npage_token" - + "\030\003 \001(\tB\003\340A\001\022\020\n\010order_by\030\005 \001(\t\032\315\001\n\005Scope\022" - + "\027\n\017include_org_ids\030\002 \003(\t\022\033\n\023include_proj" - + "ect_ids\030\003 \003(\t\022#\n\033include_gcp_public_data" - + "sets\030\007 \001(\010\022!\n\024restricted_locations\030\020 \003(\t" - + "B\003\340A\001\022\031\n\014starred_only\030\022 \001(\010B\003\340A\001\022+\n\034incl" - + "ude_public_tag_templates\030\023 \001(\010B\005\030\001\340A\001\"\210\001" - + "\n\025SearchCatalogResponse\022A\n\007results\030\001 \003(\013" - + "20.google.cloud.datacatalog.v1.SearchCat" - + "alogResult\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013u" - + "nreachable\030\006 \003(\t\"\263\001\n\027CreateEntryGroupReq" - + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" - + "g.googleapis.com/EntryGroup\022\033\n\016entry_gro" - + "up_id\030\003 \001(\tB\003\340A\002\022<\n\013entry_group\030\002 \001(\0132\'." - + "google.cloud.datacatalog.v1.EntryGroup\"\215" - + "\001\n\027UpdateEntryGroupRequest\022A\n\013entry_grou" - + "p\030\001 \001(\0132\'.google.cloud.datacatalog.v1.En" - + "tryGroupB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\"\202\001\n\024GetEntryGroup" - + "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatal" - + "og.googleapis.com/EntryGroup\022-\n\tread_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"j\n\027D" - + "eleteEntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A" - + "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" - + "oup\022\022\n\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGro" - + "upsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%data" - + "catalog.googleapis.com/EntryGroup\022\026\n\tpag" - + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" - + "A\001\"q\n\027ListEntryGroupsResponse\022=\n\014entry_g" - + "roups\030\001 \003(\0132\'.google.cloud.datacatalog.v" - + "1.EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\242\001" - + "\n\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A" - + "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" - + "oup\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\0226\n\005entry\030\002 \001(" - + "\0132\".google.cloud.datacatalog.v1.EntryB\003\340" - + "A\002\"}\n\022UpdateEntryRequest\0226\n\005entry\030\001 \001(\0132" - + "\".google.cloud.datacatalog.v1.EntryB\003\340A\002" - + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\"L\n\022DeleteEntryRequest\0226\n\004name\030" - + "\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleapis.co" - + "m/Entry\"I\n\017GetEntryRequest\0226\n\004name\030\001 \001(\t" - + "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" - + "ry\"v\n\022LookupEntryRequest\022\031\n\017linked_resou" - + "rce\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000\022\036\n\024f" - + "ully_qualified_name\030\005 \001(\tH\000B\r\n\013target_na" - + "me\"\315\014\n\005Entry\022;\n\004name\030\001 \001(\tB-\340A\003\372A\'\n%data" - + "catalog.googleapis.com/EntryGroup\022\027\n\017lin" - + "ked_resource\030\t \001(\t\022\034\n\024fully_qualified_na" - + "me\030\035 \001(\t\0226\n\004type\030\002 \001(\0162&.google.cloud.da" - + "tacatalog.v1.EntryTypeH\000\022\035\n\023user_specifi" - + "ed_type\030\020 \001(\tH\000\022O\n\021integrated_system\030\021 \001" - + "(\0162-.google.cloud.datacatalog.v1.Integra" - + "tedSystemB\003\340A\003H\001\022\037\n\025user_specified_syste" - + "m\030\022 \001(\tH\001\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.go" - + "ogle.cloud.datacatalog.v1.GcsFilesetSpec" - + "H\002\022M\n\023bigquery_table_spec\030\014 \001(\0132..google" - + ".cloud.datacatalog.v1.BigQueryTableSpecH" - + "\002\022Z\n\032bigquery_date_sharded_spec\030\017 \001(\01324." - + "google.cloud.datacatalog.v1.BigQueryDate" - + "ShardedSpecH\002\022M\n\023database_table_spec\030\030 \001" - + "(\0132..google.cloud.datacatalog.v1.Databas" - + "eTableSpecH\003\022\\\n\033data_source_connection_s" - + "pec\030\033 \001(\01325.google.cloud.datacatalog.v1." - + "DataSourceConnectionSpecH\003\022@\n\014routine_sp" - + "ec\030\034 \001(\0132(.google.cloud.datacatalog.v1.R" - + "outineSpecH\003\022@\n\014fileset_spec\030! \001(\0132(.goo" - + "gle.cloud.datacatalog.v1.FilesetSpecH\003\022\024" - + "\n\014display_name\030\003 \001(\t\022\023\n\013description\030\004 \001(" - + "\t\022F\n\020business_context\030% \001(\0132,.google.clo" - + "ud.datacatalog.v1.BusinessContext\0223\n\006sch" - + "ema\030\005 \001(\0132#.google.cloud.datacatalog.v1." - + "Schema\022O\n\030source_system_timestamps\030\007 \001(\013" - + "2-.google.cloud.datacatalog.v1.SystemTim" - + "estamps\022C\n\014usage_signal\030\r \001(\0132(.google.c" - + "loud.datacatalog.v1.UsageSignalB\003\340A\003\022>\n\006" - + "labels\030\016 \003(\0132..google.cloud.datacatalog." - + "v1.Entry.LabelsEntry\022A\n\013data_source\030\024 \001(" - + "\0132\'.google.cloud.datacatalog.v1.DataSour" - + "ceB\003\340A\003\022K\n\020personal_details\030\032 \001(\0132,.goog" - + "le.cloud.datacatalog.v1.PersonalDetailsB" - + "\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001:x\352Au\n datacatalog.googleapis" - + ".com/Entry\022Qprojects/{project}/locations" - + "/{location}/entryGroups/{entry_group}/en" - + "tries/{entry}B\014\n\nentry_typeB\010\n\006systemB\013\n" - + "\ttype_specB\006\n\004spec\"\346\001\n\021DatabaseTableSpec" - + "\022F\n\004type\030\001 \001(\01628.google.cloud.datacatalo" - + "g.v1.DatabaseTableSpec.TableType\022F\n\016data" - + "plex_table\030\002 \001(\0132..google.cloud.datacata" - + "log.v1.DataplexTableSpec\"A\n\tTableType\022\032\n" - + "\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006NATIVE\020\001\022\014\n" - + "\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020dataplex_f" - + "ileset\030\001 \001(\01320.google.cloud.datacatalog." - + "v1.DataplexFilesetSpec\"q\n\030DataSourceConn" - + "ectionSpec\022U\n\030bigquery_connection_spec\030\001" - + " \001(\01323.google.cloud.datacatalog.v1.BigQu" - + "eryConnectionSpec\"\303\004\n\013RoutineSpec\022J\n\014rou" - + "tine_type\030\001 \001(\01624.google.cloud.datacatal" - + "og.v1.RoutineSpec.RoutineType\022\020\n\010languag" - + "e\030\002 \001(\t\022L\n\021routine_arguments\030\003 \003(\01321.goo" - + "gle.cloud.datacatalog.v1.RoutineSpec.Arg" - + "ument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017definition" - + "_body\030\005 \001(\t\022Q\n\025bigquery_routine_spec\030\006 \001" - + "(\01320.google.cloud.datacatalog.v1.BigQuer" - + "yRoutineSpecH\000\032\246\001\n\010Argument\022\014\n\004name\030\001 \001(" - + "\t\022D\n\004mode\030\002 \001(\01626.google.cloud.datacatal" - + "og.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\002I" - + "N\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013RoutineType\022\034" - + "\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023\n\017SCALAR_F" - + "UNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013system_spec\"" - + "\216\001\n\017BusinessContext\022B\n\016entry_overview\030\001 " - + "\001(\0132*.google.cloud.datacatalog.v1.EntryO" - + "verview\0227\n\010contacts\030\002 \001(\0132%.google.cloud" - + ".datacatalog.v1.Contacts\"!\n\rEntryOvervie" - + "w\022\020\n\010overview\030\001 \001(\t\"v\n\010Contacts\022<\n\006peopl" - + "e\030\001 \003(\0132,.google.cloud.datacatalog.v1.Co" - + "ntacts.Person\032,\n\006Person\022\023\n\013designation\030\001" - + " \001(\t\022\r\n\005email\030\002 \001(\t\"\211\002\n\nEntryGroup\022\014\n\004na" - + "me\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descri" - + "ption\030\003 \001(\t\022S\n\027data_catalog_timestamps\030\004" - + " \001(\0132-.google.cloud.datacatalog.v1.Syste" - + "mTimestampsB\003\340A\003:m\352Aj\n%datacatalog.googl" - + "eapis.com/EntryGroup\022Aprojects/{project}" - + "/locations/{location}/entryGroups/{entry" - + "_group}\"\275\001\n\030CreateTagTemplateRequest\022>\n\006" - + "parent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.google" - + "apis.com/TagTemplate\022\034\n\017tag_template_id\030" - + "\003 \001(\tB\003\340A\002\022C\n\014tag_template\030\002 \001(\0132(.googl" - + "e.cloud.datacatalog.v1.TagTemplateB\003\340A\002\"" - + "U\n\025GetTagTemplateRequest\022<\n\004name\030\001 \001(\tB." - + "\340A\002\372A(\n&datacatalog.googleapis.com/TagTe" - + "mplate\"\220\001\n\030UpdateTagTemplateRequest\022C\n\014t" - + "ag_template\030\001 \001(\0132(.google.cloud.datacat" - + "alog.v1.TagTemplateB\003\340A\002\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\"l\n\030Del" - + "eteTagTemplateRequest\022<\n\004name\030\001 \001(\tB.\340A\002" - + "\372A(\n&datacatalog.googleapis.com/TagTempl" - + "ate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"~\n\020CreateTagRequ" - + "est\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036datacatalog" - + ".googleapis.com/Tag\0222\n\003tag\030\002 \001(\0132 .googl" - + "e.cloud.datacatalog.v1.TagB\003\340A\002\"w\n\020Updat" - + "eTagRequest\0222\n\003tag\030\001 \001(\0132 .google.cloud." - + "datacatalog.v1.TagB\003\340A\002\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"H\n\020Dele" - + "teTagRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \022\036data" - + "catalog.googleapis.com/Tag\"\323\001\n\035CreateTag" - + "TemplateFieldRequest\022>\n\006parent\030\001 \001(\tB.\340A" - + "\002\372A(\n&datacatalog.googleapis.com/TagTemp" - + "late\022\"\n\025tag_template_field_id\030\002 \001(\tB\003\340A\002" - + "\022N\n\022tag_template_field\030\003 \001(\0132-.google.cl" - + "oud.datacatalog.v1.TagTemplateFieldB\003\340A\002" - + "\"\350\001\n\035UpdateTagTemplateFieldRequest\022A\n\004na" - + "me\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.googleapis" - + ".com/TagTemplateField\022N\n\022tag_template_fi" - + "eld\030\002 \001(\0132-.google.cloud.datacatalog.v1." - + "TagTemplateFieldB\003\340A\002\0224\n\013update_mask\030\003 \001" - + "(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035" - + "RenameTagTemplateFieldRequest\022A\n\004name\030\001 " - + "\001(\tB3\340A\002\372A-\n+datacatalog.googleapis.com/" - + "TagTemplateField\022&\n\031new_tag_template_fie" - + "ld_id\030\002 \001(\tB\003\340A\002\"\236\001\n&RenameTagTemplateFi" - + "eldEnumValueRequest\022J\n\004name\030\001 \001(\tB<\340A\002\372A" - + "6\n4datacatalog.googleapis.com/TagTemplat" - + "eFieldEnumValue\022(\n\033new_enum_value_displa" - + "y_name\030\002 \001(\tB\003\340A\002\"v\n\035DeleteTagTemplateFi" - + "eldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+dataca" - + "talog.googleapis.com/TagTemplateField\022\022\n" - + "\005force\030\002 \001(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006" - + "parent\030\001 \001(\tB&\340A\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\022.\n\004tags\030" - + "\001 \003(\0132 .google.cloud.datacatalog.v1.Tag\022" - + "\027\n\017next_page_token\030\002 \001(\t\"\251\001\n\022ListEntries" - + "Request\022=\n\006parent\030\001 \001(\tB-\340A\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\"J\n\020StarEntryRequest\0226\n" - + "\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.googlea" - + "pis.com/Entry\"\023\n\021StarEntryResponse\"L\n\022Un" - + "starEntryRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " - + "datacatalog.googleapis.com/Entry\"\025\n\023Unst" - + "arEntryResponse\"\235\001\n\032ModifyEntryOverviewR" - + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalo" - + "g.googleapis.com/Entry\022G\n\016entry_overview" - + "\030\002 \001(\0132*.google.cloud.datacatalog.v1.Ent" - + "ryOverviewB\003\340A\002\"\222\001\n\032ModifyEntryContactsR" - + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalo" - + "g.googleapis.com/Entry\022<\n\010contacts\030\002 \001(\013" - + "2%.google.cloud.datacatalog.v1.ContactsB" - + "\003\340A\002*\300\001\n\tEntryType\022\032\n\026ENTRY_TYPE_UNSPECI" - + "FIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MODEL\020\005\022\017\n\013DATA_STR" - + "EAM\020\003\022\013\n\007FILESET\020\004\022\013\n\007CLUSTER\020\006\022\014\n\010DATAB" - + "ASE\020\007\022\032\n\026DATA_SOURCE_CONNECTION\020\010\022\013\n\007ROU" - + "TINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007SERVICE\020\0162" - + "\3617\n\013DataCatalog\022\243\001\n\rSearchCatalog\0221.goog" - + "le.cloud.datacatalog.v1.SearchCatalogReq" - + "uest\0322.google.cloud.datacatalog.v1.Searc" - + "hCatalogResponse\"+\202\323\344\223\002\027\"\022/v1/catalog:se" - + "arch:\001*\332A\013scope,query\022\333\001\n\020CreateEntryGro" - + "up\0224.google.cloud.datacatalog.v1.CreateE" - + "ntryGroupRequest\032\'.google.cloud.datacata" - + "log.v1.EntryGroup\"h\202\323\344\223\002>\"//v1/{parent=p" - + "rojects/*/locations/*}/entryGroups:\013entr" - + "y_group\332A!parent,entry_group_id,entry_gr" - + "oup\022\274\001\n\rGetEntryGroup\0221.google.cloud.dat" - + "acatalog.v1.GetEntryGroupRequest\032\'.googl" - + "e.cloud.datacatalog.v1.EntryGroup\"O\202\323\344\223\002" - + "1\022//v1/{name=projects/*/locations/*/entr" - + "yGroups/*}\332A\004name\332A\016name,read_mask\022\353\001\n\020U" - + "pdateEntryGroup\0224.google.cloud.datacatal" - + "og.v1.UpdateEntryGroupRequest\032\'.google.c" - + "loud.datacatalog.v1.EntryGroup\"x\202\323\344\223\002J2;" - + "/v1/{entry_group.name=projects/*/locatio" - + "ns/*/entryGroups/*}:\013entry_group\332A\013entry" - + "_group\332A\027entry_group,update_mask\022\240\001\n\020Del" - + "eteEntryGroup\0224.google.cloud.datacatalog" - + ".v1.DeleteEntryGroupRequest\032\026.google.pro" - + "tobuf.Empty\">\202\323\344\223\0021*//v1/{name=projects/" - + "*/locations/*/entryGroups/*}\332A\004name\022\276\001\n\017" - + "ListEntryGroups\0223.google.cloud.datacatal" - + "og.v1.ListEntryGroupsRequest\0324.google.cl" - + "oud.datacatalog.v1.ListEntryGroupsRespon" - + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" - + "ions/*}/entryGroups\332A\006parent\022\304\001\n\013CreateE" - + "ntry\022/.google.cloud.datacatalog.v1.Creat" - + "eEntryRequest\032\".google.cloud.datacatalog" - + ".v1.Entry\"`\202\323\344\223\002B\"9/v1/{parent=projects/" - + "*/locations/*/entryGroups/*}/entries:\005en" - + "try\332A\025parent,entry_id,entry\022\316\001\n\013UpdateEn" - + "try\022/.google.cloud.datacatalog.v1.Update" - + "EntryRequest\032\".google.cloud.datacatalog." - + "v1.Entry\"j\202\323\344\223\002H2?/v1/{entry.name=projec" - + "ts/*/locations/*/entryGroups/*/entries/*" - + "}:\005entry\332A\005entry\332A\021entry,update_mask\022\240\001\n" - + "\013DeleteEntry\022/.google.cloud.datacatalog." - + "v1.DeleteEntryRequest\032\026.google.protobuf." - + "Empty\"H\202\323\344\223\002;*9/v1/{name=projects/*/loca" - + "tions/*/entryGroups/*/entries/*}\332A\004name\022" - + "\246\001\n\010GetEntry\022,.google.cloud.datacatalog." - + "v1.GetEntryRequest\032\".google.cloud.dataca" - + "talog.v1.Entry\"H\202\323\344\223\002;\0229/v1/{name=projec" - + "ts/*/locations/*/entryGroups/*/entries/*" - + "}\332A\004name\022~\n\013LookupEntry\022/.google.cloud.d" - + "atacatalog.v1.LookupEntryRequest\032\".googl" - + "e.cloud.datacatalog.v1.Entry\"\032\202\323\344\223\002\024\022\022/v" - + "1/entries:lookup\022\274\001\n\013ListEntries\022/.googl" - + "e.cloud.datacatalog.v1.ListEntriesReques" - + "t\0320.google.cloud.datacatalog.v1.ListEntr" - + "iesResponse\"J\202\323\344\223\002;\0229/v1/{parent=project" - + "s/*/locations/*/entryGroups/*}/entries\332A" - + "\006parent\022\324\001\n\023ModifyEntryOverview\0227.google" - + ".cloud.datacatalog.v1.ModifyEntryOvervie" - + "wRequest\032*.google.cloud.datacatalog.v1.E" - + "ntryOverview\"X\202\323\344\223\002R\"M/v1/{name=projects" - + "/*/locations/*/entryGroups/*/entries/*}:" - + "modifyEntryOverview:\001*\022\317\001\n\023ModifyEntryCo" - + "ntacts\0227.google.cloud.datacatalog.v1.Mod" - + "ifyEntryContactsRequest\032%.google.cloud.d" - + "atacatalog.v1.Contacts\"X\202\323\344\223\002R\"M/v1/{nam" - + "e=projects/*/locations/*/entryGroups/*/e" - + "ntries/*}:modifyEntryContacts:\001*\022\342\001\n\021Cre" - + "ateTagTemplate\0225.google.cloud.datacatalo" - + "g.v1.CreateTagTemplateRequest\032(.google.c" - + "loud.datacatalog.v1.TagTemplate\"l\202\323\344\223\002@\"" - + "0/v1/{parent=projects/*/locations/*}/tag" - + "Templates:\014tag_template\332A#parent,tag_tem" - + "plate_id,tag_template\022\257\001\n\016GetTagTemplate" - + "\0222.google.cloud.datacatalog.v1.GetTagTem" - + "plateRequest\032(.google.cloud.datacatalog." - + "v1.TagTemplate\"?\202\323\344\223\0022\0220/v1/{name=projec" - + "ts/*/locations/*/tagTemplates/*}\332A\004name\022" - + "\363\001\n\021UpdateTagTemplate\0225.google.cloud.dat" - + "acatalog.v1.UpdateTagTemplateRequest\032(.g" - + "oogle.cloud.datacatalog.v1.TagTemplate\"}" - + "\202\323\344\223\002M2=/v1/{tag_template.name=projects/" - + "*/locations/*/tagTemplates/*}:\014tag_templ" - + "ate\332A\014tag_template\332A\030tag_template,update" - + "_mask\022\251\001\n\021DeleteTagTemplate\0225.google.clo" - + "ud.datacatalog.v1.DeleteTagTemplateReque" - + "st\032\026.google.protobuf.Empty\"E\202\323\344\223\0022*0/v1/" - + "{name=projects/*/locations/*/tagTemplate" - + "s/*}\332A\nname,force\022\215\002\n\026CreateTagTemplateF" - + "ield\022:.google.cloud.datacatalog.v1.Creat" - + "eTagTemplateFieldRequest\032-.google.cloud." - + "datacatalog.v1.TagTemplateField\"\207\001\202\323\344\223\002O" - + "\"9/v1/{parent=projects/*/locations/*/tag" - + "Templates/*}/fields:\022tag_template_field\332" - + "A/parent,tag_template_field_id,tag_templ" - + "ate_field\022\233\002\n\026UpdateTagTemplateField\022:.g" - + "oogle.cloud.datacatalog.v1.UpdateTagTemp" - + "lateFieldRequest\032-.google.cloud.datacata" - + "log.v1.TagTemplateField\"\225\001\202\323\344\223\002O29/v1/{n" - + "ame=projects/*/locations/*/tagTemplates/" - + "*/fields/*}:\022tag_template_field\332A\027name,t" - + "ag_template_field\332A#name,tag_template_fi" - + "eld,update_mask\022\361\001\n\026RenameTagTemplateFie" - + "ld\022:.google.cloud.datacatalog.v1.RenameT" - + "agTemplateFieldRequest\032-.google.cloud.da" - + "tacatalog.v1.TagTemplateField\"l\202\323\344\223\002E\"@/" - + "v1/{name=projects/*/locations/*/tagTempl" - + "ates/*/fields/*}:rename:\001*\332A\036name,new_ta" - + "g_template_field_id\022\222\002\n\037RenameTagTemplat" - + "eFieldEnumValue\022C.google.cloud.datacatal" - + "og.v1.RenameTagTemplateFieldEnumValueReq" - + "uest\032-.google.cloud.datacatalog.v1.TagTe" - + "mplateField\"{\202\323\344\223\002R\"M/v1/{name=projects/" - + "*/locations/*/tagTemplates/*/fields/*/en" - + "umValues/*}:rename:\001*\332A name,new_enum_va" - + "lue_display_name\022\274\001\n\026DeleteTagTemplateFi" - + "eld\022:.google.cloud.datacatalog.v1.Delete" - + "TagTemplateFieldRequest\032\026.google.protobu" - + "f.Empty\"N\202\323\344\223\002;*9/v1/{name=projects/*/lo" - + "cations/*/tagTemplates/*/fields/*}\332A\nnam" - + "e,force\022\371\001\n\tCreateTag\022-.google.cloud.dat" - + "acatalog.v1.CreateTagRequest\032 .google.cl" - + "oud.datacatalog.v1.Tag\"\232\001\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\332A\nparent,tag\022\214\002\n\tUpdateTag\022-.goog" - + "le.cloud.datacatalog.v1.UpdateTagRequest" - + "\032 .google.cloud.datacatalog.v1.Tag\"\255\001\202\323\344" - + "\223\002\216\0012D/v1/{tag.name=projects/*/locations" - + "/*/entryGroups/*/entries/*/tags/*}:\003tagZ" - + "A2:/v1/{tag.name=projects/*/locations/*/" - + "entryGroups/*/tags/*}:\003tag\332A\003tag\332A\017tag,u" - + "pdate_mask\022\336\001\n\tDeleteTag\022-.google.cloud." - + "datacatalog.v1.DeleteTagRequest\032\026.google" - + ".protobuf.Empty\"\211\001\202\323\344\223\002|*@/v1/{name=proj" - + "ects/*/locations/*/entryGroups/*/entries" - + "/*/tags/*}Z8*6/v1/{name=projects/*/locat" - + "ions/*/entryGroups/*/tags/*}\332A\004name\022\365\001\n\010" - + "ListTags\022,.google.cloud.datacatalog.v1.L" - + "istTagsRequest\032-.google.cloud.datacatalo" - + "g.v1.ListTagsResponse\"\213\001\202\323\344\223\002|\022@/v1/{par" - + "ent=projects/*/locations/*/entryGroups/*" - + "/entries/*}/tagsZ8\0226/v1/{parent=projects" - + "/*/locations/*/entryGroups/*}/tags\332A\006par" - + "ent\022\274\001\n\tStarEntry\022-.google.cloud.datacat" - + "alog.v1.StarEntryRequest\032..google.cloud." - + "datacatalog.v1.StarEntryResponse\"P\202\323\344\223\002C" - + "\">/v1/{name=projects/*/locations/*/entry" - + "Groups/*/entries/*}:star:\001*\332A\004name\022\304\001\n\013U" - + "nstarEntry\022/.google.cloud.datacatalog.v1" - + ".UnstarEntryRequest\0320.google.cloud.datac" - + "atalog.v1.UnstarEntryResponse\"R\202\323\344\223\002E\"@/" - + "v1/{name=projects/*/locations/*/entryGro" - + "ups/*/entries/*}:unstar:\001*\332A\004name\022\362\001\n\014Se" - + "tIamPolicy\022\".google.iam.v1.SetIamPolicyR" - + "equest\032\025.google.iam.v1.Policy\"\246\001\202\323\344\223\002\215\001\"" - + "A/v1/{resource=projects/*/locations/*/ta" - + "gTemplates/*}:setIamPolicy:\001*ZE\"@/v1/{re" - + "source=projects/*/locations/*/entryGroup" - + "s/*}:setIamPolicy:\001*\332A\017resource,policy\022\274" - + "\002\n\014GetIamPolicy\022\".google.iam.v1.GetIamPo" - + "licyRequest\032\025.google.iam.v1.Policy\"\360\001\202\323\344" - + "\223\002\336\001\"A/v1/{resource=projects/*/locations" - + "/*/tagTemplates/*}:getIamPolicy:\001*ZE\"@/v" - + "1/{resource=projects/*/locations/*/entry" - + "Groups/*}:getIamPolicy:\001*ZO\"J/v1/{resour" - + "ce=projects/*/locations/*/entryGroups/*/" - + "entries/*}:getIamPolicy:\001*\332A\010resource\022\343\002" - + "\n\022TestIamPermissions\022(.google.iam.v1.Tes" - + "tIamPermissionsRequest\032).google.iam.v1.T" - + "estIamPermissionsResponse\"\367\001\202\323\344\223\002\360\001\"G/v1" - + "/{resource=projects/*/locations/*/tagTem" - + "plates/*}:testIamPermissions:\001*ZK\"F/v1/{" - + "resource=projects/*/locations/*/entryGro" - + "ups/*}:testIamPermissions:\001*ZU\"P/v1/{res" - + "ource=projects/*/locations/*/entryGroups" - + "/*/entries/*}:testIamPermissions:\001*\032N\312A\032" - + "datacatalog.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\217\003\n\037", - "com.google.cloud.datacatalog.v1P\001ZFgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atacatalog/v1;datacatalog\370\001\001\252\002\033Google.Cl" - + "oud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCa" - + "talog\\V1\352\002\036Google::Cloud::DataCatalog::V" - + "1\352A\300\001\n4datacatalog.googleapis.com/TagTem" - + "plateFieldEnumValue\022\207\001projects/{project}" - + "/locations/{location}/tagTemplates/{tag_" - + "template}/fields/{tag_template_field_id}" - + "/enumValues/{enum_value_display_name}b\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.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.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.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", "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", "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", - "GcsFilesetSpec", - "BigqueryTableSpec", - "BigqueryDateShardedSpec", - "DatabaseTableSpec", - "DataSourceConnectionSpec", - "RoutineSpec", - "FilesetSpec", - "DisplayName", - "Description", - "BusinessContext", - "Schema", - "SourceSystemTimestamps", - "UsageSignal", - "Labels", - "DataSource", - "PersonalDetails", - "EntryType", - "System", - "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", - }); - 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_BusinessContext_descriptor = - getDescriptor().getMessageTypes().get(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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_ModifyEntryOverviewRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - 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(43); - 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); - 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.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/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 10dace37d1e3..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java +++ /dev/null @@ -1,126 +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\336\001\n\037com.google.cloud.datacat" - + "alog.v1B\021DataplexSpecProtoP\001ZFgoogle.gol" - + "ang.org/genproto/googleapis/cloud/dataca" - + "talog/v1;datacatalog\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.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 bad944d40b4e..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/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/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 13e7a164445d..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java +++ /dev/null @@ -1,68 +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 eb28ef501d69..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java +++ /dev/null @@ -1,68 +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 eaa080cc935d..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/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/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/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 99ce1952482f..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" - + "\"z\n\016GcsFilesetSpec\022\032\n\rfile_patterns\030\001 \003(" - + "\tB\003\340A\002\022L\n\025sample_gcs_file_specs\030\002 \003(\0132(." - + "google.cloud.datacatalog.v1.GcsFileSpecB" - + "\003\340A\003\"\212\001\n\013GcsFileSpec\022\026\n\tfile_path\030\001 \001(\tB" - + "\003\340A\002\022J\n\016gcs_timestamps\030\002 \001(\0132-.google.cl" - + "oud.datacatalog.v1.SystemTimestampsB\003\340A\003" - + "\022\027\n\nsize_bytes\030\004 \001(\003B\003\340A\003B\313\001\n\037com.google" - + ".cloud.datacatalog.v1P\001ZFgoogle.golang.o" - + "rg/genproto/googleapis/cloud/datacatalog" - + "/v1;datacatalog\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 bf32d6b59f3c..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java +++ /dev/null @@ -1,160 +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\340\001\n\037com.google.cloud.datacatalo" - + "g.v1B\023PhysicalSchemaProtoP\001ZFgoogle.gola" - + "ng.org/genproto/googleapis/cloud/datacat" - + "alog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.Da" - + "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" - + "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" - + "to3" - }; - 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 f298b647b8c7..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java +++ /dev/null @@ -1,387 +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_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/timestamps.pro" - + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" - + "le/iam/v1/policy.proto\032\033google/protobuf/" - + "empty.proto\032 google/protobuf/field_mask." - + "proto\"\316\003\n\010Taxonomy\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" - + "\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030" - + "\003 \001(\tB\003\340A\001\022\035\n\020policy_tag_count\030\004 \001(\005B\003\340A" - + "\003\022O\n\023taxonomy_timestamps\030\005 \001(\0132-.google." - + "cloud.datacatalog.v1.SystemTimestampsB\003\340" - + "A\003\022U\n\026activated_policy_types\030\006 \003(\01620.goo" - + "gle.cloud.datacatalog.v1.Taxonomy.Policy" - + "TypeB\003\340A\001\"J\n\nPolicyType\022\033\n\027POLICY_TYPE_U" - + "NSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCESS_CONT" - + "ROL\020\001:g\352Ad\n#datacatalog.googleapis.com/T" - + "axonomy\022=projects/{project}/locations/{l" - + "ocation}/taxonomies/{taxonomy}\"\214\002\n\tPolic" - + "yTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030" - + "\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022\031\n\021paren" - + "t_policy_tag\030\004 \001(\t\022\036\n\021child_policy_tags\030" - + "\005 \003(\tB\003\340A\003:\200\001\352A}\n$datacatalog.googleapis" - + ".com/PolicyTag\022Uprojects/{project}/locat" - + "ions/{location}/taxonomies/{taxonomy}/po" - + "licyTags/{policy_tag}\"\215\001\n\025CreateTaxonomy" - + "Request\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacat" - + "alog.googleapis.com/Taxonomy\0227\n\010taxonomy" - + "\030\002 \001(\0132%.google.cloud.datacatalog.v1.Tax" - + "onomy\"R\n\025DeleteTaxonomyRequest\0229\n\004name\030\001" - + " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" - + "/Taxonomy\"\201\001\n\025UpdateTaxonomyRequest\0227\n\010t" - + "axonomy\030\001 \001(\0132%.google.cloud.datacatalog" - + ".v1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"{\n\025ListTaxonomiesR" - + "equest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacata" - + "log.googleapis.com/Taxonomy\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"l\n\026ListTaxono" - + "miesResponse\0229\n\ntaxonomies\030\001 \003(\0132%.googl" - + "e.cloud.datacatalog.v1.Taxonomy\022\027\n\017next_" - + "page_token\030\002 \001(\t\"O\n\022GetTaxonomyRequest\0229" - + "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.google" - + "apis.com/Taxonomy\"\222\001\n\026CreatePolicyTagReq" - + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacatalo" - + "g.googleapis.com/PolicyTag\022:\n\npolicy_tag" - + "\030\002 \001(\0132&.google.cloud.datacatalog.v1.Pol" - + "icyTag\"T\n\026DeletePolicyTagRequest\022:\n\004name" - + "\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.googleapis.c" - + "om/PolicyTag\"\205\001\n\026UpdatePolicyTagRequest\022" - + ":\n\npolicy_tag\030\001 \001(\0132&.google.cloud.datac" - + "atalog.v1.PolicyTag\022/\n\013update_mask\030\002 \001(\013" - + "2\032.google.protobuf.FieldMask\"|\n\025ListPoli" - + "cyTagsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$d" - + "atacatalog.googleapis.com/PolicyTag\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026Li" - + "stPolicyTagsResponse\022;\n\013policy_tags\030\001 \003(" - + "\0132&.google.cloud.datacatalog.v1.PolicyTa" - + "g\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\023GetPolicyT" - + "agRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacat" - + "alog.googleapis.com/PolicyTag2\273\025\n\020Policy" - + "TagManager\022\277\001\n\016CreateTaxonomy\0222.google.c" - + "loud.datacatalog.v1.CreateTaxonomyReques" - + "t\032%.google.cloud.datacatalog.v1.Taxonomy" - + "\"R\202\323\344\223\002:\"./v1/{parent=projects/*/locatio" - + "ns/*}/taxonomies:\010taxonomy\332A\017parent,taxo" - + "nomy\022\233\001\n\016DeleteTaxonomy\0222.google.cloud.d" - + "atacatalog.v1.DeleteTaxonomyRequest\032\026.go" - + "ogle.protobuf.Empty\"=\202\323\344\223\0020*./v1/{name=p" - + "rojects/*/locations/*/taxonomies/*}\332A\004na" - + "me\022\301\001\n\016UpdateTaxonomy\0222.google.cloud.dat" - + "acatalog.v1.UpdateTaxonomyRequest\032%.goog" - + "le.cloud.datacatalog.v1.Taxonomy\"T\202\323\344\223\002C" - + "27/v1/{taxonomy.name=projects/*/location" - + "s/*/taxonomies/*}:\010taxonomy\332A\010taxonomy\022\272" - + "\001\n\016ListTaxonomies\0222.google.cloud.datacat" - + "alog.v1.ListTaxonomiesRequest\0323.google.c" - + "loud.datacatalog.v1.ListTaxonomiesRespon" - + "se\"?\202\323\344\223\0020\022./v1/{parent=projects/*/locat" - + "ions/*}/taxonomies\332A\006parent\022\244\001\n\013GetTaxon" - + "omy\022/.google.cloud.datacatalog.v1.GetTax" - + "onomyRequest\032%.google.cloud.datacatalog." - + "v1.Taxonomy\"=\202\323\344\223\0020\022./v1/{name=projects/" - + "*/locations/*/taxonomies/*}\332A\004name\022\323\001\n\017C" - + "reatePolicyTag\0223.google.cloud.datacatalo" - + "g.v1.CreatePolicyTagRequest\032&.google.clo" - + "ud.datacatalog.v1.PolicyTag\"c\202\323\344\223\002I\";/v1" - + "/{parent=projects/*/locations/*/taxonomi" - + "es/*}/policyTags:\npolicy_tag\332A\021parent,po" - + "licy_tag\022\252\001\n\017DeletePolicyTag\0223.google.cl" - + "oud.datacatalog.v1.DeletePolicyTagReques" - + "t\032\026.google.protobuf.Empty\"J\202\323\344\223\002=*;/v1/{" - + "name=projects/*/locations/*/taxonomies/*" - + "/policyTags/*}\332A\004name\022\327\001\n\017UpdatePolicyTa" - + "g\0223.google.cloud.datacatalog.v1.UpdatePo" - + "licyTagRequest\032&.google.cloud.datacatalo" - + "g.v1.PolicyTag\"g\202\323\344\223\002T2F/v1/{policy_tag." - + "name=projects/*/locations/*/taxonomies/*" - + "/policyTags/*}:\npolicy_tag\332A\npolicy_tag\022" - + "\307\001\n\016ListPolicyTags\0222.google.cloud.dataca" - + "talog.v1.ListPolicyTagsRequest\0323.google." - + "cloud.datacatalog.v1.ListPolicyTagsRespo" - + "nse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loca" - + "tions/*/taxonomies/*}/policyTags\332A\006paren" - + "t\022\264\001\n\014GetPolicyTag\0220.google.cloud.dataca" - + "talog.v1.GetPolicyTagRequest\032&.google.cl" - + "oud.datacatalog.v1.PolicyTag\"J\202\323\344\223\002=\022;/v" - + "1/{name=projects/*/locations/*/taxonomie" - + "s/*/policyTags/*}\332A\004name\022\352\001\n\014GetIamPolic" - + "y\022\".google.iam.v1.GetIamPolicyRequest\032\025." - + "google.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{res" - + "ource=projects/*/locations/*/taxonomies/" - + "*}:getIamPolicy:\001*ZQ\"L/v1/{resource=proj" - + "ects/*/locations/*/taxonomies/*/policyTa" - + "gs/*}:getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\"" - + ".google.iam.v1.SetIamPolicyRequest\032\025.goo" - + "gle.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resour" - + "ce=projects/*/locations/*/taxonomies/*}:" - + "setIamPolicy:\001*ZQ\"L/v1/{resource=project" - + "s/*/locations/*/taxonomies/*/policyTags/" - + "*}:setIamPolicy:\001*\022\226\002\n\022TestIamPermission" - + "s\022(.google.iam.v1.TestIamPermissionsRequ" - + "est\032).google.iam.v1.TestIamPermissionsRe" - + "sponse\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects" - + "/*/locations/*/taxonomies/*}:testIamPerm" - + "issions:\001*ZW\"R/v1/{resource=projects/*/l" - + "ocations/*/taxonomies/*/policyTags/*}:te" - + "stIamPermissions:\001*\032N\312A\032datacatalog.goog" - + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\342\001\n\037com.google.cloud" - + ".datacatalog.v1B\025PolicyTagManagerProtoP\001" - + "ZFgoogle.golang.org/genproto/googleapis/" - + "cloud/datacatalog/v1;datacatalog\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.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.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", - }); - 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", - }); - 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.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 3fef2ee93a9d..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\"\335\001\n\022SerializedTaxo" - + "nomy\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\022\023\n\013descr" - + "iption\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goog" - + "le.cloud.datacatalog.v1.SerializedPolicy" - + "Tag\022P\n\026activated_policy_types\030\004 \003(\01620.go" - + "ogle.cloud.datacatalog.v1.Taxonomy.Polic" - + "yType\"\246\001\n\023SerializedPolicyTag\022\022\n\npolicy_" - + "tag\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" - + "description\030\003 \001(\t\022K\n\021child_policy_tags\030\004" - + " \003(\01320.google.cloud.datacatalog.v1.Seria" - + "lizedPolicyTag\"\246\001\n\026ReplaceTaxonomyReques" - + "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" - + "gleapis.com/Taxonomy\022Q\n\023serialized_taxon" - + "omy\030\002 \001(\0132/.google.cloud.datacatalog.v1." - + "SerializedTaxonomyB\003\340A\002\"\367\001\n\027ImportTaxono" - + "miesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#dat" - + "acatalog.googleapis.com/Taxonomy\022B\n\rinli" - + "ne_source\030\002 \001(\0132).google.cloud.datacatal" - + "og.v1.InlineSourceH\000\022Q\n\025cross_regional_s" - + "ource\030\003 \001(\01320.google.cloud.datacatalog.v" - + "1.CrossRegionalSourceH\000B\010\n\006source\"X\n\014Inl" - + "ineSource\022H\n\ntaxonomies\030\001 \003(\0132/.google.c" - + "loud.datacatalog.v1.SerializedTaxonomyB\003" - + "\340A\002\"T\n\023CrossRegionalSource\022=\n\010taxonomy\030\001" - + " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" - + "/Taxonomy\"U\n\030ImportTaxonomiesResponse\0229\n" - + "\ntaxonomies\030\001 \003(\0132%.google.cloud.datacat" - + "alog.v1.Taxonomy\"\307\001\n\027ExportTaxonomiesReq" - + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" - + "g.googleapis.com/Taxonomy\022?\n\ntaxonomies\030" - + "\002 \003(\tB+\340A\002\372A%\n#datacatalog.googleapis.co" - + "m/Taxonomy\022\037\n\025serialized_taxonomies\030\003 \001(" - + "\010H\000B\r\n\013destination\"_\n\030ExportTaxonomiesRe" - + "sponse\022C\n\ntaxonomies\030\001 \003(\0132/.google.clou" - + "d.datacatalog.v1.SerializedTaxonomy2\247\005\n\035" - + "PolicyTagManagerSerialization\022\260\001\n\017Replac" - + "eTaxonomy\0223.google.cloud.datacatalog.v1." - + "ReplaceTaxonomyRequest\032%.google.cloud.da" - + "tacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6/v1/{name" - + "=projects/*/locations/*/taxonomies/*}:re" - + "place:\001*\022\301\001\n\020ImportTaxonomies\0224.google.c" - + "loud.datacatalog.v1.ImportTaxonomiesRequ" - + "est\0325.google.cloud.datacatalog.v1.Import" - + "TaxonomiesResponse\"@\202\323\344\223\002:\"5/v1/{parent=" - + "projects/*/locations/*}/taxonomies:impor" - + "t:\001*\022\276\001\n\020ExportTaxonomies\0224.google.cloud" - + ".datacatalog.v1.ExportTaxonomiesRequest\032" - + "5.google.cloud.datacatalog.v1.ExportTaxo" - + "nomiesResponse\"=\202\323\344\223\0027\0225/v1/{parent=proj" - + "ects/*/locations/*}/taxonomies:export\032N\312" - + "A\032datacatalog.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformB\357\001" - + "\n\037com.google.cloud.datacatalog.v1B\"Polic" - + "yTagManagerSerializationProtoP\001ZFgoogle." - + "golang.org/genproto/googleapis/cloud/dat" - + "acatalog/v1;datacatalog\370\001\001\252\002\033Google.Clou" - + "d.DataCatalog.V1\312\002\033Google\\Cloud\\DataCata" - + "log\\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 6866bdfd724b..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.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/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; - - 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\"\247\001\n\014ColumnSchema\022\023\n\006colum" - + "n\030\006 \001(\tB\003\340A\002\022\021\n\004type\030\001 \001(\tB\003\340A\002\022\030\n\013descr" - + "iption\030\002 \001(\tB\003\340A\001\022\021\n\004mode\030\003 \001(\tB\003\340A\001\022B\n\n" - + "subcolumns\030\007 \003(\0132).google.cloud.datacata" - + "log.v1.ColumnSchemaB\003\340A\001B\313\001\n\037com.google." - + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" - + "g/genproto/googleapis/cloud/datacatalog/" - + "v1;datacatalog\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[] { - 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", "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-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 968a281a304e..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\"\256\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\022O\n\021integrated_system\030\010 \001" - + "(\0162-.google.cloud.datacatalog.v1.Integra" - + "tedSystemB\003\340A\003H\000\022\037\n\025user_specified_syste" - + "m\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\036SEAR" - + "CH_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\313\001\n\037c" - + "om.google.cloud.datacatalog.v1P\001ZFgoogle" - + ".golang.org/genproto/googleapis/cloud/da" - + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" - + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" - + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" - + "b\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.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 bd0ca5b35c80..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/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/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\"\350\001\n\021BigQueryTableSpec\022L\n" - + "\021table_source_type\030\001 \001(\0162,.google.cloud." - + "datacatalog.v1.TableSourceTypeB\003\340A\003\022:\n\tv" - + "iew_spec\030\002 \001(\0132%.google.cloud.datacatalo" - + "g.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.go" - + "ogle.cloud.datacatalog.v1.TableSpecH\000B\013\n" - + "\ttype_spec\"#\n\010ViewSpec\022\027\n\nview_query\030\001 \001" - + "(\tB\003\340A\003\"L\n\tTableSpec\022?\n\rgrouped_entry\030\001 " - + "\001(\tB(\340A\003\372A\"\n datacatalog.googleapis.com/" - + "Entry\"\255\001\n\027BigQueryDateShardedSpec\0229\n\007dat" - + "aset\030\001 \001(\tB(\340A\003\372A\"\n datacatalog.googleap" - + "is.com/Entry\022\031\n\014table_prefix\030\002 \001(\tB\003\340A\003\022" - + "\030\n\013shard_count\030\003 \001(\003B\003\340A\003\022\"\n\025latest_shar" - + "d_resource\030\004 \001(\tB\003\340A\003*{\n\017TableSourceType" - + "\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rB" - + "IGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BI" - + "GQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.googl" - + "e.cloud.datacatalog.v1P\001ZFgoogle.golang." - + "org/genproto/googleapis/cloud/datacatalo" - + "g/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataC" - + "atalog.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.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 5280bedfb95a..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java +++ /dev/null @@ -1,245 +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\"\206\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010template\030\002 \001" - + "(\tB\003\340A\002\022\"\n\025template_display_name\030\005 \001(\tB\003" - + "\340A\003\022\020\n\006column\030\004 \001(\tH\000\022A\n\006fields\030\003 \003(\0132,." - + "google.cloud.datacatalog.v1.Tag.FieldsEn" - + "tryB\003\340A\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\0224\n\005" - + "value\030\002 \001(\0132%.google.cloud.datacatalog.v" - + "1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.google" - + "apis.com/Tag\022\\projects/{project}/locatio" - + "ns/{location}/entryGroups/{entry_group}/" - + "entries/{entry}/tags/{tag}B\007\n\005scope\"\302\002\n\010" - + "TagField\022\031\n\014display_name\030\001 \001(\tB\003\340A\003\022\026\n\014d" - + "ouble_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\017timestamp_v" - + "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" - + "\022E\n\nenum_value\030\006 \001(\0132/.google.cloud.data" - + "catalog.v1.TagField.EnumValueH\000\022\030\n\016richt" - + "ext_value\030\010 \001(\tH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n" - + "\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind" - + "\"\352\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" - + "y_name\030\002 \001(\t\022\034\n\024is_publicly_readable\030\005 \001" - + "(\010\022I\n\006fields\030\003 \003(\01324.google.cloud.dataca" - + "talog.v1.TagTemplate.FieldsEntryB\003\340A\002\032\\\n" - + "\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" - + "2-.google.cloud.datacatalog.v1.TagTempla" - + "teField:\0028\001:p\352Am\n&datacatalog.googleapis" - + ".com/TagTemplate\022Cprojects/{project}/loc" - + "ations/{location}/tagTemplates/{tag_temp" - + "late}\"\267\002\n\020TagTemplateField\022\021\n\004name\030\006 \001(\t" - + "B\003\340A\003\022\024\n\014display_name\030\001 \001(\t\0229\n\004type\030\002 \001(" - + "\0132&.google.cloud.datacatalog.v1.FieldTyp" - + "eB\003\340A\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013descripti" - + "on\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacata" - + "log.googleapis.com/TagTemplateField\022Rpro" - + "jects/{project}/locations/{location}/tag" - + "Templates/{tag_template}/fields/{field}\"" - + "\246\003\n\tFieldType\022N\n\016primitive_type\030\001 \001(\01624." - + "google.cloud.datacatalog.v1.FieldType.Pr" - + "imitiveTypeH\000\022D\n\tenum_type\030\002 \001(\0132/.googl" - + "e.cloud.datacatalog.v1.FieldType.EnumTyp" - + "eH\000\032\205\001\n\010EnumType\022Q\n\016allowed_values\030\001 \003(\013" - + "29.google.cloud.datacatalog.v1.FieldType" - + ".EnumType.EnumValue\032&\n\tEnumValue\022\031\n\014disp" - + "lay_name\030\001 \001(\tB\003\340A\002\"n\n\rPrimitiveType\022\036\n\032" - + "PRIMITIVE_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\tTIMESTAMP\020\004\022\014\n" - + "\010RICHTEXT\020\005B\013\n\ttype_declB\313\001\n\037com.google." - + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" - + "g/genproto/googleapis/cloud/datacatalog/" - + "v1;datacatalog\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[] { - 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 a553fbe3dee8..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\"\252\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\0224\n\013expire_time\030\003 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003B\313\001\n\037c" - + "om.google.cloud.datacatalog.v1P\001ZFgoogle" - + ".golang.org/genproto/googleapis/cloud/da" - + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" - + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" - + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" - + "b\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_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 ceafb72fa7f5..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java +++ /dev/null @@ -1,108 +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_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; - - 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/p" - + "rotobuf/timestamp.proto\"\221\001\n\nUsageStats\022\031" - + "\n\021total_completions\030\001 \001(\002\022\026\n\016total_failu" - + "res\030\002 \001(\002\022\033\n\023total_cancellations\030\003 \001(\002\0223" - + "\n+total_execution_time_for_completions_m" - + "illis\030\004 \001(\002\"\211\002\n\013UsageSignal\022/\n\013update_ti" - + "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022c\n\027" - + "usage_within_time_range\030\002 \003(\0132B.google.c" - + "loud.datacatalog.v1.UsageSignal.UsageWit" - + "hinTimeRangeEntry\032d\n\031UsageWithinTimeRang" - + "eEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.goo" - + "gle.cloud.datacatalog.v1.UsageStats:\0028\001B" - + "\313\001\n\037com.google.cloud.datacatalog.v1P\001ZFg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/datacatalog/v1;datacatalog\370\001\001\252\002\033Googl" - + "e.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Da" - + "taCatalog\\V1\352\002\036Google::Cloud::DataCatalo" - + "g::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_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_UsageSignal_descriptor = - getDescriptor().getMessageTypes().get(1); - 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", - }); - 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", - }); - 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 a13b18e78ef4..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\344\001\n$com.google.cloud.datacatalo" - + "g.v1beta1P\001ZKgoogle.golang.org/genproto/" - + "googleapis/cloud/datacatalog/v1beta1;dat" - + "acatalog\370\001\001\252\002 Google.Cloud.DataCatalog.V" - + "1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1beta" - + "1\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/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 28ce2d4486d5..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java +++ /dev/null @@ -1,792 +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\"\236\002\n\024Search" - + "CatalogRequest\022P\n\005scope\030\006 \001(\0132<.google.c" - + "loud.datacatalog.v1beta1.SearchCatalogRe" - + "quest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\002\022\021\n\t" - + "page_size\030\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" - + "\022\020\n\010order_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017include_o" - + "rg_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(\013" - + "25.google.cloud.datacatalog.v1beta1.Sear" - + "chCatalogResult\022\027\n\017next_page_token\030\003 \001(\t" - + "\"\270\001\n\027CreateEntryGroupRequest\022=\n\006parent\030\001" - + " \001(\tB-\340A\002\372A\'\022%datacatalog.googleapis.com" - + "/EntryGroup\022\033\n\016entry_group_id\030\003 \001(\tB\003\340A\002" - + "\022A\n\013entry_group\030\002 \001(\0132,.google.cloud.dat" - + "acatalog.v1beta1.EntryGroup\"\222\001\n\027UpdateEn" - + "tryGroupRequest\022F\n\013entry_group\030\001 \001(\0132,.g" - + "oogle.cloud.datacatalog.v1beta1.EntryGro" - + "upB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" - + "otobuf.FieldMask\"\202\001\n\024GetEntryGroupReques" - + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.goo" - + "gleapis.com/EntryGroup\022-\n\tread_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"j\n\027DeleteE" - + "ntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" - + "datacatalog.googleapis.com/EntryGroup\022\022\n" - + "\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGroupsReq" - + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" - + "g.googleapis.com/EntryGroup\022\026\n\tpage_size" - + "\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"v\n\027" - + "ListEntryGroupsResponse\022B\n\014entry_groups\030" - + "\001 \003(\0132,.google.cloud.datacatalog.v1beta1" - + ".EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n" - + "\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A\002" - + "\372A\'\n%datacatalog.googleapis.com/EntryGro" - + "up\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\022;\n\005entry\030\002 \001(\013" - + "2\'.google.cloud.datacatalog.v1beta1.Entr" - + "yB\003\340A\002\"\202\001\n\022UpdateEntryRequest\022;\n\005entry\030\001" - + " \001(\0132\'.google.cloud.datacatalog.v1beta1." - + "EntryB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMask\"L\n\022DeleteEntryReques" - + "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.goo" - + "gleapis.com/Entry\"I\n\017GetEntryRequest\0226\n\004" - + "name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleap" - + "is.com/Entry\"V\n\022LookupEntryRequest\022\031\n\017li" - + "nked_resource\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 " - + "\001(\tH\000B\r\n\013target_name\"\217\007\n\005Entry\0228\n\004name\030\001" - + " \001(\tB*\372A\'\n%datacatalog.googleapis.com/En" - + "tryGroup\022\027\n\017linked_resource\030\t \001(\t\022;\n\004typ" - + "e\030\002 \001(\0162+.google.cloud.datacatalog.v1bet" - + "a1.EntryTypeH\000\022\035\n\023user_specified_type\030\020 " - + "\001(\tH\000\022T\n\021integrated_system\030\021 \001(\01622.googl" - + "e.cloud.datacatalog.v1beta1.IntegratedSy" - + "stemB\003\340A\003H\001\022\037\n\025user_specified_system\030\022 \001" - + "(\tH\001\022L\n\020gcs_fileset_spec\030\006 \001(\01320.google." - + "cloud.datacatalog.v1beta1.GcsFilesetSpec" - + "H\002\022R\n\023bigquery_table_spec\030\014 \001(\01323.google" - + ".cloud.datacatalog.v1beta1.BigQueryTable" - + "SpecH\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" - + "(\01329.google.cloud.datacatalog.v1beta1.Bi" - + "gQueryDateShardedSpecH\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.datacatalog.v1beta1.Sc" - + "hema\022Y\n\030source_system_timestamps\030\007 \001(\01322" - + ".google.cloud.datacatalog.v1beta1.System" - + "TimestampsB\003\340A\003:x\352Au\n datacatalog.google" - + "apis.com/Entry\022Qprojects/{project}/locat" - + "ions/{location}/entryGroups/{entry_group" - + "}/entries/{entry}B\014\n\nentry_typeB\010\n\006syste" - + "mB\013\n\ttype_spec\"\216\002\n\nEntryGroup\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\022X\n\027data_catalog_timestamps\030\004 \001(\0132" - + "2.google.cloud.datacatalog.v1beta1.Syste" - + "mTimestampsB\003\340A\003:m\352Aj\n%datacatalog.googl" - + "eapis.com/EntryGroup\022Aprojects/{project}" - + "/locations/{location}/entryGroups/{entry" - + "_group}\"\302\001\n\030CreateTagTemplateRequest\022>\n\006" - + "parent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.google" - + "apis.com/TagTemplate\022\034\n\017tag_template_id\030" - + "\003 \001(\tB\003\340A\002\022H\n\014tag_template\030\002 \001(\0132-.googl" - + "e.cloud.datacatalog.v1beta1.TagTemplateB" - + "\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004name\030\001 " - + "\001(\tB.\340A\002\372A(\n&datacatalog.googleapis.com/" - + "TagTemplate\"\225\001\n\030UpdateTagTemplateRequest" - + "\022H\n\014tag_template\030\001 \001(\0132-.google.cloud.da" - + "tacatalog.v1beta1.TagTemplateB\003\340A\002\022/\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" - + "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" - + "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"\203\001\n\020Cr" - + "eateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036" - + "datacatalog.googleapis.com/Tag\0227\n\003tag\030\002 " - + "\001(\0132%.google.cloud.datacatalog.v1beta1.T" - + "agB\003\340A\002\"|\n\020UpdateTagRequest\0227\n\003tag\030\001 \001(\013" - + "2%.google.cloud.datacatalog.v1beta1.TagB" - + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMask\"H\n\020DeleteTagRequest\0224\n\004nam" - + "e\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.googleapis." - + "com/Tag\"\330\001\n\035CreateTagTemplateFieldReques" - + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.g" - + "oogleapis.com/TagTemplate\022\"\n\025tag_templat" - + "e_field_id\030\002 \001(\tB\003\340A\002\022S\n\022tag_template_fi" - + "eld\030\003 \001(\01322.google.cloud.datacatalog.v1b" - + "eta1.TagTemplateFieldB\003\340A\002\"\355\001\n\035UpdateTag" - + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" - + "A-\n+datacatalog.googleapis.com/TagTempla" - + "teField\022S\n\022tag_template_field\030\002 \001(\01322.go" - + "ogle.cloud.datacatalog.v1beta1.TagTempla" - + "teFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.goog" - + "le.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035RenameTag" - + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" - + "A-\n+datacatalog.googleapis.com/TagTempla" - + "teField\022&\n\031new_tag_template_field_id\030\002 \001" - + "(\tB\003\340A\002\"v\n\035DeleteTagTemplateFieldRequest" - + "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.goog" - + "leapis.com/TagTemplateField\022\022\n\005force\030\002 \001" - + "(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006parent\030\001 \001" - + "(\tB&\340A\002\372A \022\036datacatalog.googleapis.com/T" - + "ag\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%.go" - + "ogle.cloud.datacatalog.v1beta1.Tag\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\251\001\n\022ListEntriesReque" - + "st\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog." - + "googleapis.com/EntryGroup\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mask\030\004 " - + "\001(\0132\032.google.protobuf.FieldMask\"h\n\023ListE" - + "ntriesResponse\0228\n\007entries\030\001 \003(\0132\'.google" - + ".cloud.datacatalog.v1beta1.Entry\022\027\n\017next" - + "_page_token\030\002 \001(\t*[\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\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2742\n\013DataC" - + "atalog\022\262\001\n\rSearchCatalog\0226.google.cloud." - + "datacatalog.v1beta1.SearchCatalogRequest" - + "\0327.google.cloud.datacatalog.v1beta1.Sear" - + "chCatalogResponse\"0\202\323\344\223\002\034\"\027/v1beta1/cata" - + "log:search:\001*\332A\013scope,query\022\352\001\n\020CreateEn" - + "tryGroup\0229.google.cloud.datacatalog.v1be" - + "ta1.CreateEntryGroupRequest\032,.google.clo" - + "ud.datacatalog.v1beta1.EntryGroup\"m\202\323\344\223\002" - + "C\"4/v1beta1/{parent=projects/*/locations" - + "/*}/entryGroups:\013entry_group\332A!parent,en" - + "try_group_id,entry_group\022\372\001\n\020UpdateEntry" - + "Group\0229.google.cloud.datacatalog.v1beta1" - + ".UpdateEntryGroupRequest\032,.google.cloud." - + "datacatalog.v1beta1.EntryGroup\"}\202\323\344\223\002O2@" - + "/v1beta1/{entry_group.name=projects/*/lo" - + "cations/*/entryGroups/*}:\013entry_group\332A\013" - + "entry_group\332A\027entry_group,update_mask\022\313\001" - + "\n\rGetEntryGroup\0226.google.cloud.datacatal" - + "og.v1beta1.GetEntryGroupRequest\032,.google" - + ".cloud.datacatalog.v1beta1.EntryGroup\"T\202" - + "\323\344\223\0026\0224/v1beta1/{name=projects/*/locatio" - + "ns/*/entryGroups/*}\332A\004name\332A\016name,read_m" - + "ask\022\252\001\n\020DeleteEntryGroup\0229.google.cloud." - + "datacatalog.v1beta1.DeleteEntryGroupRequ" - + "est\032\026.google.protobuf.Empty\"C\202\323\344\223\0026*4/v1" - + "beta1/{name=projects/*/locations/*/entry" - + "Groups/*}\332A\004name\022\315\001\n\017ListEntryGroups\0228.g" - + "oogle.cloud.datacatalog.v1beta1.ListEntr" - + "yGroupsRequest\0329.google.cloud.datacatalo" - + "g.v1beta1.ListEntryGroupsResponse\"E\202\323\344\223\002" - + "6\0224/v1beta1/{parent=projects/*/locations" - + "/*}/entryGroups\332A\006parent\022\323\001\n\013CreateEntry" - + "\0224.google.cloud.datacatalog.v1beta1.Crea" - + "teEntryRequest\032\'.google.cloud.datacatalo" - + "g.v1beta1.Entry\"e\202\323\344\223\002G\">/v1beta1/{paren" - + "t=projects/*/locations/*/entryGroups/*}/" - + "entries:\005entry\332A\025parent,entry_id,entry\022\335" - + "\001\n\013UpdateEntry\0224.google.cloud.datacatalo" - + "g.v1beta1.UpdateEntryRequest\032\'.google.cl" - + "oud.datacatalog.v1beta1.Entry\"o\202\323\344\223\002M2D/" - + "v1beta1/{entry.name=projects/*/locations" - + "/*/entryGroups/*/entries/*}:\005entry\332A\005ent" - + "ry\332A\021entry,update_mask\022\252\001\n\013DeleteEntry\0224" - + ".google.cloud.datacatalog.v1beta1.Delete" - + "EntryRequest\032\026.google.protobuf.Empty\"M\202\323" - + "\344\223\002@*>/v1beta1/{name=projects/*/location" - + "s/*/entryGroups/*/entries/*}\332A\004name\022\265\001\n\010" - + "GetEntry\0221.google.cloud.datacatalog.v1be" - + "ta1.GetEntryRequest\032\'.google.cloud.datac" - + "atalog.v1beta1.Entry\"M\202\323\344\223\002@\022>/v1beta1/{" - + "name=projects/*/locations/*/entryGroups/" - + "*/entries/*}\332A\004name\022\215\001\n\013LookupEntry\0224.go" - + "ogle.cloud.datacatalog.v1beta1.LookupEnt" - + "ryRequest\032\'.google.cloud.datacatalog.v1b" - + "eta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries:loo" - + "kup\022\313\001\n\013ListEntries\0224.google.cloud.datac" - + "atalog.v1beta1.ListEntriesRequest\0325.goog" - + "le.cloud.datacatalog.v1beta1.ListEntries" - + "Response\"O\202\323\344\223\002@\022>/v1beta1/{parent=proje" - + "cts/*/locations/*/entryGroups/*}/entries" - + "\332A\006parent\022\361\001\n\021CreateTagTemplate\022:.google" - + ".cloud.datacatalog.v1beta1.CreateTagTemp" - + "lateRequest\032-.google.cloud.datacatalog.v" - + "1beta1.TagTemplate\"q\202\323\344\223\002E\"5/v1beta1/{pa" - + "rent=projects/*/locations/*}/tagTemplate" - + "s:\014tag_template\332A#parent,tag_template_id" - + ",tag_template\022\276\001\n\016GetTagTemplate\0227.googl" - + "e.cloud.datacatalog.v1beta1.GetTagTempla" - + "teRequest\032-.google.cloud.datacatalog.v1b" - + "eta1.TagTemplate\"D\202\323\344\223\0027\0225/v1beta1/{name" - + "=projects/*/locations/*/tagTemplates/*}\332" - + "A\004name\022\203\002\n\021UpdateTagTemplate\022:.google.cl" - + "oud.datacatalog.v1beta1.UpdateTagTemplat" - + "eRequest\032-.google.cloud.datacatalog.v1be" - + "ta1.TagTemplate\"\202\001\202\323\344\223\002R2B/v1beta1/{tag_" - + "template.name=projects/*/locations/*/tag" - + "Templates/*}:\014tag_template\332A\014tag_templat" - + "e\332A\030tag_template,update_mask\022\263\001\n\021DeleteT" - + "agTemplate\022:.google.cloud.datacatalog.v1" - + "beta1.DeleteTagTemplateRequest\032\026.google." - + "protobuf.Empty\"J\202\323\344\223\0027*5/v1beta1/{name=p" - + "rojects/*/locations/*/tagTemplates/*}\332A\n" - + "name,force\022\234\002\n\026CreateTagTemplateField\022?." - + "google.cloud.datacatalog.v1beta1.CreateT" - + "agTemplateFieldRequest\0322.google.cloud.da" - + "tacatalog.v1beta1.TagTemplateField\"\214\001\202\323\344" - + "\223\002T\">/v1beta1/{parent=projects/*/locatio" - + "ns/*/tagTemplates/*}/fields:\022tag_templat" - + "e_field\332A/parent,tag_template_field_id,t" - + "ag_template_field\022\252\002\n\026UpdateTagTemplateF" - + "ield\022?.google.cloud.datacatalog.v1beta1." - + "UpdateTagTemplateFieldRequest\0322.google.c" - + "loud.datacatalog.v1beta1.TagTemplateFiel" - + "d\"\232\001\202\323\344\223\002T2>/v1beta1/{name=projects/*/lo" - + "cations/*/tagTemplates/*/fields/*}:\022tag_" - + "template_field\332A\027name,tag_template_field" - + "\332A#name,tag_template_field,update_mask\022\200" - + "\002\n\026RenameTagTemplateField\022?.google.cloud" - + ".datacatalog.v1beta1.RenameTagTemplateFi" - + "eldRequest\0322.google.cloud.datacatalog.v1" - + "beta1.TagTemplateField\"q\202\323\344\223\002J\"E/v1beta1" - + "/{name=projects/*/locations/*/tagTemplat" - + "es/*/fields/*}:rename:\001*\332A\036name,new_tag_" - + "template_field_id\022\306\001\n\026DeleteTagTemplateF" - + "ield\022?.google.cloud.datacatalog.v1beta1." - + "DeleteTagTemplateFieldRequest\032\026.google.p" - + "rotobuf.Empty\"S\202\323\344\223\002@*>/v1beta1/{name=pr" - + "ojects/*/locations/*/tagTemplates/*/fiel" - + "ds/*}\332A\nname,force\022\215\002\n\tCreateTag\0222.googl" - + "e.cloud.datacatalog.v1beta1.CreateTagReq" - + "uest\032%.google.cloud.datacatalog.v1beta1." - + "Tag\"\244\001\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects" - + "/*/locations/*/entryGroups/*/entries/*}/" - + "tags:\003tagZB\";/v1beta1/{parent=projects/*" - + "/locations/*/entryGroups/*}/tags:\003tag\332A\n" - + "parent,tag\022\240\002\n\tUpdateTag\0222.google.cloud." - + "datacatalog.v1beta1.UpdateTagRequest\032%.g" - + "oogle.cloud.datacatalog.v1beta1.Tag\"\267\001\202\323" - + "\344\223\002\230\0012I/v1beta1/{tag.name=projects/*/loc" - + "ations/*/entryGroups/*/entries/*/tags/*}" - + ":\003tagZF2?/v1beta1/{tag.name=projects/*/l" - + "ocations/*/entryGroups/*/tags/*}:\003tag\332A\003" - + "tag\332A\017tag,update_mask\022\356\001\n\tDeleteTag\0222.go" - + "ogle.cloud.datacatalog.v1beta1.DeleteTag" - + "Request\032\026.google.protobuf.Empty\"\224\001\202\323\344\223\002\206" - + "\001*E/v1beta1/{name=projects/*/locations/*" - + "/entryGroups/*/entries/*/tags/*}Z=*;/v1b" - + "eta1/{name=projects/*/locations/*/entryG" - + "roups/*/tags/*}\332A\004name\022\212\002\n\010ListTags\0221.go" - + "ogle.cloud.datacatalog.v1beta1.ListTagsR" - + "equest\0322.google.cloud.datacatalog.v1beta" - + "1.ListTagsResponse\"\226\001\202\323\344\223\002\206\001\022E/v1beta1/{" - + "parent=projects/*/locations/*/entryGroup" - + "s/*/entries/*}/tagsZ=\022;/v1beta1/{parent=" - + "projects/*/locations/*/entryGroups/*}/ta" - + "gs\332A\006parent\022\374\001\n\014SetIamPolicy\022\".google.ia" - + "m.v1.SetIamPolicyRequest\032\025.google.iam.v1" - + ".Policy\"\260\001\202\323\344\223\002\227\001\"F/v1beta1/{resource=pr" - + "ojects/*/locations/*/tagTemplates/*}:set" - + "IamPolicy:\001*ZJ\"E/v1beta1/{resource=proje" - + "cts/*/locations/*/entryGroups/*}:setIamP" - + "olicy:\001*\332A\017resource,policy\022\313\002\n\014GetIamPol" - + "icy\022\".google.iam.v1.GetIamPolicyRequest\032" - + "\025.google.iam.v1.Policy\"\377\001\202\323\344\223\002\355\001\"F/v1bet" - + "a1/{resource=projects/*/locations/*/tagT" - + "emplates/*}:getIamPolicy:\001*ZJ\"E/v1beta1/" - + "{resource=projects/*/locations/*/entryGr" - + "oups/*}:getIamPolicy:\001*ZT\"O/v1beta1/{res" - + "ource=projects/*/locations/*/entryGroups" - + "/*/entries/*}:getIamPolicy:\001*\332A\010resource" - + "\022\362\002\n\022TestIamPermissions\022(.google.iam.v1." - + "TestIamPermissionsRequest\032).google.iam.v" - + "1.TestIamPermissionsResponse\"\206\002\202\323\344\223\002\377\001\"L" - + "/v1beta1/{resource=projects/*/locations/" - + "*/tagTemplates/*}:testIamPermissions:\001*Z" - + "P\"K/v1beta1/{resource=projects/*/locatio" - + "ns/*/entryGroups/*}:testIamPermissions:\001" - + "*ZZ\"U/v1beta1/{resource=projects/*/locat" - + "ions/*/entryGroups/*/entries/*}:testIamP" - + "ermissions:\001*\032N\312A\032datacatalog.googleapis" - + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\344\001\n$com.google.cloud.datac" - + "atalog.v1beta1P\001ZKgoogle.golang.org/genp" - + "roto/googleapis/cloud/datacatalog/v1beta" - + "1;datacatalog\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.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 8992aa0b6118..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.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/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 9ae8ca1f5043..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.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/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 064dcb180e9b..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\"\177\n\016GcsFilesetSpec\022\032\n\rfil" - + "e_patterns\030\001 \003(\tB\003\340A\002\022Q\n\025sample_gcs_file" - + "_specs\030\002 \003(\0132-.google.cloud.datacatalog." - + "v1beta1.GcsFileSpecB\003\340A\003\"\217\001\n\013GcsFileSpec" - + "\022\026\n\tfile_path\030\001 \001(\tB\003\340A\002\022O\n\016gcs_timestam" - + "ps\030\002 \001(\01322.google.cloud.datacatalog.v1be" - + "ta1.SystemTimestampsB\003\340A\003\022\027\n\nsize_bytes\030" - + "\004 \001(\003B\003\340A\003B\344\001\n$com.google.cloud.datacata" - + "log.v1beta1P\001ZKgoogle.golang.org/genprot" - + "o/googleapis/cloud/datacatalog/v1beta1;d" - + "atacatalog\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(), - 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 f1f18671ef14..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.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/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 84e4c944c22d..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.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/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/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 c683c8f71f71..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\"\343\002\n\010Taxonomy\022\021\n\004nam" - + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" - + "\030\n\013description\030\003 \001(\tB\003\340A\001\022Z\n\026activated_p" - + "olicy_types\030\006 \003(\01625.google.cloud.datacat" - + "alog.v1beta1.Taxonomy.PolicyTypeB\003\340A\001\"J\n" - + "\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFIED\020\000" - + "\022\037\n\033FINE_GRAINED_ACCESS_CONTROL\020\001:g\352Ad\n#" - + "datacatalog.googleapis.com/Taxonomy\022=pro" - + "jects/{project}/locations/{location}/tax" - + "onomies/{taxonomy}\"\214\002\n\tPolicyTag\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023" - + "\n\013description\030\003 \001(\t\022\031\n\021parent_policy_tag" - + "\030\004 \001(\t\022\036\n\021child_policy_tags\030\005 \003(\tB\003\340A\003:\200" - + "\001\352A}\n$datacatalog.googleapis.com/PolicyT" - + "ag\022Uprojects/{project}/locations/{locati" - + "on}/taxonomies/{taxonomy}/policyTags/{po" - + "licy_tag}\"\222\001\n\025CreateTaxonomyRequest\022;\n\006p" - + "arent\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googlea" - + "pis.com/Taxonomy\022<\n\010taxonomy\030\002 \001(\0132*.goo" - + "gle.cloud.datacatalog.v1beta1.Taxonomy\"R" - + "\n\025DeleteTaxonomyRequest\0229\n\004name\030\001 \001(\tB+\340" - + "A\002\372A%\n#datacatalog.googleapis.com/Taxono" - + "my\"\206\001\n\025UpdateTaxonomyRequest\022<\n\010taxonomy" - + "\030\001 \001(\0132*.google.cloud.datacatalog.v1beta" - + "1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMask\"{\n\025ListTaxonomiesReq" - + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" - + "g.googleapis.com/Taxonomy\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\026ListTaxonomi" - + "esResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google." - + "cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"O\n\022GetTaxonomyReques" - + "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" - + "gleapis.com/Taxonomy\"\227\001\n\026CreatePolicyTag" - + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacat" - + "alog.googleapis.com/PolicyTag\022?\n\npolicy_" - + "tag\030\002 \001(\0132+.google.cloud.datacatalog.v1b" - + "eta1.PolicyTag\"T\n\026DeletePolicyTagRequest" - + "\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.goog" - + "leapis.com/PolicyTag\"\212\001\n\026UpdatePolicyTag" - + "Request\022?\n\npolicy_tag\030\001 \001(\0132+.google.clo" - + "ud.datacatalog.v1beta1.PolicyTag\022/\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "k\"|\n\025ListPolicyTagsRequest\022<\n\006parent\030\001 \001" - + "(\tB,\340A\002\372A&\022$datacatalog.googleapis.com/P" - + "olicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@\n\013pol" - + "icy_tags\030\001 \003(\0132+.google.cloud.datacatalo" - + "g.v1beta1.PolicyTag\022\027\n\017next_page_token\030\002" - + " \001(\t\"Q\n\023GetPolicyTagRequest\022:\n\004name\030\001 \001(" - + "\tB,\340A\002\372A&\n$datacatalog.googleapis.com/Po" - + "licyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016CreateT" - + "axonomy\0227.google.cloud.datacatalog.v1bet" - + "a1.CreateTaxonomyRequest\032*.google.cloud." - + "datacatalog.v1beta1.Taxonomy\"W\202\323\344\223\002?\"3/v" - + "1beta1/{parent=projects/*/locations/*}/t" - + "axonomies:\010taxonomy\332A\017parent,taxonomy\022\245\001" - + "\n\016DeleteTaxonomy\0227.google.cloud.datacata" - + "log.v1beta1.DeleteTaxonomyRequest\032\026.goog" - + "le.protobuf.Empty\"B\202\323\344\223\0025*3/v1beta1/{nam" - + "e=projects/*/locations/*/taxonomies/*}\332A" - + "\004name\022\320\001\n\016UpdateTaxonomy\0227.google.cloud." - + "datacatalog.v1beta1.UpdateTaxonomyReques" - + "t\032*.google.cloud.datacatalog.v1beta1.Tax" - + "onomy\"Y\202\323\344\223\002H2\n\ntaxonomies\030\001 \003(\013" - + "2*.google.cloud.datacatalog.v1beta1.Taxo" - + "nomy\"\307\001\n\027ExportTaxonomiesRequest\022;\n\006pare" - + "nt\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googleapis" - + ".com/Taxonomy\022?\n\ntaxonomies\030\002 \003(\tB+\340A\002\372A" - + "%\n#datacatalog.googleapis.com/Taxonomy\022\037" - + "\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013desti" - + "nation\"d\n\030ExportTaxonomiesResponse\022H\n\nta" - + "xonomies\030\001 \003(\01324.google.cloud.datacatalo" - + "g.v1beta1.SerializedTaxonomy2\222\004\n\035PolicyT" - + "agManagerSerialization\022\320\001\n\020ImportTaxonom" - + "ies\0229.google.cloud.datacatalog.v1beta1.I" - + "mportTaxonomiesRequest\032:.google.cloud.da" - + "tacatalog.v1beta1.ImportTaxonomiesRespon" - + "se\"E\202\323\344\223\002?\":/v1beta1/{parent=projects/*/" - + "locations/*}/taxonomies:import:\001*\022\315\001\n\020Ex" - + "portTaxonomies\0229.google.cloud.datacatalo" - + "g.v1beta1.ExportTaxonomiesRequest\032:.goog" - + "le.cloud.datacatalog.v1beta1.ExportTaxon" - + "omiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{parent=" - + "projects/*/locations/*}/taxonomies:expor" - + "t\032N\312A\032datacatalog.googleapis.com\322A.https" - + "://www.googleapis.com/auth/cloud-platfor" - + "mB\210\002\n$com.google.cloud.datacatalog.v1bet" - + "a1B\"PolicyTagManagerSerializationProtoP\001" - + "ZKgoogle.golang.org/genproto/googleapis/" - + "cloud/datacatalog/v1beta1;datacatalog\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.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 7833218bab6d..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\"N\n\006Sc" - + "hema\022D\n\007columns\030\002 \003(\0132..google.cloud.dat" - + "acatalog.v1beta1.ColumnSchemaB\003\340A\002\"\254\001\n\014C" - + "olumnSchema\022\023\n\006column\030\006 \001(\tB\003\340A\002\022\021\n\004type" - + "\030\001 \001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\021\n" - + "\004mode\030\003 \001(\tB\003\340A\001\022G\n\nsubcolumns\030\007 \003(\0132..g" - + "oogle.cloud.datacatalog.v1beta1.ColumnSc" - + "hemaB\003\340A\001B\344\001\n$com.google.cloud.datacatal" - + "og.v1beta1P\001ZKgoogle.golang.org/genproto" - + "/googleapis/cloud/datacatalog/v1beta1;da" - + "tacatalog\370\001\001\252\002 Google.Cloud.DataCatalog." - + "V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1bet" - + "a1\352\002#Google::Cloud::DataCatalog::V1beta1" - + "b\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 34eb700cf8ef..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\344\001\n$com.google.cl" - + "oud.datacatalog.v1beta1P\001ZKgoogle.golang" - + ".org/genproto/googleapis/cloud/datacatal" - + "og/v1beta1;datacatalog\370\001\001\252\002 Google.Cloud" - + ".DataCatalog.V1Beta1\312\002 Google\\Cloud\\Data" - + "Catalog\\V1beta1\352\002#Google::Cloud::DataCat" - + "alog::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/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 9c19d452ad9b..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\"\367\001\n\021BigQueryTa" - + "bleSpec\022Q\n\021table_source_type\030\001 \001(\01621.goo" - + "gle.cloud.datacatalog.v1beta1.TableSourc" - + "eTypeB\003\340A\003\022?\n\tview_spec\030\002 \001(\0132*.google.c" - + "loud.datacatalog.v1beta1.ViewSpecH\000\022A\n\nt" - + "able_spec\030\003 \001(\0132+.google.cloud.datacatal" - + "og.v1beta1.TableSpecH\000B\013\n\ttype_spec\"#\n\010V" - + "iewSpec\022\027\n\nview_query\030\001 \001(\tB\003\340A\003\"L\n\tTabl" - + "eSpec\022?\n\rgrouped_entry\030\001 \001(\tB(\340A\003\372A\"\n da" - + "tacatalog.googleapis.com/Entry\"\211\001\n\027BigQu" - + "eryDateShardedSpec\0229\n\007dataset\030\001 \001(\tB(\340A\003" - + "\372A\"\n datacatalog.googleapis.com/Entry\022\031\n" - + "\014table_prefix\030\002 \001(\tB\003\340A\003\022\030\n\013shard_count\030" - + "\003 \001(\003B\003\340A\003*[\n\017TableSourceType\022!\n\035TABLE_S" - + "OURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUERY_VIE" - + "W\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\344\001\n$com.google.c" - + "loud.datacatalog.v1beta1P\001ZKgoogle.golan" - + "g.org/genproto/googleapis/cloud/datacata" - + "log/v1beta1;datacatalog\370\001\001\252\002 Google.Clou" - + "d.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Dat" - + "aCatalog\\V1beta1\352\002#Google::Cloud::DataCa" - + "talog::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 b3309f942d0b..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\"\220\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010te" - + "mplate\030\002 \001(\tB\003\340A\002\022\"\n\025template_display_na" - + "me\030\005 \001(\tB\003\340A\003\022\020\n\006column\030\004 \001(\tH\000\022F\n\006field" - + "s\030\003 \003(\01321.google.cloud.datacatalog.v1bet" - + "a1.Tag.FieldsEntryB\003\340A\002\032Y\n\013FieldsEntry\022\013" - + "\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.clou" - + "d.datacatalog.v1beta1.TagField:\0028\001:\201\001\352A~" - + "\n\036datacatalog.googleapis.com/Tag\022\\projec" - + "ts/{project}/locations/{location}/entryG" - + "roups/{entry_group}/entries/{entry}/tags" - + "/{tag}B\007\n\005scope\"\255\002\n\010TagField\022\031\n\014display_" - + "name\030\001 \001(\tB\003\340A\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\017timestamp_value\030\005 \001(\0132\032.google." - + "protobuf.TimestampH\000\022J\n\nenum_value\030\006 \001(\013" - + "24.google.cloud.datacatalog.v1beta1.TagF" - + "ield.EnumValueH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n\t" - + "EnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind\"" - + "\326\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display" - + "_name\030\002 \001(\t\022N\n\006fields\030\003 \003(\01329.google.clo" - + "ud.datacatalog.v1beta1.TagTemplate.Field" - + "sEntryB\003\340A\002\032a\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" - + "A\n\005value\030\002 \001(\01322.google.cloud.datacatalo" - + "g.v1beta1.TagTemplateField:\0028\001:p\352Am\n&dat" - + "acatalog.googleapis.com/TagTemplate\022Cpro" - + "jects/{project}/locations/{location}/tag" - + "Templates/{tag_template}\"\247\002\n\020TagTemplate" - + "Field\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\024\n\014display_name" - + "\030\001 \001(\t\022>\n\004type\030\002 \001(\0132+.google.cloud.data" - + "catalog.v1beta1.FieldTypeB\003\340A\002\022\023\n\013is_req" - + "uired\030\003 \001(\010\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datac" - + "atalog.googleapis.com/TagTemplateField\022R" - + "projects/{project}/locations/{location}/" - + "tagTemplates/{tag_template}/fields/{fiel" - + "d}\"\247\003\n\tFieldType\022S\n\016primitive_type\030\001 \001(\016" - + "29.google.cloud.datacatalog.v1beta1.Fiel" - + "dType.PrimitiveTypeH\000\022I\n\tenum_type\030\002 \001(\013" - + "24.google.cloud.datacatalog.v1beta1.Fiel" - + "dType.EnumTypeH\000\032\212\001\n\010EnumType\022V\n\016allowed" - + "_values\030\001 \003(\0132>.google.cloud.datacatalog" - + ".v1beta1.FieldType.EnumType.EnumValue\032&\n" - + "\tEnumValue\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\"`\n" - + "\rPrimitiveType\022\036\n\032PRIMITIVE_TYPE_UNSPECI" - + "FIED\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\344\001\n$com.goo" - + "gle.cloud.datacatalog.v1beta1P\001ZKgoogle." - + "golang.org/genproto/googleapis/cloud/dat" - + "acatalog/v1beta1;datacatalog\370\001\001\252\002 Google" - + ".Cloud.DataCatalog.V1Beta1\312\002 Google\\Clou" - + "d\\DataCatalog\\V1beta1\352\002#Google::Cloud::D" - + "ataCatalog::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/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 ee6cd7fb57b4..000000000000 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java +++ /dev/null @@ -1,84 +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\"\252\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\0224\n\013expire" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003B\344\001\n$com.google.cloud.datacatalog.v1" - + "beta1P\001ZKgoogle.golang.org/genproto/goog" - + "leapis/cloud/datacatalog/v1beta1;datacat" - + "alog\370\001\001\252\002 Google.Cloud.DataCatalog.V1Bet" - + "a1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#" - + "Google::Cloud::DataCatalog::V1beta1b\006pro" - + "to3" - }; - 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/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 fed650761f00..e26812a76635 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 @@ -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.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 96004b38172f..3cd223d4e612 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 e4dce4dfc7d6..626235210c4b 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 de3f15d30d15..2674bbba3315 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 @@ -80,6 +80,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 bc3958d5201b..fd37719f7b8b 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 317573fcacc9..10737ea85fc1 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 100% 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 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/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 51% 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 ae4f3420d147..4e1187d85ae0 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,1496 +19,1051 @@ 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.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;
   }
 
-  /** 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.
    * 
*/ - public abstract static class DataCatalogImplBase implements io.grpc.BindableService { + public static abstract class DataCatalogImplBase implements io.grpc.BindableService { /** - * - * *
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -1541,17 +1079,12 @@ public abstract static class DataCatalogImplBase implements io.grpc.BindableServ
      * (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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchCatalogMethod(), responseObserver); + public 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
@@ -1575,30 +1108,22 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryGroupMethod(), 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.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
@@ -1607,16 +1132,12 @@ 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.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
@@ -1625,31 +1146,22 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); } /** - * - * *
      * Lists entry groups.
      * 
*/ - public void listEntryGroups( - com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntryGroupsMethod(), responseObserver); + public 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',
@@ -1661,16 +1173,12 @@ 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.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
@@ -1679,16 +1187,12 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryMethod(), responseObserver); } /** - * - * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -1700,44 +1204,33 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getLookupEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); } /** - * - * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -1745,17 +1238,12 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEntriesMethod(), responseObserver); + public 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].
@@ -1763,17 +1251,12 @@ public void listEntries(
      * IAM permission on the corresponding project.
      * 
*/ - public void modifyEntryOverview( - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getModifyEntryOverviewMethod(), responseObserver); + public 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].
@@ -1781,16 +1264,12 @@ 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.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
@@ -1799,30 +1278,22 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateMethod(), 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.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
@@ -1833,16 +1304,12 @@ 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.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
@@ -1850,16 +1317,12 @@ 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.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
@@ -1867,17 +1330,12 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTagTemplateFieldMethod(), responseObserver); + public 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.
@@ -1887,17 +1345,12 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTagTemplateFieldMethod(), responseObserver); + public 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
@@ -1905,33 +1358,23 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRenameTagTemplateFieldMethod(), responseObserver); + public 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.
      * 
*/ - public void renameTagTemplateFieldEnumValue( - com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + public 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.
@@ -1940,16 +1383,12 @@ 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.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
@@ -1963,88 +1402,66 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), 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.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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), 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.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.
      * 
*/ - public void unstarEntry( - com.google.cloud.datacatalog.v1.UnstarEntryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUnstarEntryMethod(), responseObserver); + public 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.
@@ -2060,16 +1477,12 @@ 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.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a resource.
      * May return:
@@ -2087,16 +1500,12 @@ 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.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.
@@ -2109,252 +1518,260 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, METHODID_SEARCH_CATALOG))) + getSearchCatalogMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1.SearchCatalogResponse>( + this, METHODID_SEARCH_CATALOG))) .addMethod( - getCreateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1.EntryGroup>( - this, METHODID_CREATE_ENTRY_GROUP))) + getCreateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1.EntryGroup>( + this, 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>(this, METHODID_GET_ENTRY_GROUP))) + getGetEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1.EntryGroup>( + this, 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>( - this, METHODID_UPDATE_ENTRY_GROUP))) + getUpdateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1.EntryGroup>( + this, METHODID_UPDATE_ENTRY_GROUP))) .addMethod( - getDeleteEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ENTRY_GROUP))) + getDeleteEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, + com.google.protobuf.Empty>( + this, 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>( - this, METHODID_LIST_ENTRY_GROUPS))) + getListEntryGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>( + this, 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>(this, METHODID_CREATE_ENTRY))) + getCreateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateEntryRequest, + com.google.cloud.datacatalog.v1.Entry>( + this, METHODID_CREATE_ENTRY))) .addMethod( - getUpdateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1.Entry>(this, METHODID_UPDATE_ENTRY))) + getUpdateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1.Entry>( + this, METHODID_UPDATE_ENTRY))) .addMethod( - getDeleteEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteEntryRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ENTRY))) + getDeleteEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteEntryRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ENTRY))) .addMethod( - getGetEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetEntryRequest, - com.google.cloud.datacatalog.v1.Entry>(this, METHODID_GET_ENTRY))) + getGetEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetEntryRequest, + com.google.cloud.datacatalog.v1.Entry>( + this, METHODID_GET_ENTRY))) .addMethod( - getLookupEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.LookupEntryRequest, - com.google.cloud.datacatalog.v1.Entry>(this, METHODID_LOOKUP_ENTRY))) + getLookupEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.LookupEntryRequest, + com.google.cloud.datacatalog.v1.Entry>( + this, METHODID_LOOKUP_ENTRY))) .addMethod( - getListEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListEntriesRequest, - com.google.cloud.datacatalog.v1.ListEntriesResponse>( - this, METHODID_LIST_ENTRIES))) + getListEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListEntriesRequest, + com.google.cloud.datacatalog.v1.ListEntriesResponse>( + this, METHODID_LIST_ENTRIES))) .addMethod( - getModifyEntryOverviewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest, - com.google.cloud.datacatalog.v1.EntryOverview>( - this, METHODID_MODIFY_ENTRY_OVERVIEW))) + getModifyEntryOverviewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest, + com.google.cloud.datacatalog.v1.EntryOverview>( + this, 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>( - this, METHODID_MODIFY_ENTRY_CONTACTS))) + getModifyEntryContactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest, + com.google.cloud.datacatalog.v1.Contacts>( + this, 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>( - this, METHODID_CREATE_TAG_TEMPLATE))) + getCreateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1.TagTemplate>( + this, 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>( - this, METHODID_GET_TAG_TEMPLATE))) + getGetTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1.TagTemplate>( + this, 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>( - this, METHODID_UPDATE_TAG_TEMPLATE))) + getUpdateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1.TagTemplate>( + this, METHODID_UPDATE_TAG_TEMPLATE))) .addMethod( - getDeleteTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG_TEMPLATE))) + getDeleteTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, + com.google.protobuf.Empty>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>(this, METHODID_DELETE_TAG_TEMPLATE_FIELD))) + getDeleteTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty>( + this, 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>(this, METHODID_CREATE_TAG))) + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateTagRequest, + com.google.cloud.datacatalog.v1.Tag>( + this, METHODID_CREATE_TAG))) .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateTagRequest, - com.google.cloud.datacatalog.v1.Tag>(this, METHODID_UPDATE_TAG))) + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTagRequest, + com.google.cloud.datacatalog.v1.Tag>( + this, METHODID_UPDATE_TAG))) .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListTagsRequest, - com.google.cloud.datacatalog.v1.ListTagsResponse>(this, METHODID_LIST_TAGS))) + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListTagsRequest, + com.google.cloud.datacatalog.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) .addMethod( - getStarEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.StarEntryRequest, - com.google.cloud.datacatalog.v1.StarEntryResponse>( - this, METHODID_STAR_ENTRY))) + getStarEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.StarEntryRequest, + com.google.cloud.datacatalog.v1.StarEntryResponse>( + this, METHODID_STAR_ENTRY))) .addMethod( - getUnstarEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UnstarEntryRequest, - com.google.cloud.datacatalog.v1.UnstarEntryResponse>( - this, METHODID_UNSTAR_ENTRY))) + getUnstarEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UnstarEntryRequest, + com.google.cloud.datacatalog.v1.UnstarEntryResponse>( + this, METHODID_UNSTAR_ENTRY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .build(); } } /** - * - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static final class DataCatalogStub - extends io.grpc.stub.AbstractAsyncStub { - private DataCatalogStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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) { + 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.
@@ -2370,19 +1787,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
@@ -2406,34 +1817,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
@@ -2442,18 +1843,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
@@ -2462,35 +1858,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',
@@ -2502,18 +1887,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
@@ -2522,18 +1902,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
@@ -2545,49 +1920,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.
@@ -2595,19 +1957,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].
@@ -2615,19 +1971,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].
@@ -2635,18 +1985,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
@@ -2655,34 +2000,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
@@ -2693,18 +2028,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
@@ -2712,18 +2042,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
@@ -2731,19 +2056,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.
@@ -2753,19 +2072,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
@@ -2773,37 +2086,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.
@@ -2812,18 +2113,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
@@ -2837,95 +2133,72 @@ 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); } /** - * - * *
      * 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.
@@ -2941,18 +2214,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:
@@ -2970,18 +2238,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.
@@ -2994,28 +2257,22 @@ 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); } } /** - * - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static final class DataCatalogBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DataCatalogBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DataCatalogBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -3026,8 +2283,6 @@ protected DataCatalogBlockingStub build( } /** - * - * *
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -3043,15 +2298,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
@@ -3075,28 +2327,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
@@ -3105,15 +2351,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
@@ -3122,28 +2365,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',
@@ -3155,15 +2392,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
@@ -3172,15 +2406,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
@@ -3192,42 +2423,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.
@@ -3235,15 +2457,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].
@@ -3251,15 +2470,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].
@@ -3267,15 +2483,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
@@ -3284,28 +2497,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
@@ -3316,15 +2523,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
@@ -3332,15 +2536,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
@@ -3348,15 +2549,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.
@@ -3366,15 +2564,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
@@ -3382,29 +2577,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.
@@ -3413,15 +2602,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
@@ -3435,84 +2621,66 @@ 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); } /** - * - * *
      * 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.
@@ -3534,8 +2702,6 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Gets the access control policy for a resource.
      * May return:
@@ -3559,8 +2725,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.
@@ -3573,24 +2737,21 @@ 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); } } /** - * - * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static final class DataCatalogFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DataCatalogFutureStub extends io.grpc.stub.AbstractFutureStub { + private DataCatalogFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -3601,8 +2762,6 @@ protected DataCatalogFutureStub build( } /** - * - * *
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -3618,16 +2777,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
@@ -3651,30 +2807,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
@@ -3683,16 +2833,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
@@ -3701,29 +2848,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',
@@ -3735,15 +2877,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
@@ -3752,15 +2892,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
@@ -3772,42 +2910,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.
@@ -3815,16 +2947,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].
@@ -3832,16 +2961,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].
@@ -3849,16 +2975,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
@@ -3867,30 +2990,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
@@ -3901,16 +3018,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
@@ -3918,15 +3032,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
@@ -3934,17 +3046,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.
@@ -3954,17 +3062,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
@@ -3972,34 +3076,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.
@@ -4008,16 +3103,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
@@ -4031,28 +3123,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.
      * 
@@ -4064,54 +3152,43 @@ 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); } /** - * - * *
      * 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.
@@ -4127,15 +3204,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:
@@ -4153,15 +3228,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.
@@ -4174,9 +3247,8 @@ 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);
     }
@@ -4215,11 +3287,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 DataCatalogImplBase serviceImpl;
     private final int methodId;
 
@@ -4233,187 +3305,132 @@ 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_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;
         default:
           throw new AssertionError();
@@ -4431,9 +3448,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -4475,43 +3491,41 @@ 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(getStarEntryMethod())
-                      .addMethod(getUnstarEntryMethod())
-                      .addMethod(getSetIamPolicyMethod())
-                      .addMethod(getGetIamPolicyMethod())
-                      .addMethod(getTestIamPermissionsMethod())
-                      .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(getStarEntryMethod())
+              .addMethod(getUnstarEntryMethod())
+              .addMethod(getSetIamPolicyMethod())
+              .addMethod(getGetIamPolicyMethod())
+              .addMethod(getTestIamPermissionsMethod())
+              .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..61466a4701e9
--- /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,1399 @@
+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 static abstract class PolicyTagManagerImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + this, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( + this, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + this, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>( + this, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, + com.google.protobuf.Empty>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_GET_POLICY_TAG))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 PolicyTagManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(PolicyTagManagerImplBase 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(); + } + } + } + + 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 54% 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 34a64b7a196b..6c3c3fa465cc 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,217 +17,156 @@ 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.
    * Taxonomy is a hierarchical group of policy tags.
    * 
*/ - public abstract static class PolicyTagManagerSerializationImplBase - implements io.grpc.BindableService { + public static abstract class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService { /** - * - * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -258,16 +180,12 @@ public abstract static class PolicyTagManagerSerializationImplBase
      * - 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.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.
@@ -277,17 +195,12 @@ public void replaceTaxonomy(
      * nested protocol buffer structures.
      * 
*/ - public void importTaxonomies( - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportTaxonomiesMethod(), responseObserver); + public 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
@@ -296,52 +209,46 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportTaxonomiesMethod(), responseObserver); + public void exportTaxonomies(com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>(this, METHODID_REPLACE_TAXONOMY))) + getReplaceTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>( + this, METHODID_REPLACE_TAXONOMY))) .addMethod( - getImportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>( - this, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>( + this, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>( - this, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>( + this, METHODID_EXPORT_TAXONOMIES))) .build(); } } /** - * - * *
    * 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 final class PolicyTagManagerSerializationStub - extends io.grpc.stub.AbstractAsyncStub { + public static final class PolicyTagManagerSerializationStub extends io.grpc.stub.AbstractAsyncStub { private PolicyTagManagerSerializationStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -354,8 +261,6 @@ protected PolicyTagManagerSerializationStub build( } /** - * - * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -369,18 +274,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.
@@ -390,19 +290,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
@@ -411,28 +305,21 @@ 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); } } /** - * - * *
    * 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 final class PolicyTagManagerSerializationBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class PolicyTagManagerSerializationBlockingStub extends io.grpc.stub.AbstractBlockingStub { private PolicyTagManagerSerializationBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -445,8 +332,6 @@ protected PolicyTagManagerSerializationBlockingStub build( } /** - * - * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -460,15 +345,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.
@@ -478,15 +360,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
@@ -495,24 +374,20 @@ 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); } } /** - * - * *
    * 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 final class PolicyTagManagerSerializationFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class PolicyTagManagerSerializationFutureStub extends io.grpc.stub.AbstractFutureStub { private PolicyTagManagerSerializationFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -525,8 +400,6 @@ protected PolicyTagManagerSerializationFutureStub build( } /** - * - * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -540,16 +413,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.
@@ -559,16 +429,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
@@ -577,9 +444,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); } @@ -589,11 +455,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 PolicyTagManagerSerializationImplBase serviceImpl; private final int methodId; @@ -607,24 +473,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(); @@ -642,9 +500,8 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -686,15 +543,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 e898b96a91f8..04d372331115 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,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -88,8 +66,6 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { */ CONNECTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Cloud SQL connection.
      * 
@@ -101,8 +77,6 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type.
      * 
@@ -111,8 +85,6 @@ public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONNECTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cloud SQL connection.
      * 
@@ -121,6 +93,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( @@ -145,49 +118,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; @@ -206,15 +178,12 @@ private ConnectionType(int value) { private int connectionSpecCase_ = 0; 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; } @@ -230,75 +199,56 @@ 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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf( - connectionType_); - return result == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf(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 @@ -306,26 +256,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.
    * 
@@ -333,10 +278,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(); } @@ -344,15 +288,12 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSq public static final int HAS_CREDENTIAL_FIELD_NUMBER = 3; 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 @@ -361,7 +302,6 @@ public boolean getHasCredential() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,16 +313,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_); @@ -396,19 +333,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; @@ -418,20 +353,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: @@ -450,7 +386,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; @@ -465,136 +402,129 @@ 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(); @@ -611,9 +541,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 @@ -632,8 +562,7 @@ 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); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); result.connectionType_ = connectionType_; if (connectionSpecCase_ == 2) { if (cloudSqlBuilder_ == null) { @@ -652,39 +581,38 @@ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -692,8 +620,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()); } @@ -701,15 +628,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(); @@ -737,31 +662,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - connectionType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getCloudSqlFieldBuilder().getBuilder(), extensionRegistry); - connectionSpecCase_ = 2; - break; - } // case 18 - case 24: - { - hasCredential_ = input.readBool(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + connectionType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getCloudSqlFieldBuilder().getBuilder(), + extensionRegistry); + connectionSpecCase_ = 2; + break; + } // case 18 + case 24: { + hasCredential_ = input.readBool(); + + 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) { @@ -771,12 +694,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() { @@ -786,121 +709,89 @@ public Builder clearConnectionSpec() { return this; } + 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. */ public Builder setConnectionTypeValue(int value) { - + connectionType_ = value; onChanged(); 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() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf( - connectionType_); - return result == null - ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf(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(); } - + connectionType_ = value.getNumber(); onChanged(); 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() { - + connectionType_ = 0; onChanged(); return this; } 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 @@ -908,14 +799,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 @@ -933,16 +821,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(); @@ -956,8 +841,6 @@ public Builder setCloudSql( return this; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -976,27 +859,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; } @@ -1012,8 +886,6 @@ public Builder mergeCloudSql( return this; } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -1037,21 +909,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.
      * 
@@ -1059,8 +926,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 { @@ -1071,8 +937,6 @@ public Builder clearCloudSql() { } } /** - * - * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -1080,42 +944,32 @@ 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()); connectionSpec_ = null; } connectionSpecCase_ = 2; - onChanged(); - ; + onChanged();; 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 @@ -1123,45 +977,39 @@ 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. */ public Builder setHasCredential(boolean value) { - + hasCredential_ = value; onChanged(); 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() { - + hasCredential_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1171,12 +1019,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(); } @@ -1185,27 +1033,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; @@ -1220,4 +1068,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 69% 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 9bd8c23f411b..2ec91a39ddae 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,19 +54,15 @@ 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(); - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionSpecCase - getConnectionSpecCase(); + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase(); } 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 abbe14c6128e..f3b75d923a58 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.
@@ -30,16 +13,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_ = "";
@@ -48,45 +30,39 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -95,33 +71,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:
    * `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 { @@ -132,8 +106,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object tablePrefix_; /** - * - * *
    * Output only. The table name prefix of the shards.
    * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -142,7 +114,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ @java.lang.Override @@ -151,15 +122,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.
    * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -168,15 +138,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 { @@ -187,14 +158,11 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; 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 @@ -205,14 +173,11 @@ public long getShardCount() { public static final int LATEST_SHARD_RESOURCE_FIELD_NUMBER = 4; 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 @@ -221,29 +186,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 { @@ -252,7 +217,6 @@ public com.google.protobuf.ByteString getLatestShardResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,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(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -293,7 +258,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_); @@ -306,18 +272,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -334,7 +303,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(); @@ -343,104 +313,96 @@ 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.
@@ -450,32 +412,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();
@@ -491,9 +454,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
@@ -512,8 +475,7 @@ 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);
+      com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec result = new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(this);
       result.dataset_ = dataset_;
       result.tablePrefix_ = tablePrefix_;
       result.shardCount_ = shardCount_;
@@ -526,39 +488,38 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -566,8 +527,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_;
         onChanged();
@@ -609,37 +569,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dataset_ = input.readStringRequireUtf8();
+            case 10: {
+              dataset_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                tablePrefix_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              tablePrefix_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                shardCount_ = input.readInt64();
+              break;
+            } // case 18
+            case 24: {
+              shardCount_ = input.readInt64();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                latestShardResource_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              latestShardResource_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -652,24 +607,20 @@ public Builder mergeFrom(
 
     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; @@ -678,25 +629,22 @@ 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 { @@ -704,73 +652,60 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * 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) { + public Builder setDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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() { - + dataset_ = getDefaultInstance().getDataset(); 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) = { ... } * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -778,8 +713,6 @@ 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 `[table_prefix]YYYYMMDD`.
@@ -788,13 +721,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; @@ -803,8 +736,6 @@ public java.lang.String getTablePrefix() { } } /** - * - * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -813,14 +744,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 { @@ -828,8 +760,6 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } } /** - * - * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -838,22 +768,20 @@ 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) { + public Builder setTablePrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -862,18 +790,15 @@ 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() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** - * - * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -882,31 +807,28 @@ 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) { + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); 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 @@ -914,36 +836,30 @@ 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. */ public Builder setShardCount(long value) { - + shardCount_ = value; onChanged(); 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() { - + shardCount_ = 0L; onChanged(); return this; @@ -951,20 +867,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; @@ -973,21 +887,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 { @@ -995,68 +908,61 @@ 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) { + public Builder setLatestShardResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + latestShardResource_ = value; 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() { - + latestShardResource_ = getDefaultInstance().getLatestShardResource(); onChanged(); 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) { + public Builder setLatestShardResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + latestShardResource_ = 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); } @@ -1066,12 +972,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(); } @@ -1080,27 +986,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; @@ -1115,4 +1021,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 66% 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 301c6bc56c50..74d0aae4cfa3 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,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/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:
    * `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 `[table_prefix]YYYYMMDD`.
@@ -67,13 +40,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.
    * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -82,46 +52,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..5e4e79fc0d95 --- /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\332\001\n\037com.google.cl" + + "oud.datacatalog.v1B\rBigQueryProtoP\001ZFgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/datacatalog/v1;datacatalog\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.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 ee7986666b1d..12c9ddb39644 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,111 +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/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.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryRoutineSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private com.google.protobuf.LazyStringList importedLibraries_; /** - * - * *
    * 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. */ @@ -113,23 +86,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; @@ -141,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < importedLibraries_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, importedLibraries_.getRaw(i)); } @@ -170,15 +141,15 @@ public int getSerializedSize() { @java.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; } @@ -200,135 +171,129 @@ 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(); @@ -338,9 +303,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_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 @@ -359,8 +324,7 @@ 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); + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { importedLibraries_ = importedLibraries_.getUnmodifiableView(); @@ -375,39 +339,38 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -415,8 +378,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_; @@ -453,20 +415,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) { @@ -476,55 +436,44 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList importedLibraries_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList importedLibraries_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureImportedLibrariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { importedLibraries_ = new com.google.protobuf.LazyStringArrayList(importedLibraries_); 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() { return importedLibraries_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -532,90 +481,80 @@ 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) { + public Builder setImportedLibraries( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureImportedLibrariesIsMutable(); + throw new NullPointerException(); + } + ensureImportedLibrariesIsMutable(); importedLibraries_.set(index, value); onChanged(); 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) { + public Builder addImportedLibraries( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureImportedLibrariesIsMutable(); + throw new NullPointerException(); + } + ensureImportedLibrariesIsMutable(); importedLibraries_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; - * * @return This builder for chaining. */ public Builder clearImportedLibraries() { @@ -625,30 +564,28 @@ public Builder clearImportedLibraries() { 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) { + public Builder addImportedLibrariesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureImportedLibrariesIsMutable(); importedLibraries_.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); } @@ -658,12 +595,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(); } @@ -672,27 +609,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; @@ -707,4 +644,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 abcbda61e239..2f4b5cc5c14b 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,84 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -94,77 +72,58 @@ 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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.TableSourceType result = - com.google.cloud.datacatalog.v1.TableSourceType.valueOf(tableSourceType_); + com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.valueOf(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 @@ -172,27 +131,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`.
@@ -203,22 +157,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 @@ -226,27 +177,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`.
@@ -257,13 +203,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;
@@ -275,10 +220,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) {
@@ -296,20 +240,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;
@@ -319,22 +260,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:
@@ -370,135 +312,129 @@ 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(); @@ -516,9 +452,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 @@ -537,8 +473,7 @@ 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); + com.google.cloud.datacatalog.v1.BigQueryTableSpec result = new com.google.cloud.datacatalog.v1.BigQueryTableSpec(this); result.tableSourceType_ = tableSourceType_; if (typeSpecCase_ == 2) { if (viewSpecBuilder_ == null) { @@ -563,39 +498,38 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -603,26 +537,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(); @@ -650,31 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - tableSourceType_ = input.readEnum(); + case 8: { + tableSourceType_ = input.readEnum(); - 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: + 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) { @@ -684,12 +614,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() { @@ -699,75 +629,54 @@ public Builder clearTypeSpec() { return this; } + 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. */ public Builder setTableSourceTypeValue(int value) { - + tableSourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.TableSourceType result = - com.google.cloud.datacatalog.v1.TableSourceType.valueOf(tableSourceType_); + com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.valueOf(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. */ @@ -775,46 +684,35 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1.TableSourceTyp if (value == null) { throw new NullPointerException(); } - + tableSourceType_ = value.getNumber(); onChanged(); 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() { - + tableSourceType_ = 0; onChanged(); return this; } 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 @@ -822,15 +720,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 @@ -848,8 +743,6 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { } } /** - * - * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -871,8 +764,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`.
@@ -880,7 +771,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();
@@ -891,8 +783,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`.
@@ -902,13 +792,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;
         }
@@ -924,8 +811,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`.
@@ -950,8 +835,6 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -963,8 +846,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`.
@@ -984,8 +865,6 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -994,45 +873,33 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return viewSpecBuilder_;
     }
 
     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 @@ -1040,15 +907,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 @@ -1066,8 +930,6 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { } } /** - * - * *
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1089,8 +951,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`.
@@ -1098,7 +958,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();
@@ -1109,8 +970,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`.
@@ -1120,13 +979,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;
         }
@@ -1142,8 +998,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`.
@@ -1168,8 +1022,6 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1181,8 +1033,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`.
@@ -1202,8 +1052,6 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1212,32 +1060,26 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 3;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1247,12 +1089,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();
   }
@@ -1261,27 +1103,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;
@@ -1296,4 +1138,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 de994b2039e1..08a828c379ed 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 68%
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 f88366f25a0c..2cb0524e45a0 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,81 +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;
 
 /**
- *
- *
  * 
  * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -116,14 +88,11 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr 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 @@ -131,25 +100,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.
    * 
@@ -162,7 +124,6 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -191,10 +153,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; @@ -204,21 +168,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; @@ -244,136 +209,130 @@ 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(); @@ -393,9 +352,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 @@ -414,8 +373,7 @@ 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); + com.google.cloud.datacatalog.v1.BusinessContext result = new com.google.cloud.datacatalog.v1.BusinessContext(this); if (entryOverviewBuilder_ == null) { result.entryOverview_ = entryOverview_; } else { @@ -434,39 +392,38 @@ public com.google.cloud.datacatalog.v1.BusinessContext buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -474,8 +431,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()); } @@ -508,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getEntryOverviewFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getContactsFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + break; + } // case 10 + case 18: { + input.readMessage( + getContactsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -539,47 +496,34 @@ public Builder mergeFrom( 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 entryOverviewBuilder_ != null || entryOverview_ != null; } /** - * - * *
      * 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.
      * 
@@ -600,8 +544,6 @@ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview va return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -620,8 +562,6 @@ public Builder setEntryOverview( return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -632,9 +572,7 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview if (entryOverviewBuilder_ == null) { if (entryOverview_ != null) { entryOverview_ = - com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_).mergeFrom(value).buildPartial(); } else { entryOverview_ = value; } @@ -646,8 +584,6 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -666,8 +602,6 @@ public Builder clearEntryOverview() { return this; } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -675,13 +609,11 @@ public Builder clearEntryOverview() { * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; */ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBuilder() { - + onChanged(); return getEntryOverviewFieldBuilder().getBuilder(); } /** - * - * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -692,14 +624,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.
      * 
@@ -707,17 +636,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_; @@ -725,47 +651,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 contactsBuilder_ != null || contacts_ != null; } /** - * - * *
      * 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.
      * 
@@ -786,15 +699,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(); onChanged(); @@ -805,8 +717,6 @@ public Builder setContacts(com.google.cloud.datacatalog.v1.Contacts.Builder buil return this; } /** - * - * *
      * Contact people for the entry.
      * 
@@ -817,9 +727,7 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { if (contacts_ != null) { contacts_ = - com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_).mergeFrom(value).buildPartial(); } else { contacts_ = value; } @@ -831,8 +739,6 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** - * - * *
      * Contact people for the entry.
      * 
@@ -851,8 +757,6 @@ public Builder clearContacts() { return this; } /** - * - * *
      * Contact people for the entry.
      * 
@@ -860,13 +764,11 @@ public Builder clearContacts() { * .google.cloud.datacatalog.v1.Contacts contacts = 2; */ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { - + onChanged(); return getContactsFieldBuilder().getBuilder(); } /** - * - * *
      * Contact people for the entry.
      * 
@@ -877,14 +779,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.
      * 
@@ -892,24 +791,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); } @@ -919,12 +815,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(); } @@ -933,27 +829,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; @@ -968,4 +864,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/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 9d6c25cac5fd..217ff550c77f 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,43 +27,39 @@ private CloudSqlBigQueryConnectionSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudSqlBigQueryConnectionSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -91,8 +68,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -101,8 +76,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ POSTGRES(1), /** - * - * *
      * Cloud SQL for MySQL.
      * 
@@ -114,8 +87,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified database type.
      * 
@@ -124,8 +95,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -134,8 +103,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_VALUE = 1; /** - * - * *
      * Cloud SQL for MySQL.
      * 
@@ -144,6 +111,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( @@ -168,51 +136,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; @@ -232,14 +198,11 @@ private DatabaseType(int value) { public static final int INSTANCE_ID_FIELD_NUMBER = 1; 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 @@ -248,29 +211,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 { @@ -281,14 +244,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int DATABASE_FIELD_NUMBER = 2; private volatile java.lang.Object database_; /** - * - * *
    * Database name.
    * 
* * string database = 2; - * * @return The database. */ @java.lang.Override @@ -297,29 +257,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 { @@ -330,43 +290,31 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.valueOf(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.valueOf(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; @@ -378,17 +326,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); @@ -406,11 +352,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; @@ -420,16 +364,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; @@ -454,136 +399,129 @@ 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(); @@ -597,14 +535,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(); } @@ -619,8 +556,7 @@ 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); + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); result.instanceId_ = instanceId_; result.database_ = database_; result.type_ = type_; @@ -632,39 +568,38 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -672,9 +607,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_; onChanged(); @@ -712,31 +645,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - database_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - type_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + database_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + type_ = input.readEnum(); + + 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) { @@ -749,20 +678,18 @@ public Builder mergeFrom( 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; @@ -771,21 +698,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 { @@ -793,61 +719,54 @@ 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) { + public Builder setInstanceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; 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() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); 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) { + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -855,20 +774,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; @@ -877,21 +794,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 { @@ -899,61 +815,54 @@ 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) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * Database name.
      * 
* * string database = 2; - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -961,106 +870,80 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.valueOf( - 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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 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); } @@ -1070,43 +953,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; @@ -1118,8 +999,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 899b92eab9aa..399d71ae58cb 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_ = "";
@@ -48,35 +30,32 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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);
   }
 
   public static final int COLUMN_FIELD_NUMBER = 6;
   private volatile java.lang.Object column_;
   /**
-   *
-   *
    * 
    * Required. Name of the column.
    * Must be a UTF-8 string without dots (.).
@@ -84,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The column. */ @java.lang.Override @@ -93,15 +71,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.
    * Must be a UTF-8 string without dots (.).
@@ -109,15 +86,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 { @@ -128,15 +106,12 @@ public com.google.protobuf.ByteString getColumnBytes() { public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** - * - * *
    * Required. Type of the column.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The type. */ @java.lang.Override @@ -145,30 +120,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; } } /** - * - * *
    * Required. Type of the column.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * 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 { @@ -179,8 +154,6 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -188,7 +161,6 @@ public com.google.protobuf.ByteString getTypeBytes() {
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -197,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; } } /** - * - * *
    * Optional. Description of the column. Default value is an empty string.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -213,15 +184,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 { @@ -232,8 +204,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MODE_FIELD_NUMBER = 3; private volatile java.lang.Object mode_; /** - * - * *
    * Optional. A column's mode indicates whether values in this column are required,
    * nullable, or repeated.
@@ -242,7 +212,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The mode. */ @java.lang.Override @@ -251,15 +220,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.
@@ -268,15 +236,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 { @@ -287,84 +256,64 @@ public com.google.protobuf.ByteString getModeBytes() { public static final int SUBCOLUMNS_FIELD_NUMBER = 7; 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); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -376,7 +325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -414,7 +364,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; @@ -424,19 +375,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.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 (!getSubcolumnsList().equals(other.getSubcolumnsList())) 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 (!getSubcolumnsList() + .equals(other.getSubcolumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,104 +420,97 @@ 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.
@@ -570,32 +518,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();
@@ -618,9 +567,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
@@ -639,8 +588,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.column_ = column_;
       result.type_ = type_;
@@ -663,39 +611,38 @@ public com.google.cloud.datacatalog.v1.ColumnSchema buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -738,10 +685,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema other) {
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subcolumnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSubcolumnsFieldBuilder()
-                    : null;
+            subcolumnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSubcolumnsFieldBuilder() : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -773,50 +719,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                type_ = input.readStringRequireUtf8();
+            case 10: {
+              type_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                mode_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              mode_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 50:
-              {
-                column_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 50: {
+              column_ = input.readStringRequireUtf8();
 
-                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
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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
+            default: {
+              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,13 +767,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object column_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -840,13 +778,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -855,8 +793,6 @@ public java.lang.String getColumn() { } } /** - * - * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -864,14 +800,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 { @@ -879,8 +816,6 @@ public com.google.protobuf.ByteString getColumnBytes() { } } /** - * - * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -888,22 +823,20 @@ 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) { + public Builder setColumn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + column_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -911,18 +844,15 @@ public Builder setColumn(java.lang.String value) {
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = getDefaultInstance().getColumn(); onChanged(); return this; } /** - * - * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -930,16 +860,16 @@ 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) { + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + column_ = value; onChanged(); return this; @@ -947,21 +877,19 @@ public Builder setColumnBytes(com.google.protobuf.ByteString value) { private java.lang.Object type_ = ""; /** - * - * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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; @@ -970,22 +898,21 @@ public java.lang.String getType() { } } /** - * - * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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 { @@ -993,64 +920,57 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1058,8 +978,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.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1067,13 +985,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; @@ -1082,8 +1000,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1091,14 +1007,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 { @@ -1106,8 +1023,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1115,22 +1030,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1138,18 +1051,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1157,16 +1067,16 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1174,8 +1084,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.
@@ -1184,13 +1092,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; @@ -1199,8 +1107,6 @@ public java.lang.String getMode() { } } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1209,14 +1115,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 { @@ -1224,8 +1131,6 @@ public com.google.protobuf.ByteString getModeBytes() { } } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1234,22 +1139,20 @@ 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) { + public Builder setMode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1258,18 +1161,15 @@ public Builder setMode(java.lang.String value) {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = getDefaultInstance().getMode(); onChanged(); return this; } /** - * - * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1278,48 +1178,39 @@ 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) { + public Builder setModeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mode_ = value; onChanged(); return this; } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - subcolumns_ = - new java.util.ArrayList(subcolumns_); + subcolumns_ = new java.util.ArrayList(subcolumns_); 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> - 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) { @@ -1329,15 +1220,11 @@ 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) { @@ -1347,15 +1234,11 @@ 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) { @@ -1365,17 +1248,14 @@ 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(); @@ -1389,15 +1269,11 @@ 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) { @@ -1411,15 +1287,11 @@ 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) { @@ -1435,17 +1307,14 @@ 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(); @@ -1459,15 +1328,11 @@ 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) { @@ -1481,15 +1346,11 @@ 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) { @@ -1503,21 +1364,18 @@ 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); @@ -1525,15 +1383,11 @@ 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) { @@ -1546,15 +1400,11 @@ 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) { @@ -1567,50 +1417,39 @@ 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 { @@ -1618,70 +1457,56 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1691,12 +1516,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(); } @@ -1705,27 +1530,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; @@ -1740,4 +1565,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 66% 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 324e8e2bc5df..ba08488d4b92 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.
    * Must be a UTF-8 string without dots (.).
@@ -33,13 +15,10 @@ public interface ColumnSchemaOrBuilder
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The column. */ java.lang.String getColumn(); /** - * - * *
    * Required. Name of the column.
    * Must be a UTF-8 string without dots (.).
@@ -47,41 +26,34 @@ 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.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * Required. Type of the column.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * 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.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -89,13 +61,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.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -103,14 +72,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.
@@ -119,13 +86,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.
@@ -134,70 +98,52 @@ 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. 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); } 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..5718a892fcc3 --- /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,61 @@ +// 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*{\n\020Integrate" + + "dSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIED" + + "\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022DA" + + "TAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004B\313\001\n\037com" + + ".google.cloud.datacatalog.v1P\001ZFgoogle.g" + + "olang.org/genproto/googleapis/cloud/data" + + "catalog/v1;datacatalog\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.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/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 8923f0a71dd5..f9fa1d193554 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,148 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_ = ""; @@ -150,41 +117,37 @@ private Person() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Person(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object designation_; /** - * - * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; - * * @return The designation. */ @java.lang.Override @@ -193,29 +156,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 { @@ -226,15 +189,12 @@ public com.google.protobuf.ByteString getDesignationBytes() { public static final int EMAIL_FIELD_NUMBER = 2; 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 @@ -243,30 +203,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 { @@ -275,7 +235,6 @@ public com.google.protobuf.ByteString getEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(designation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, designation_); } @@ -317,16 +277,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -348,93 +309,87 @@ 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 @@ -444,41 +399,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(); @@ -490,9 +443,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 @@ -511,8 +464,7 @@ 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); + com.google.cloud.datacatalog.v1.Contacts.Person result = new com.google.cloud.datacatalog.v1.Contacts.Person(this); result.designation_ = designation_; result.email_ = email_; onBuilt(); @@ -523,41 +475,38 @@ public com.google.cloud.datacatalog.v1.Contacts.Person buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -565,8 +514,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_; onChanged(); @@ -601,25 +549,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - designation_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - email_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + designation_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + email_ = input.readStringRequireUtf8(); + + 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) { @@ -632,20 +577,18 @@ public Builder mergeFrom( 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; @@ -654,21 +597,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 { @@ -676,61 +618,54 @@ 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) { + public Builder setDesignation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + designation_ = value; onChanged(); return this; } /** - * - * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; - * * @return This builder for chaining. */ public Builder clearDesignation() { - + designation_ = getDefaultInstance().getDesignation(); onChanged(); 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) { + public Builder setDesignationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + designation_ = value; onChanged(); return this; @@ -738,21 +673,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; @@ -761,22 +694,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 { @@ -784,69 +716,61 @@ 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) { + public Builder setEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; 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() { - + email_ = getDefaultInstance().getEmail(); 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; - * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes(com.google.protobuf.ByteString value) { + public Builder setEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -859,12 +783,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(); } @@ -873,28 +797,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; @@ -909,13 +832,12 @@ 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; private java.util.List people_; /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -927,8 +849,6 @@ public java.util.List getPeople return people_; } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -936,13 +856,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.
    * 
@@ -954,8 +872,6 @@ public int getPeopleCount() { return people_.size(); } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -967,8 +883,6 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { return people_.get(index); } /** - * - * *
    * The list of contact people for the entry.
    * 
@@ -976,12 +890,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; @@ -993,7 +907,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -1007,7 +922,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; @@ -1017,14 +933,15 @@ public int getSerializedSize() { @java.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; } @@ -1045,136 +962,130 @@ 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(); @@ -1189,9 +1100,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 @@ -1210,8 +1121,7 @@ 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); int from_bitField0_ = bitField0_; if (peopleBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1230,39 +1140,38 @@ public com.google.cloud.datacatalog.v1.Contacts buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1289,10 +1198,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_); } @@ -1324,27 +1232,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) { @@ -1354,28 +1260,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.
      * 
@@ -1390,8 +1289,6 @@ public java.util.List getPeople } } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1406,8 +1303,6 @@ public int getPeopleCount() { } } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1422,15 +1317,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(); @@ -1444,8 +1338,6 @@ public Builder setPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Per return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1464,8 +1356,6 @@ public Builder setPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1486,15 +1376,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(); @@ -1508,8 +1397,6 @@ public Builder addPeople(int index, com.google.cloud.datacatalog.v1.Contacts.Per return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1528,8 +1415,6 @@ public Builder addPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1548,8 +1433,6 @@ public Builder addPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1560,7 +1443,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); @@ -1568,8 +1452,6 @@ public Builder addAllPeople( return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1587,8 +1469,6 @@ public Builder clearPeople() { return this; } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1606,44 +1486,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 { @@ -1651,8 +1526,6 @@ public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuild } } /** - * - * *
      * The list of contact people for the entry.
      * 
@@ -1660,55 +1533,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); } @@ -1718,12 +1585,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(); } @@ -1732,27 +1599,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; @@ -1767,4 +1634,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 a90fe89d62fe..f057fec1d649 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,45 +27,39 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * 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 @@ -92,33 +68,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 names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * 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 { @@ -129,8 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; private volatile java.lang.Object entryGroupId_; /** - * - * *
    * Required. The ID of the entry group to create.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -139,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ @java.lang.Override @@ -148,15 +119,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 contain only letters (a-z, A-Z), numbers (0-9),
@@ -165,15 +135,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 { @@ -184,14 +155,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 @@ -199,25 +167,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.
    * 
@@ -230,7 +191,6 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -265,7 +226,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_); @@ -278,19 +240,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; @@ -317,104 +281,96 @@ 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].
@@ -422,32 +378,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();
@@ -465,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_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
@@ -486,8 +443,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateEntryGroupRequest result = new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(this);
       result.parent_ = parent_;
       result.entryGroupId_ = entryGroupId_;
       if (entryGroupBuilder_ == null) {
@@ -503,39 +459,38 @@ public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -543,8 +498,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_;
         onChanged();
@@ -582,31 +536,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                entryGroupId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              entryGroupId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -619,24 +571,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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; @@ -645,25 +593,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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 { @@ -671,73 +616,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -745,8 +677,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 contain only letters (a-z, A-Z), numbers (0-9),
@@ -755,13 +685,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; @@ -770,8 +700,6 @@ public java.lang.String getEntryGroupId() { } } /** - * - * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -780,14 +708,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 { @@ -795,8 +724,6 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() { } } /** - * - * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -805,22 +732,20 @@ 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) { + public Builder setEntryGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryGroupId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -829,18 +754,15 @@ 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() { - + entryGroupId_ = getDefaultInstance().getEntryGroupId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -849,16 +771,16 @@ 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) { + public Builder setEntryGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryGroupId_ = value; onChanged(); return this; @@ -866,47 +788,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 entryGroupBuilder_ != null || entryGroup_ != null; } /** - * - * *
      * 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.
      * 
@@ -927,8 +836,6 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -947,8 +854,6 @@ public Builder setEntryGroup( return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -959,9 +864,7 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) if (entryGroupBuilder_ == null) { if (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); } else { entryGroup_ = value; } @@ -973,8 +876,6 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -993,8 +894,6 @@ public Builder clearEntryGroup() { return this; } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -1002,13 +901,11 @@ public Builder clearEntryGroup() { * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; */ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() { - + onChanged(); return getEntryGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The entry group to create. Defaults to empty.
      * 
@@ -1019,14 +916,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.
      * 
@@ -1034,24 +928,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); } @@ -1061,12 +952,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(); } @@ -1075,27 +966,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; @@ -1110,4 +1001,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 68% 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 25a114ffdfcd..c3b0b07a00fa 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,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 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.
    * Note: The entry group itself and its child resources might not be
    * 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.
    * Note: The entry group itself and its child resources might not be
    * 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.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -67,13 +40,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 contain only letters (a-z, A-Z), numbers (0-9),
@@ -82,38 +52,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 01700bbed8bf..a13360c993af 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,45 +27,39 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be 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 @@ -92,33 +68,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 this entry belongs to.
    * Note: The entry itself and its child resources might not be 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 { @@ -129,8 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTRY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object entryId_; /** - * - * *
    * Required. The ID of the entry to create.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -139,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryId. */ @java.lang.Override @@ -148,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.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -165,15 +135,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 { @@ -184,15 +155,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 @@ -200,15 +167,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 @@ -216,14 +179,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() { @@ -231,7 +191,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -266,7 +226,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_); @@ -279,19 +240,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; @@ -318,103 +281,96 @@ 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].
@@ -422,32 +378,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();
@@ -465,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_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
@@ -486,8 +443,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateEntryRequest result = new com.google.cloud.datacatalog.v1.CreateEntryRequest(this);
       result.parent_ = parent_;
       result.entryId_ = entryId_;
       if (entryBuilder_ == null) {
@@ -503,39 +459,38 @@ public com.google.cloud.datacatalog.v1.CreateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -543,8 +498,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_;
         onChanged();
@@ -582,31 +536,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                entryId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              entryId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -619,24 +571,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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; @@ -645,25 +593,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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 { @@ -671,73 +616,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -745,8 +677,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object entryId_ = ""; /** - * - * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -755,13 +685,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; @@ -770,8 +700,6 @@ public java.lang.String getEntryId() { } } /** - * - * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -780,14 +708,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 { @@ -795,8 +724,6 @@ public com.google.protobuf.ByteString getEntryIdBytes() { } } /** - * - * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -805,22 +732,20 @@ 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) { + public Builder setEntryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -829,18 +754,15 @@ public Builder setEntryId(java.lang.String value) {
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEntryId() { - + entryId_ = getDefaultInstance().getEntryId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -849,16 +771,16 @@ 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) { + public Builder setEntryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryId_ = value; onChanged(); return this; @@ -866,35 +788,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 entryBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -905,14 +816,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) { @@ -928,16 +836,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(); onChanged(); @@ -948,22 +854,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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); } else { entry_ = value; } @@ -975,14 +876,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() { if (entryBuilder_ == null) { @@ -996,66 +894,55 @@ 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() { - + onChanged(); 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); } @@ -1065,12 +952,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(); } @@ -1079,27 +966,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; @@ -1114,4 +1001,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 92565797cfc3..37904b6ea5d9 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,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 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.
    * Note: The entry itself and its child resources might not be 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 name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be 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 to create.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -67,13 +40,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.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -82,46 +52,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 13c95940a021..ff562aadf5c1 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,14 +98,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 @@ -139,25 +110,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.
    * 
@@ -170,7 +134,6 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -202,7 +166,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; @@ -212,18 +177,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; @@ -248,104 +214,96 @@ 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].
@@ -353,32 +311,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();
@@ -394,9 +353,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
@@ -415,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreatePolicyTagRequest result = new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(this);
       result.parent_ = parent_;
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
@@ -431,39 +389,38 @@ public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -471,8 +428,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_;
         onChanged();
@@ -506,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getPolicyTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -561,23 +512,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 { @@ -585,67 +533,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -653,47 +588,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 policyTagBuilder_ != null || policyTag_ != null; } /** - * - * *
      * 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.
      * 
@@ -714,15 +636,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(); onChanged(); @@ -733,8 +654,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu return this; } /** - * - * *
      * The policy tag to create.
      * 
@@ -745,9 +664,7 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagBuilder_ == null) { if (policyTag_ != null) { policyTag_ = - com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial(); } else { policyTag_ = value; } @@ -759,8 +676,6 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** - * - * *
      * The policy tag to create.
      * 
@@ -779,8 +694,6 @@ public Builder clearPolicyTag() { return this; } /** - * - * *
      * The policy tag to create.
      * 
@@ -788,13 +701,11 @@ public Builder clearPolicyTag() { * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; */ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() { - + onChanged(); return getPolicyTagFieldBuilder().getBuilder(); } /** - * - * *
      * The policy tag to create.
      * 
@@ -805,14 +716,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.
      * 
@@ -820,24 +728,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); } @@ -847,12 +752,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(); } @@ -861,27 +766,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; @@ -896,4 +801,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 65% 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 70db0c785ca5..8ea7bc6bd606 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,51 +11,47 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the resource to attach this tag to.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -81,10 +60,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 @@ -93,15 +69,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.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -110,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 { @@ -132,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 @@ -148,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 @@ -164,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() { @@ -179,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; @@ -191,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_); } @@ -211,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; @@ -221,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; @@ -256,104 +221,97 @@ 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].
@@ -361,32 +319,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 +361,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,8 +382,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateTagRequest result = new com.google.cloud.datacatalog.v1.CreateTagRequest(this);
       result.parent_ = parent_;
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
@@ -439,39 +397,38 @@ public com.google.cloud.datacatalog.v1.CreateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -479,8 +436,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_;
         onChanged();
@@ -514,25 +470,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -545,8 +500,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -555,16 +508,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; @@ -573,8 +524,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -583,17 +532,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 { @@ -601,8 +549,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -611,25 +557,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -638,21 +580,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -661,19 +598,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -681,35 +616,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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -720,14 +644,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) { @@ -743,16 +664,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(); onChanged(); @@ -763,20 +682,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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -788,14 +704,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() { if (tagBuilder_ == null) { @@ -809,66 +722,55 @@ 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() { - + onChanged(); 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); } @@ -878,12 +780,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(); } @@ -892,27 +794,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; @@ -927,4 +829,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 3840bdfc9e82..c57692facb2a 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.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -34,16 +16,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.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -52,49 +29,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 65% 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 58c016bd7d43..e81be360d0fa 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,44 +27,38 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,32 +67,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 { @@ -127,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagTemplateFieldId_; /** - * - * *
    * Required. The ID of the tag template field to create.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -139,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -148,15 +119,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.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -167,15 +137,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 { @@ -186,16 +157,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 @@ -203,34 +169,23 @@ 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() { @@ -238,7 +193,6 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -276,7 +231,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; @@ -286,19 +242,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; @@ -325,104 +283,96 @@ 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].
@@ -430,32 +380,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();
@@ -473,14 +424,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();
     }
 
@@ -495,8 +445,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(this);
       result.parent_ = parent_;
       result.tagTemplateFieldId_ = tagTemplateFieldId_;
       if (tagTemplateFieldBuilder_ == null) {
@@ -512,39 +461,38 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -552,9 +500,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_;
         onChanged();
@@ -592,32 +538,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                tagTemplateFieldId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              tagTemplateFieldId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -630,23 +573,19 @@ public Builder mergeFrom(
 
     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; @@ -655,24 +594,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 { @@ -680,70 +616,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -751,8 +674,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplateFieldId_ = ""; /** - * - * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -763,13 +684,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; @@ -778,8 +699,6 @@ public java.lang.String getTagTemplateFieldId() { } } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -790,14 +709,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 { @@ -805,8 +725,6 @@ public com.google.protobuf.ByteString getTagTemplateFieldIdBytes() { } } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -817,22 +735,20 @@ 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) { + public Builder setTagTemplateFieldId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateFieldId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -843,18 +759,15 @@ 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() { - + tagTemplateFieldId_ = getDefaultInstance().getTagTemplateFieldId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -865,16 +778,16 @@ 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) { + public Builder setTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateFieldId_ = value; onChanged(); return this; @@ -882,58 +795,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 tagTemplateFieldBuilder_ != null || 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. */ 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) { @@ -949,15 +843,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) { @@ -971,23 +861,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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); } else { tagTemplateField_ = value; } @@ -999,15 +883,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() { if (tagTemplateFieldBuilder_ == null) { @@ -1021,72 +901,55 @@ 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() { - + onChanged(); 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); } @@ -1096,13 +959,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(); } @@ -1111,27 +973,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; @@ -1146,4 +1008,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 d0f02907ae8e..77f413663821 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.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -67,13 +40,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.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -84,49 +54,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 65% 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 057750ed24d8..ad2b949de54f 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,44 +27,38 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,32 +67,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 { @@ -127,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object tagTemplateId_; /** - * - * *
    * Required. The ID of the tag template to create.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -137,7 +109,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 +117,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.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -163,15 +133,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 { @@ -182,16 +153,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 @@ -199,34 +165,23 @@ 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() { @@ -234,7 +189,6 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -269,7 +224,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_); @@ -282,19 +238,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; @@ -321,104 +279,96 @@ 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].
@@ -426,32 +376,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();
@@ -469,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_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
@@ -490,8 +441,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateTagTemplateRequest result = new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(this);
       result.parent_ = parent_;
       result.tagTemplateId_ = tagTemplateId_;
       if (tagTemplateBuilder_ == null) {
@@ -507,39 +457,38 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -547,8 +496,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_;
         onChanged();
@@ -586,31 +534,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                tagTemplateId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              tagTemplateId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -623,23 +569,19 @@ public Builder mergeFrom(
 
     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; @@ -648,24 +590,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 { @@ -673,70 +612,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -744,8 +670,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagTemplateId_ = ""; /** - * - * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -754,13 +678,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; @@ -769,8 +693,6 @@ public java.lang.String getTagTemplateId() { } } /** - * - * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -779,14 +701,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 { @@ -794,8 +717,6 @@ public com.google.protobuf.ByteString getTagTemplateIdBytes() { } } /** - * - * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -804,22 +725,20 @@ 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) { + public Builder setTagTemplateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -828,18 +747,15 @@ 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() { - + tagTemplateId_ = getDefaultInstance().getTagTemplateId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -848,16 +764,16 @@ 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) { + public Builder setTagTemplateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateId_ = value; onChanged(); return this; @@ -865,58 +781,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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -932,15 +829,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) { @@ -954,23 +847,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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); } else { tagTemplate_ = value; } @@ -982,15 +869,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() { if (tagTemplateBuilder_ == null) { @@ -1004,71 +887,55 @@ 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() { - + onChanged(); 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); } @@ -1078,12 +945,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(); } @@ -1092,27 +959,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; @@ -1127,4 +994,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 1fd828d9af34..4b34158e7fe1 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.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -65,13 +38,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.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -80,49 +50,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 fc2674b1025a..0cd0b79e74ca 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,14 +98,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 @@ -139,25 +110,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.
    * 
@@ -170,7 +134,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -202,7 +166,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; @@ -212,18 +177,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; @@ -248,104 +214,96 @@ 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].
@@ -353,32 +311,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();
@@ -394,9 +353,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
@@ -415,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateTaxonomyRequest result = new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(this);
       result.parent_ = parent_;
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
@@ -431,39 +389,38 @@ public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -471,8 +428,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_;
         onChanged();
@@ -506,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTaxonomyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -561,23 +512,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 { @@ -585,67 +533,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -653,47 +588,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 taxonomyBuilder_ != null || taxonomy_ != null; } /** - * - * *
      * 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.
      * 
@@ -714,15 +636,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(); onChanged(); @@ -733,8 +654,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil return this; } /** - * - * *
      * The taxonomy to create.
      * 
@@ -745,9 +664,7 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomyBuilder_ == null) { if (taxonomy_ != null) { taxonomy_ = - com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial(); } else { taxonomy_ = value; } @@ -759,8 +676,6 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** - * - * *
      * The taxonomy to create.
      * 
@@ -779,8 +694,6 @@ public Builder clearTaxonomy() { return this; } /** - * - * *
      * The taxonomy to create.
      * 
@@ -788,13 +701,11 @@ public Builder clearTaxonomy() { * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; */ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() { - + onChanged(); return getTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * The taxonomy to create.
      * 
@@ -805,14 +716,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.
      * 
@@ -820,24 +728,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); } @@ -847,12 +752,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(); } @@ -861,27 +766,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; @@ -896,4 +801,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 62% 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 3f0e78c59c19..5cfdcad37f6d 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getTaxonomyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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(taxonomy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taxonomy_); } @@ -158,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.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; } @@ -186,103 +160,96 @@ 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.
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.CrossRegionalSource result = new com.google.cloud.datacatalog.v1.CrossRegionalSource(this);
       result.taxonomy_ = taxonomy_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                taxonomy_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              taxonomy_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setTaxonomy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + taxonomy_ = value; 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() { - + taxonomy_ = getDefaultInstance().getTaxonomy(); 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) = { ... } * @param value The bytes for taxonomy to set. * @return This builder for chaining. */ - public Builder setTaxonomyBytes(com.google.protobuf.ByteString value) { + public Builder setTaxonomyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + taxonomy_ = 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); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 6c384ec59f2e..9d7663692791 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,43 +27,39 @@ private DataSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -90,8 +68,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ SERVICE_UNSPECIFIED(0), /** - * - * *
      * Google Cloud Storage service.
      * 
@@ -100,8 +76,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ CLOUD_STORAGE(1), /** - * - * *
      * BigQuery service.
      * 
@@ -113,8 +87,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default unknown service.
      * 
@@ -123,8 +95,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Google Cloud Storage service.
      * 
@@ -133,8 +103,6 @@ public enum Service implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_STORAGE_VALUE = 1; /** - * - * *
      * BigQuery service.
      * 
@@ -143,6 +111,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( @@ -167,49 +136,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; @@ -228,15 +197,12 @@ private Service(int value) { private int propertiesCase_ = 0; 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; } @@ -252,74 +218,58 @@ 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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.DataSource.Service getService() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DataSource.Service result = - com.google.cloud.datacatalog.v1.DataSource.Service.valueOf(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.valueOf(service_); + return result == null ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED : result; } public static final int RESOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object resource_; /** - * - * *
    * Full name of a resource as defined by the service. For example:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; - * * @return The resource. */ @java.lang.Override @@ -328,30 +278,30 @@ 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:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * 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 { @@ -362,14 +312,11 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int SOURCE_ENTRY_FIELD_NUMBER = 3; 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 @@ -378,29 +325,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 { @@ -410,14 +357,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 @@ -425,26 +369,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.
    * 
@@ -452,16 +391,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; @@ -473,9 +410,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_)) { @@ -496,9 +433,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_); @@ -507,9 +444,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; @@ -519,21 +455,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: @@ -568,136 +506,130 @@ 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 +648,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,8 +669,7 @@ 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); + com.google.cloud.datacatalog.v1.DataSource result = new com.google.cloud.datacatalog.v1.DataSource(this); result.service_ = service_; result.resource_ = resource_; result.sourceEntry_ = sourceEntry_; @@ -758,39 +689,38 @@ public com.google.cloud.datacatalog.v1.DataSource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -811,15 +741,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(); @@ -847,38 +775,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - service_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - resource_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - sourceEntry_ = input.readStringRequireUtf8(); - - 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(); + + break; + } // case 8 + case 18: { + resource_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + sourceEntry_ = input.readStringRequireUtf8(); + + 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) { @@ -888,12 +812,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() { @@ -903,69 +827,54 @@ public Builder clearProperties() { return this; } + 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. */ public Builder setServiceValue(int value) { - + service_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DataSource.Service result = - com.google.cloud.datacatalog.v1.DataSource.Service.valueOf(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.valueOf(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. */ @@ -973,24 +882,21 @@ public Builder setService(com.google.cloud.datacatalog.v1.DataSource.Service val if (value == null) { throw new NullPointerException(); } - + service_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = 0; onChanged(); return this; @@ -998,21 +904,19 @@ public Builder clearService() { private java.lang.Object resource_ = ""; /** - * - * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * 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; @@ -1021,22 +925,21 @@ public java.lang.String getResource() { } } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * 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 { @@ -1044,64 +947,57 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -1109,20 +1005,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; @@ -1131,21 +1025,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 { @@ -1153,80 +1046,67 @@ 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) { + public Builder setSourceEntry( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceEntry_ = value; 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() { - + sourceEntry_ = getDefaultInstance().getSourceEntry(); onChanged(); 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) { + public Builder setSourceEntryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceEntry_ = value; onChanged(); return this; } 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 @@ -1234,14 +1114,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 @@ -1259,8 +1136,6 @@ public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() } } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1281,8 +1156,6 @@ public Builder setStorageProperties(com.google.cloud.datacatalog.v1.StoragePrope return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1301,8 +1174,6 @@ public Builder setStorageProperties( return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1311,14 +1182,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; } @@ -1334,8 +1201,6 @@ public Builder mergeStorageProperties(com.google.cloud.datacatalog.v1.StoragePro return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1359,8 +1224,6 @@ public Builder clearStorageProperties() { return this; } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1371,8 +1234,6 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope return getStoragePropertiesFieldBuilder().getBuilder(); } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1380,8 +1241,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 { @@ -1392,8 +1252,6 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope } } /** - * - * *
      * Detailed properties of the underlying storage.
      * 
@@ -1401,32 +1259,26 @@ 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()); properties_ = null; } propertiesCase_ = 4; - onChanged(); - ; + 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); } @@ -1436,12 +1288,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(); } @@ -1450,27 +1302,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; @@ -1485,4 +1337,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 62% 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 34bb2002a9f1..9760f5f94fb1 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,82 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
+ * Only one of internal specs can be set at the time, and cannot
+ * be changed later.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
-   * Fields specific to BigQuery connections.
+   * 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 @@ -84,39 +65,30 @@ public boolean hasBigqueryConnectionSpec() { return bigqueryConnectionSpec_ != null; } /** - * - * *
-   * Fields specific to BigQuery connections.
+   * 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_; } /** - * - * *
-   * Fields specific to BigQuery connections.
+   * Output only. Fields specific to BigQuery connections.
    * 
* * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder - getBigqueryConnectionSpecOrBuilder() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder() { return getBigqueryConnectionSpec(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +100,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryConnectionSpec_ != null) { output.writeMessage(1, getBigqueryConnectionSpec()); } @@ -142,8 +115,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; @@ -153,17 +126,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; @@ -186,137 +159,132 @@ 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.
+   * Only one of internal specs can be set at the time, and cannot
+   * be changed later.
    * 
* * 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(); @@ -330,9 +298,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 @@ -351,8 +319,7 @@ 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); + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result = new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this); if (bigqueryConnectionSpecBuilder_ == null) { result.bigqueryConnectionSpec_ = bigqueryConnectionSpec_; } else { @@ -366,39 +333,38 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -406,8 +372,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()); } @@ -437,20 +402,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryConnectionSpecFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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,58 +427,41 @@ public Builder mergeFrom( 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_; /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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 bigqueryConnectionSpecBuilder_ != null || bigqueryConnectionSpec_ != null; } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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(); } } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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(); @@ -528,14 +475,11 @@ public Builder setBigqueryConnectionSpec( return this; } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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) { @@ -549,24 +493,17 @@ public Builder setBigqueryConnectionSpec( return this; } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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 (bigqueryConnectionSpec_ != null) { bigqueryConnectionSpec_ = - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder( - bigqueryConnectionSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder(bigqueryConnectionSpec_).mergeFrom(value).buildPartial(); } else { bigqueryConnectionSpec_ = value; } @@ -578,14 +515,11 @@ public Builder mergeBigqueryConnectionSpec( return this; } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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() { if (bigqueryConnectionSpecBuilder_ == null) { @@ -599,70 +533,55 @@ public Builder clearBigqueryConnectionSpec() { return this; } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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() { + onChanged(); return getBigqueryConnectionSpecFieldBuilder().getBuilder(); } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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_; } } /** - * - * *
-     * Fields specific to BigQuery connections.
+     * 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); } @@ -672,12 +591,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(); } @@ -686,27 +605,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; @@ -721,4 +640,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 53% 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 533ec79bcd0b..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 { /** - * - * *
-   * Fields specific to BigQuery connections.
+   * 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(); /** - * - * *
-   * Fields specific to BigQuery connections.
+   * 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(); /** - * - * *
-   * Fields specific to BigQuery connections.
+   * 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 c6dadb784e7d..cebed2eccddc 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,132 +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/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:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Full name of a resource as defined by the service. For example:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * 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..1e1bdc5102d1 --- /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\"\234\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\031\n\014source_entry\030\003 \001(\tB\003\340A\003\022L\n\022s" + + "torage_properties\030\004 \001(\0132..google.cloud.d" + + "atacatalog.v1.StoragePropertiesH\000\"C\n\007Ser" + + "vice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_S" + + "TORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n\021" + + "StorageProperties\022\024\n\014file_pattern\030\001 \003(\t\022" + + "\021\n\tfile_type\030\002 \001(\tB\334\001\n\037com.google.cloud." + + "datacatalog.v1B\017DataSourceProtoP\001ZFgoogl" + + "e.golang.org/genproto/googleapis/cloud/d" + + "atacatalog/v1;datacatalog\370\001\001\252\002\033Google.Cl" + + "oud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCa" + + "talog\\V1\352\002\036Google::Cloud::DataCatalog::V" + + "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_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 64% 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 e52880204ca4..789697d3a520 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,59 +11,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -89,8 +67,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Native table.
      * 
@@ -99,8 +75,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ NATIVE(1), /** - * - * *
      * External table.
      * 
@@ -112,8 +86,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default unknown table type.
      * 
@@ -122,8 +94,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Native table.
      * 
@@ -132,8 +102,6 @@ public enum TableType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NATIVE_VALUE = 1; /** - * - * *
      * External table.
      * 
@@ -142,6 +110,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( @@ -166,51 +135,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; @@ -230,53 +197,39 @@ private TableType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.valueOf(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.valueOf(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_; /** - * - * *
-   * Fields specific to a Dataplex table and present only in the Dataplex table
-   * entries.
+   * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataplexTable field is set. */ @java.lang.Override @@ -284,32 +237,25 @@ public boolean hasDataplexTable() { return dataplexTable_ != null; } /** - * - * *
-   * Fields specific to a Dataplex table and present only in the Dataplex table
-   * entries.
+   * 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.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_; } /** - * - * *
-   * Fields specific to a Dataplex table and present only in the Dataplex table
-   * entries.
+   * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder() { @@ -317,7 +263,6 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTab } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,10 +274,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) { @@ -347,13 +291,13 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -363,18 +307,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -399,103 +343,96 @@ 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.
@@ -503,32 +440,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();
@@ -544,9 +482,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
@@ -565,8 +503,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DatabaseTableSpec result = new com.google.cloud.datacatalog.v1.DatabaseTableSpec(this);
       result.type_ = type_;
       if (dataplexTableBuilder_ == null) {
         result.dataplexTable_ = dataplexTable_;
@@ -581,39 +518,38 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -621,8 +557,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());
       }
@@ -655,25 +590,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getDataplexTableFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              type_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getDataplexTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -686,67 +620,51 @@ public Builder mergeFrom(
 
     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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.valueOf(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.valueOf(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. */ @@ -754,24 +672,21 @@ public Builder setType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableTy if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -779,55 +694,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_; /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataplexTable field is set. */ public boolean hasDataplexTable() { return dataplexTableBuilder_ != null || dataplexTable_ != null; } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.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(); } } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.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) { @@ -843,14 +745,12 @@ public Builder setDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableSpe return this; } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDataplexTable( com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder builderForValue) { @@ -864,22 +764,18 @@ public Builder setDataplexTable( return this; } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.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 (dataplexTable_ != null) { dataplexTable_ = - com.google.cloud.datacatalog.v1.DataplexTableSpec.newBuilder(dataplexTable_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.DataplexTableSpec.newBuilder(dataplexTable_).mergeFrom(value).buildPartial(); } else { dataplexTable_ = value; } @@ -891,14 +787,12 @@ public Builder mergeDataplexTable(com.google.cloud.datacatalog.v1.DataplexTableS return this; } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDataplexTable() { if (dataplexTableBuilder_ == null) { @@ -912,68 +806,58 @@ public Builder clearDataplexTable() { return this; } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.datacatalog.v1.DataplexTableSpec.Builder getDataplexTableBuilder() { - + onChanged(); return getDataplexTableFieldBuilder().getBuilder(); } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.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_; } } /** - * - * *
-     * Fields specific to a Dataplex table and present only in the Dataplex table
-     * entries.
+     * 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.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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,12 +867,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(); } @@ -997,27 +881,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; @@ -1032,4 +916,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 56% 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 cad0f49978e8..c5de518ceaf9 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,88 +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/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(); /** - * - * *
-   * Fields specific to a Dataplex table and present only in the Dataplex table
-   * entries.
+   * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the dataplexTable field is set. */ boolean hasDataplexTable(); /** - * - * *
-   * Fields specific to a Dataplex table and present only in the Dataplex table
-   * entries.
+   * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The dataplexTable. */ com.google.cloud.datacatalog.v1.DataplexTableSpec getDataplexTable(); /** - * - * *
-   * Fields specific to a Dataplex table and present only in the Dataplex table
-   * entries.
+   * 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.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTableOrBuilder(); } 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..ac31ea78e87f --- /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,1023 @@ +// 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_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_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_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_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\033google/protobuf/" + + "empty.proto\032 google/protobuf/field_mask." + + "proto\"\205\003\n\024SearchCatalogRequest\022K\n\005scope\030" + + "\006 \001(\01327.google.cloud.datacatalog.v1.Sear" + + "chCatalogRequest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001" + + "(\tB\003\340A\001\022\021\n\tpage_size\030\002 \001(\005\022\027\n\npage_token" + + "\030\003 \001(\tB\003\340A\001\022\020\n\010order_by\030\005 \001(\t\032\315\001\n\005Scope\022" + + "\027\n\017include_org_ids\030\002 \003(\t\022\033\n\023include_proj" + + "ect_ids\030\003 \003(\t\022#\n\033include_gcp_public_data" + + "sets\030\007 \001(\010\022!\n\024restricted_locations\030\020 \003(\t" + + "B\003\340A\001\022\031\n\014starred_only\030\022 \001(\010B\003\340A\001\022+\n\034incl" + + "ude_public_tag_templates\030\023 \001(\010B\005\030\001\340A\001\"\210\001" + + "\n\025SearchCatalogResponse\022A\n\007results\030\001 \003(\013" + + "20.google.cloud.datacatalog.v1.SearchCat" + + "alogResult\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013u" + + "nreachable\030\006 \003(\t\"\263\001\n\027CreateEntryGroupReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" + + "g.googleapis.com/EntryGroup\022\033\n\016entry_gro" + + "up_id\030\003 \001(\tB\003\340A\002\022<\n\013entry_group\030\002 \001(\0132\'." + + "google.cloud.datacatalog.v1.EntryGroup\"\215" + + "\001\n\027UpdateEntryGroupRequest\022A\n\013entry_grou" + + "p\030\001 \001(\0132\'.google.cloud.datacatalog.v1.En" + + "tryGroupB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMask\"\202\001\n\024GetEntryGroup" + + "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatal" + + "og.googleapis.com/EntryGroup\022-\n\tread_mas" + + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"j\n\027D" + + "eleteEntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A" + + "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" + + "oup\022\022\n\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGro" + + "upsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%data" + + "catalog.googleapis.com/EntryGroup\022\026\n\tpag" + + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" + + "A\001\"q\n\027ListEntryGroupsResponse\022=\n\014entry_g" + + "roups\030\001 \003(\0132\'.google.cloud.datacatalog.v" + + "1.EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\242\001" + + "\n\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" + + "oup\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\0226\n\005entry\030\002 \001(" + + "\0132\".google.cloud.datacatalog.v1.EntryB\003\340" + + "A\002\"}\n\022UpdateEntryRequest\0226\n\005entry\030\001 \001(\0132" + + "\".google.cloud.datacatalog.v1.EntryB\003\340A\002" + + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMask\"L\n\022DeleteEntryRequest\0226\n\004name\030" + + "\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleapis.co" + + "m/Entry\"I\n\017GetEntryRequest\0226\n\004name\030\001 \001(\t" + + "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + + "ry\"v\n\022LookupEntryRequest\022\031\n\017linked_resou" + + "rce\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000\022\036\n\024f" + + "ully_qualified_name\030\005 \001(\tH\000B\r\n\013target_na" + + "me\"\322\014\n\005Entry\022;\n\004name\030\001 \001(\tB-\340A\003\372A\'\n%data" + + "catalog.googleapis.com/EntryGroup\022\027\n\017lin" + + "ked_resource\030\t \001(\t\022\034\n\024fully_qualified_na" + + "me\030\035 \001(\t\0226\n\004type\030\002 \001(\0162&.google.cloud.da" + + "tacatalog.v1.EntryTypeH\000\022\035\n\023user_specifi" + + "ed_type\030\020 \001(\tH\000\022O\n\021integrated_system\030\021 \001" + + "(\0162-.google.cloud.datacatalog.v1.Integra" + + "tedSystemB\003\340A\003H\001\022\037\n\025user_specified_syste" + + "m\030\022 \001(\tH\001\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.go" + + "ogle.cloud.datacatalog.v1.GcsFilesetSpec" + + "H\002\022R\n\023bigquery_table_spec\030\014 \001(\0132..google" + + ".cloud.datacatalog.v1.BigQueryTableSpecB" + + "\003\340A\003H\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" + + "(\01324.google.cloud.datacatalog.v1.BigQuer" + + "yDateShardedSpecB\003\340A\003H\002\022M\n\023database_tabl" + + "e_spec\030\030 \001(\0132..google.cloud.datacatalog." + + "v1.DatabaseTableSpecH\003\022\\\n\033data_source_co" + + "nnection_spec\030\033 \001(\01325.google.cloud.datac" + + "atalog.v1.DataSourceConnectionSpecH\003\022@\n\014" + + "routine_spec\030\034 \001(\0132(.google.cloud.dataca" + + "talog.v1.RoutineSpecH\003\022@\n\014fileset_spec\030!" + + " \001(\0132(.google.cloud.datacatalog.v1.Files" + + "etSpecH\003\022\024\n\014display_name\030\003 \001(\t\022\023\n\013descri" + + "ption\030\004 \001(\t\022F\n\020business_context\030% \001(\0132,." + + "google.cloud.datacatalog.v1.BusinessCont" + + "ext\0223\n\006schema\030\005 \001(\0132#.google.cloud.datac" + + "atalog.v1.Schema\022O\n\030source_system_timest" + + "amps\030\007 \001(\0132-.google.cloud.datacatalog.v1" + + ".SystemTimestamps\022>\n\014usage_signal\030\r \001(\0132" + + "(.google.cloud.datacatalog.v1.UsageSigna" + + "l\022>\n\006labels\030\016 \003(\0132..google.cloud.datacat" + + "alog.v1.Entry.LabelsEntry\022A\n\013data_source" + + "\030\024 \001(\0132\'.google.cloud.datacatalog.v1.Dat" + + "aSourceB\003\340A\003\022K\n\020personal_details\030\032 \001(\0132," + + ".google.cloud.datacatalog.v1.PersonalDet" + + "ailsB\003\340A\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.googl" + + "eapis.com/Entry\022Qprojects/{project}/loca" + + "tions/{location}/entryGroups/{entry_grou" + + "p}/entries/{entry}B\014\n\nentry_typeB\010\n\006syst" + + "emB\013\n\ttype_specB\006\n\004spec\"\353\001\n\021DatabaseTabl" + + "eSpec\022F\n\004type\030\001 \001(\01628.google.cloud.datac" + + "atalog.v1.DatabaseTableSpec.TableType\022K\n" + + "\016dataplex_table\030\002 \001(\0132..google.cloud.dat" + + "acatalog.v1.DataplexTableSpecB\003\340A\003\"A\n\tTa" + + "bleType\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006N" + + "ATIVE\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020" + + "dataplex_fileset\030\001 \001(\01320.google.cloud.da" + + "tacatalog.v1.DataplexFilesetSpec\"q\n\030Data" + + "SourceConnectionSpec\022U\n\030bigquery_connect" + + "ion_spec\030\001 \001(\01323.google.cloud.datacatalo" + + "g.v1.BigQueryConnectionSpec\"\303\004\n\013RoutineS" + + "pec\022J\n\014routine_type\030\001 \001(\01624.google.cloud" + + ".datacatalog.v1.RoutineSpec.RoutineType\022" + + "\020\n\010language\030\002 \001(\t\022L\n\021routine_arguments\030\003" + + " \003(\01321.google.cloud.datacatalog.v1.Routi" + + "neSpec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017" + + "definition_body\030\005 \001(\t\022Q\n\025bigquery_routin" + + "e_spec\030\006 \001(\01320.google.cloud.datacatalog." + + "v1.BigQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n" + + "\004name\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud" + + ".datacatalog.v1.RoutineSpec.Argument.Mod" + + "e\022\014\n\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIF" + + "IED\020\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Rou" + + "tineType\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023" + + "\n\017SCALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013sy" + + "stem_spec\"\216\001\n\017BusinessContext\022B\n\016entry_o" + + "verview\030\001 \001(\0132*.google.cloud.datacatalog" + + ".v1.EntryOverview\0227\n\010contacts\030\002 \001(\0132%.go" + + "ogle.cloud.datacatalog.v1.Contacts\"!\n\rEn" + + "tryOverview\022\020\n\010overview\030\001 \001(\t\"v\n\010Contact" + + "s\022<\n\006people\030\001 \003(\0132,.google.cloud.datacat" + + "alog.v1.Contacts.Person\032,\n\006Person\022\023\n\013des" + + "ignation\030\001 \001(\t\022\r\n\005email\030\002 \001(\t\"\211\002\n\nEntryG" + + "roup\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\022S\n\027data_catalog_ti" + + "mestamps\030\004 \001(\0132-.google.cloud.datacatalo" + + "g.v1.SystemTimestampsB\003\340A\003:m\352Aj\n%datacat" + + "alog.googleapis.com/EntryGroup\022Aprojects" + + "/{project}/locations/{location}/entryGro" + + "ups/{entry_group}\"\275\001\n\030CreateTagTemplateR" + + "equest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&datacata" + + "log.googleapis.com/TagTemplate\022\034\n\017tag_te" + + "mplate_id\030\003 \001(\tB\003\340A\002\022C\n\014tag_template\030\002 \001" + + "(\0132(.google.cloud.datacatalog.v1.TagTemp" + + "lateB\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004na" + + "me\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis" + + ".com/TagTemplate\"\220\001\n\030UpdateTagTemplateRe" + + "quest\022C\n\014tag_template\030\001 \001(\0132(.google.clo" + + "ud.datacatalog.v1.TagTemplateB\003\340A\002\022/\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" + + "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" + + "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"~\n\020Cre" + + "ateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036d" + + "atacatalog.googleapis.com/Tag\0222\n\003tag\030\002 \001" + + "(\0132 .google.cloud.datacatalog.v1.TagB\003\340A" + + "\002\"w\n\020UpdateTagRequest\0222\n\003tag\030\001 \001(\0132 .goo" + + "gle.cloud.datacatalog.v1.TagB\003\340A\002\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"H\n\020DeleteTagRequest\0224\n\004name\030\001 \001(\tB&\340A" + + "\002\372A \022\036datacatalog.googleapis.com/Tag\"\323\001\n" + + "\035CreateTagTemplateFieldRequest\022>\n\006parent" + + "\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.c" + + "om/TagTemplate\022\"\n\025tag_template_field_id\030" + + "\002 \001(\tB\003\340A\002\022N\n\022tag_template_field\030\003 \001(\0132-" + + ".google.cloud.datacatalog.v1.TagTemplate" + + "FieldB\003\340A\002\"\350\001\n\035UpdateTagTemplateFieldReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog." + + "googleapis.com/TagTemplateField\022N\n\022tag_t" + + "emplate_field\030\002 \001(\0132-.google.cloud.datac" + + "atalog.v1.TagTemplateFieldB\003\340A\002\0224\n\013updat" + + "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\001\"\212\001\n\035RenameTagTemplateFieldRequest\022" + + "A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.googl" + + "eapis.com/TagTemplateField\022&\n\031new_tag_te" + + "mplate_field_id\030\002 \001(\tB\003\340A\002\"\236\001\n&RenameTag" + + "TemplateFieldEnumValueRequest\022J\n\004name\030\001 " + + "\001(\tB<\340A\002\372A6\n4datacatalog.googleapis.com/" + + "TagTemplateFieldEnumValue\022(\n\033new_enum_va" + + "lue_display_name\030\002 \001(\tB\003\340A\002\"v\n\035DeleteTag" + + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022\022\n\005force\030\002 \001(\010B\003\340A\002\"p\n\017ListTagsR" + + "equest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036datacata" + + "log.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001(" + + "\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespons" + + "e\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacatal" + + "og.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\251\001\n\022L" + + "istEntriesRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A" + + "\'\n%datacatalog.googleapis.com/EntryGroup" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + + "-\n\tread_mask\030\004 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"c\n\023ListEntriesResponse\0223\n\007entries" + + "\030\001 \003(\0132\".google.cloud.datacatalog.v1.Ent" + + "ry\022\027\n\017next_page_token\030\002 \001(\t\"J\n\020StarEntry" + + "Request\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatal" + + "og.googleapis.com/Entry\"\023\n\021StarEntryResp" + + "onse\"L\n\022UnstarEntryRequest\0226\n\004name\030\001 \001(\t" + + "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + + "ry\"\025\n\023UnstarEntryResponse\"\235\001\n\032ModifyEntr" + + "yOverviewRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + + "datacatalog.googleapis.com/Entry\022G\n\016entr" + + "y_overview\030\002 \001(\0132*.google.cloud.datacata" + + "log.v1.EntryOverviewB\003\340A\002\"\222\001\n\032ModifyEntr" + + "yContactsRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + + "datacatalog.googleapis.com/Entry\022<\n\010cont" + + "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" + + ".ContactsB\003\340A\002*\300\001\n\tEntryType\022\032\n\026ENTRY_TY" + + "PE_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\004\022\013\n\007CLUSTER\020" + + "\006\022\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTIO" + + "N\020\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007" + + "SERVICE\020\0162\3617\n\013DataCatalog\022\243\001\n\rSearchCata" + + "log\0221.google.cloud.datacatalog.v1.Search" + + "CatalogRequest\0322.google.cloud.datacatalo" + + "g.v1.SearchCatalogResponse\"+\202\323\344\223\002\027\"\022/v1/" + + "catalog:search:\001*\332A\013scope,query\022\333\001\n\020Crea" + + "teEntryGroup\0224.google.cloud.datacatalog." + + "v1.CreateEntryGroupRequest\032\'.google.clou" + + "d.datacatalog.v1.EntryGroup\"h\202\323\344\223\002>\"//v1" + + "/{parent=projects/*/locations/*}/entryGr" + + "oups:\013entry_group\332A!parent,entry_group_i" + + "d,entry_group\022\274\001\n\rGetEntryGroup\0221.google" + + ".cloud.datacatalog.v1.GetEntryGroupReque" + + "st\032\'.google.cloud.datacatalog.v1.EntryGr" + + "oup\"O\202\323\344\223\0021\022//v1/{name=projects/*/locati" + + "ons/*/entryGroups/*}\332A\004name\332A\016name,read_" + + "mask\022\353\001\n\020UpdateEntryGroup\0224.google.cloud" + + ".datacatalog.v1.UpdateEntryGroupRequest\032" + + "\'.google.cloud.datacatalog.v1.EntryGroup" + + "\"x\202\323\344\223\002J2;/v1/{entry_group.name=projects" + + "/*/locations/*/entryGroups/*}:\013entry_gro" + + "up\332A\013entry_group\332A\027entry_group,update_ma" + + "sk\022\240\001\n\020DeleteEntryGroup\0224.google.cloud.d" + + "atacatalog.v1.DeleteEntryGroupRequest\032\026." + + "google.protobuf.Empty\">\202\323\344\223\0021*//v1/{name" + + "=projects/*/locations/*/entryGroups/*}\332A" + + "\004name\022\276\001\n\017ListEntryGroups\0223.google.cloud" + + ".datacatalog.v1.ListEntryGroupsRequest\0324" + + ".google.cloud.datacatalog.v1.ListEntryGr" + + "oupsResponse\"@\202\323\344\223\0021\022//v1/{parent=projec" + + "ts/*/locations/*}/entryGroups\332A\006parent\022\304" + + "\001\n\013CreateEntry\022/.google.cloud.datacatalo" + + "g.v1.CreateEntryRequest\032\".google.cloud.d" + + "atacatalog.v1.Entry\"`\202\323\344\223\002B\"9/v1/{parent" + + "=projects/*/locations/*/entryGroups/*}/e" + + "ntries:\005entry\332A\025parent,entry_id,entry\022\316\001" + + "\n\013UpdateEntry\022/.google.cloud.datacatalog" + + ".v1.UpdateEntryRequest\032\".google.cloud.da" + + "tacatalog.v1.Entry\"j\202\323\344\223\002H2?/v1/{entry.n" + + "ame=projects/*/locations/*/entryGroups/*" + + "/entries/*}:\005entry\332A\005entry\332A\021entry,updat" + + "e_mask\022\240\001\n\013DeleteEntry\022/.google.cloud.da" + + "tacatalog.v1.DeleteEntryRequest\032\026.google" + + ".protobuf.Empty\"H\202\323\344\223\002;*9/v1/{name=proje" + + "cts/*/locations/*/entryGroups/*/entries/" + + "*}\332A\004name\022\246\001\n\010GetEntry\022,.google.cloud.da" + + "tacatalog.v1.GetEntryRequest\032\".google.cl" + + "oud.datacatalog.v1.Entry\"H\202\323\344\223\002;\0229/v1/{n" + + "ame=projects/*/locations/*/entryGroups/*" + + "/entries/*}\332A\004name\022~\n\013LookupEntry\022/.goog" + + "le.cloud.datacatalog.v1.LookupEntryReque" + + "st\032\".google.cloud.datacatalog.v1.Entry\"\032" + + "\202\323\344\223\002\024\022\022/v1/entries:lookup\022\274\001\n\013ListEntri" + + "es\022/.google.cloud.datacatalog.v1.ListEnt" + + "riesRequest\0320.google.cloud.datacatalog.v" + + "1.ListEntriesResponse\"J\202\323\344\223\002;\0229/v1/{pare" + + "nt=projects/*/locations/*/entryGroups/*}" + + "/entries\332A\006parent\022\324\001\n\023ModifyEntryOvervie" + + "w\0227.google.cloud.datacatalog.v1.ModifyEn" + + "tryOverviewRequest\032*.google.cloud.dataca" + + "talog.v1.EntryOverview\"X\202\323\344\223\002R\"M/v1/{nam" + + "e=projects/*/locations/*/entryGroups/*/e" + + "ntries/*}:modifyEntryOverview:\001*\022\317\001\n\023Mod" + + "ifyEntryContacts\0227.google.cloud.datacata" + + "log.v1.ModifyEntryContactsRequest\032%.goog" + + "le.cloud.datacatalog.v1.Contacts\"X\202\323\344\223\002R" + + "\"M/v1/{name=projects/*/locations/*/entry" + + "Groups/*/entries/*}:modifyEntryContacts:" + + "\001*\022\342\001\n\021CreateTagTemplate\0225.google.cloud." + + "datacatalog.v1.CreateTagTemplateRequest\032" + + "(.google.cloud.datacatalog.v1.TagTemplat" + + "e\"l\202\323\344\223\002@\"0/v1/{parent=projects/*/locati" + + "ons/*}/tagTemplates:\014tag_template\332A#pare" + + "nt,tag_template_id,tag_template\022\257\001\n\016GetT" + + "agTemplate\0222.google.cloud.datacatalog.v1" + + ".GetTagTemplateRequest\032(.google.cloud.da" + + "tacatalog.v1.TagTemplate\"?\202\323\344\223\0022\0220/v1/{n" + + "ame=projects/*/locations/*/tagTemplates/" + + "*}\332A\004name\022\363\001\n\021UpdateTagTemplate\0225.google" + + ".cloud.datacatalog.v1.UpdateTagTemplateR" + + "equest\032(.google.cloud.datacatalog.v1.Tag" + + "Template\"}\202\323\344\223\002M2=/v1/{tag_template.name" + + "=projects/*/locations/*/tagTemplates/*}:" + + "\014tag_template\332A\014tag_template\332A\030tag_templ" + + "ate,update_mask\022\251\001\n\021DeleteTagTemplate\0225." + + "google.cloud.datacatalog.v1.DeleteTagTem" + + "plateRequest\032\026.google.protobuf.Empty\"E\202\323" + + "\344\223\0022*0/v1/{name=projects/*/locations/*/t" + + "agTemplates/*}\332A\nname,force\022\215\002\n\026CreateTa" + + "gTemplateField\022:.google.cloud.datacatalo" + + "g.v1.CreateTagTemplateFieldRequest\032-.goo" + + "gle.cloud.datacatalog.v1.TagTemplateFiel" + + "d\"\207\001\202\323\344\223\002O\"9/v1/{parent=projects/*/locat" + + "ions/*/tagTemplates/*}/fields:\022tag_templ" + + "ate_field\332A/parent,tag_template_field_id" + + ",tag_template_field\022\233\002\n\026UpdateTagTemplat" + + "eField\022:.google.cloud.datacatalog.v1.Upd" + + "ateTagTemplateFieldRequest\032-.google.clou" + + "d.datacatalog.v1.TagTemplateField\"\225\001\202\323\344\223" + + "\002O29/v1/{name=projects/*/locations/*/tag" + + "Templates/*/fields/*}:\022tag_template_fiel" + + "d\332A\027name,tag_template_field\332A#name,tag_t" + + "emplate_field,update_mask\022\361\001\n\026RenameTagT" + + "emplateField\022:.google.cloud.datacatalog." + + "v1.RenameTagTemplateFieldRequest\032-.googl" + + "e.cloud.datacatalog.v1.TagTemplateField\"" + + "l\202\323\344\223\002E\"@/v1/{name=projects/*/locations/" + + "*/tagTemplates/*/fields/*}:rename:\001*\332A\036n" + + "ame,new_tag_template_field_id\022\222\002\n\037Rename" + + "TagTemplateFieldEnumValue\022C.google.cloud" + + ".datacatalog.v1.RenameTagTemplateFieldEn" + + "umValueRequest\032-.google.cloud.datacatalo" + + "g.v1.TagTemplateField\"{\202\323\344\223\002R\"M/v1/{name" + + "=projects/*/locations/*/tagTemplates/*/f" + + "ields/*/enumValues/*}:rename:\001*\332A name,n" + + "ew_enum_value_display_name\022\274\001\n\026DeleteTag" + + "TemplateField\022:.google.cloud.datacatalog" + + ".v1.DeleteTagTemplateFieldRequest\032\026.goog" + + "le.protobuf.Empty\"N\202\323\344\223\002;*9/v1/{name=pro" + + "jects/*/locations/*/tagTemplates/*/field" + + "s/*}\332A\nname,force\022\371\001\n\tCreateTag\022-.google" + + ".cloud.datacatalog.v1.CreateTagRequest\032 " + + ".google.cloud.datacatalog.v1.Tag\"\232\001\202\323\344\223\002" + + "\206\001\"@/v1/{parent=projects/*/locations/*/e" + + "ntryGroups/*/entries/*}/tags:\003tagZ=\"6/v1" + + "/{parent=projects/*/locations/*/entryGro" + + "ups/*}/tags:\003tag\332A\nparent,tag\022\214\002\n\tUpdate" + + "Tag\022-.google.cloud.datacatalog.v1.Update" + + "TagRequest\032 .google.cloud.datacatalog.v1" + + ".Tag\"\255\001\202\323\344\223\002\216\0012D/v1/{tag.name=projects/*" + + "/locations/*/entryGroups/*/entries/*/tag" + + "s/*}:\003tagZA2:/v1/{tag.name=projects/*/lo" + + "cations/*/entryGroups/*/tags/*}:\003tag\332A\003t" + + "ag\332A\017tag,update_mask\022\336\001\n\tDeleteTag\022-.goo" + + "gle.cloud.datacatalog.v1.DeleteTagReques" + + "t\032\026.google.protobuf.Empty\"\211\001\202\323\344\223\002|*@/v1/" + + "{name=projects/*/locations/*/entryGroups" + + "/*/entries/*/tags/*}Z8*6/v1/{name=projec" + + "ts/*/locations/*/entryGroups/*/tags/*}\332A" + + "\004name\022\365\001\n\010ListTags\022,.google.cloud.dataca" + + "talog.v1.ListTagsRequest\032-.google.cloud." + + "datacatalog.v1.ListTagsResponse\"\213\001\202\323\344\223\002|" + + "\022@/v1/{parent=projects/*/locations/*/ent" + + "ryGroups/*/entries/*}/tagsZ8\0226/v1/{paren" + + "t=projects/*/locations/*/entryGroups/*}/" + + "tags\332A\006parent\022\274\001\n\tStarEntry\022-.google.clo" + + "ud.datacatalog.v1.StarEntryRequest\032..goo" + + "gle.cloud.datacatalog.v1.StarEntryRespon" + + "se\"P\202\323\344\223\002C\">/v1/{name=projects/*/locatio" + + "ns/*/entryGroups/*/entries/*}:star:\001*\332A\004" + + "name\022\304\001\n\013UnstarEntry\022/.google.cloud.data" + + "catalog.v1.UnstarEntryRequest\0320.google.c" + + "loud.datacatalog.v1.UnstarEntryResponse\"" + + "R\202\323\344\223\002E\"@/v1/{name=projects/*/locations/" + + "*/entryGroups/*/entries/*}:unstar:\001*\332A\004n" + + "ame\022\362\001\n\014SetIamPolicy\022\".google.iam.v1.Set" + + "IamPolicyRequest\032\025.google.iam.v1.Policy\"" + + "\246\001\202\323\344\223\002\215\001\"A/v1/{resource=projects/*/loca" + + "tions/*/tagTemplates/*}:setIamPolicy:\001*Z" + + "E\"@/v1/{resource=projects/*/locations/*/" + + "entryGroups/*}:setIamPolicy:\001*\332A\017resourc" + + "e,policy\022\274\002\n\014GetIamPolicy\022\".google.iam.v" + + "1.GetIamPolicyRequest\032\025.google.iam.v1.Po" + + "licy\"\360\001\202\323\344\223\002\336\001\"A/v1/{resource=projects/*" + + "/locations/*/tagTemplates/*}:getIamPolic" + + "y:\001*ZE\"@/v1/{resource=projects/*/locatio" + + "ns/*/entryGroups/*}:getIamPolicy:\001*ZO\"J/" + + "v1/{resource=projects/*/locations/*/entr" + + "yGroups/*/entries/*}:getIamPolicy:\001*\332A\010r" + + "esource\022\343\002\n\022TestIamPermissions\022(.google." + + "iam.v1.TestIamPermissionsRequest\032).googl" + + "e.iam.v1.TestIamPermissionsResponse\"\367\001\202\323" + + "\344\223\002\360\001\"G/v1/{resource=projects/*/location" + + "s/*/tagTemplates/*}:testIamPermissions:\001" + + "*ZK\"F/v1/{resource=projects/*/locations/" + + "*/entryGroups/*}:testIamPermissions:\001*ZU" + + "\"P/v1/{resource=projects/*/locations/*/e" + + "ntryGroups/*/entries/*}:testIamPermissio" + + "ns:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + + "ttps://www.googleapis.com/auth/cloud-pla", + "tformB\217\003\n\037com.google.cloud.datacatalog.v" + + "1P\001ZFgoogle.golang.org/genproto/googleap" + + "is/cloud/datacatalog/v1;datacatalog\370\001\001\252\002" + + "\033Google.Cloud.DataCatalog.V1\312\002\033Google\\Cl" + + "oud\\DataCatalog\\V1\352\002\036Google::Cloud::Data" + + "Catalog::V1\352A\300\001\n4datacatalog.googleapis." + + "com/TagTemplateFieldEnumValue\022\207\001projects" + + "/{project}/locations/{location}/tagTempl" + + "ates/{tag_template}/fields/{tag_template" + + "_field_id}/enumValues/{enum_value_displa" + + "y_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.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.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.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", "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", "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", "GcsFilesetSpec", "BigqueryTableSpec", "BigqueryDateShardedSpec", "DatabaseTableSpec", "DataSourceConnectionSpec", "RoutineSpec", "FilesetSpec", "DisplayName", "Description", "BusinessContext", "Schema", "SourceSystemTimestamps", "UsageSignal", "Labels", "DataSource", "PersonalDetails", "EntryType", "System", "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", }); + 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_BusinessContext_descriptor = + getDescriptor().getMessageTypes().get(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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_ListEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + 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(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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_ModifyEntryOverviewRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + 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(43); + 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); + 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.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/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 69% 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 705b40de462f..a63a370c7ca8 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,77 +34,64 @@ private DataplexExternalTable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataplexExternalTable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf(system_); + com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf(system_); return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 28; 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 @@ -131,29 +100,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 { @@ -164,14 +133,11 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { public static final int GOOGLE_CLOUD_RESOURCE_FIELD_NUMBER = 3; 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 @@ -180,29 +146,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 { @@ -213,14 +179,11 @@ public com.google.protobuf.ByteString getGoogleCloudResourceBytes() { public static final int DATA_CATALOG_ENTRY_FIELD_NUMBER = 4; 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 +192,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 +223,6 @@ public com.google.protobuf.ByteString getDataCatalogEntryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,10 +234,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 +257,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 +278,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 +317,96 @@ 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 +419,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();
@@ -506,9 +461,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
@@ -527,8 +482,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DataplexExternalTable result = new com.google.cloud.datacatalog.v1.DataplexExternalTable(this);
       result.system_ = system_;
       result.fullyQualifiedName_ = fullyQualifiedName_;
       result.googleCloudResource_ = googleCloudResource_;
@@ -541,39 +495,38 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -581,8 +534,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());
       }
@@ -624,37 +576,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                system_ = input.readEnum();
+            case 8: {
+              system_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 26:
-              {
-                googleCloudResource_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 26: {
+              googleCloudResource_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                dataCatalogEntry_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              dataCatalogEntry_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 226:
-              {
-                fullyQualifiedName_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 226: {
+              fullyQualifiedName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 226
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -667,67 +614,51 @@ public Builder mergeFrom(
 
     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. */ public Builder setSystemValue(int value) { - + system_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf(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.valueOf(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. */ @@ -735,24 +666,21 @@ public Builder setSystem(com.google.cloud.datacatalog.v1.IntegratedSystem value) if (value == null) { throw new NullPointerException(); } - + system_ = value.getNumber(); onChanged(); 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() { - + system_ = 0; onChanged(); return this; @@ -760,20 +688,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; @@ -782,21 +708,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 { @@ -804,61 +729,54 @@ 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) { + public Builder setFullyQualifiedName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullyQualifiedName_ = value; onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { - + fullyQualifiedName_ = getDefaultInstance().getFullyQualifiedName(); onChanged(); 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) { + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullyQualifiedName_ = value; onChanged(); return this; @@ -866,20 +784,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; @@ -888,21 +804,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 { @@ -910,61 +825,54 @@ 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) { + public Builder setGoogleCloudResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + googleCloudResource_ = value; onChanged(); return this; } /** - * - * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; - * * @return This builder for chaining. */ public Builder clearGoogleCloudResource() { - + googleCloudResource_ = getDefaultInstance().getGoogleCloudResource(); onChanged(); 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) { + public Builder setGoogleCloudResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleCloudResource_ = value; onChanged(); return this; @@ -972,20 +880,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; @@ -994,21 +900,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 { @@ -1016,68 +921,61 @@ 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) { + public Builder setDataCatalogEntry( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataCatalogEntry_ = value; 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() { - + dataCatalogEntry_ = getDefaultInstance().getDataCatalogEntry(); onChanged(); 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) { + public Builder setDataCatalogEntryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataCatalogEntry_ = 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); } @@ -1087,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(); } @@ -1101,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; @@ -1136,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 66% 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 4904eb51c9d8..086253194131 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,81 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -114,7 +86,6 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dataplexSpec_ != null) { output.writeMessage(1, getDataplexSpec()); } @@ -140,7 +112,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; @@ -150,17 +123,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; @@ -183,135 +156,129 @@ 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(); @@ -325,9 +292,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 @@ -346,8 +313,7 @@ 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); + com.google.cloud.datacatalog.v1.DataplexFilesetSpec result = new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(this); if (dataplexSpecBuilder_ == null) { result.dataplexSpec_ = dataplexSpec_; } else { @@ -361,39 +327,38 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -401,8 +366,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()); } @@ -432,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getDataplexSpecFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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,47 +421,34 @@ public Builder mergeFrom( 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 dataplexSpecBuilder_ != null || dataplexSpec_ != null; } /** - * - * *
      * 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.
      * 
@@ -518,8 +469,6 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -538,8 +487,6 @@ public Builder setDataplexSpec( return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -550,9 +497,7 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va if (dataplexSpecBuilder_ == null) { if (dataplexSpec_ != null) { dataplexSpec_ = - com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_).mergeFrom(value).buildPartial(); } else { dataplexSpec_ = value; } @@ -564,8 +509,6 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -584,8 +527,6 @@ public Builder clearDataplexSpec() { return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -593,13 +534,11 @@ public Builder clearDataplexSpec() { * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; */ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuilder() { - + onChanged(); return getDataplexSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -610,14 +549,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.
      * 
@@ -625,24 +561,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); } @@ -652,12 +585,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(); } @@ -666,27 +599,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; @@ -701,4 +634,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 f9241aee7128..4e0d31c7e4a6 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,35 +27,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset = 1; - * * @return The asset. */ @java.lang.Override @@ -90,15 +68,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
@@ -106,15 +83,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 { @@ -125,14 +103,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 @@ -140,25 +115,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.
    * 
@@ -173,14 +141,11 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu public static final int COMPRESSION_FORMAT_FIELD_NUMBER = 3; 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 @@ -189,29 +154,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 { @@ -222,8 +187,6 @@ public com.google.protobuf.ByteString getCompressionFormatBytes() { public static final int PROJECT_ID_FIELD_NUMBER = 4; 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 /
@@ -231,7 +194,6 @@ public com.google.protobuf.ByteString getCompressionFormatBytes() {
    * 
* * string project_id = 4; - * * @return The projectId. */ @java.lang.Override @@ -240,15 +202,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 /
@@ -256,15 +217,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 { @@ -273,7 +235,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -311,7 +273,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_); @@ -327,21 +290,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; } @@ -368,136 +334,130 @@ 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 +477,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,8 +498,7 @@ 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); + com.google.cloud.datacatalog.v1.DataplexSpec result = new com.google.cloud.datacatalog.v1.DataplexSpec(this); result.asset_ = asset_; if (dataFormatBuilder_ == null) { result.dataFormat_ = dataFormat_; @@ -556,39 +515,38 @@ public com.google.cloud.datacatalog.v1.DataplexSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -638,37 +596,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - asset_ = input.readStringRequireUtf8(); + case 10: { + asset_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getDataFormatFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getDataFormatFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - compressionFormat_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + compressionFormat_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - projectId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -681,8 +636,6 @@ public Builder mergeFrom( 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
@@ -690,13 +643,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; @@ -705,8 +658,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
@@ -714,14 +665,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 { @@ -729,8 +681,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
@@ -738,22 +688,20 @@ 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) { + public Builder setAsset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + asset_ = value; 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
@@ -761,18 +709,15 @@ public Builder setAsset(java.lang.String value) {
      * 
* * string asset = 1; - * * @return This builder for chaining. */ public Builder clearAsset() { - + asset_ = getDefaultInstance().getAsset(); 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
@@ -780,16 +725,16 @@ 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) { + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + asset_ = value; onChanged(); return this; @@ -797,47 +742,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 dataFormatBuilder_ != null || dataFormat_ != null; } /** - * - * *
      * 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.
      * 
@@ -858,8 +790,6 @@ public Builder setDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema valu return this; } /** - * - * *
      * Format of the data.
      * 
@@ -878,8 +808,6 @@ public Builder setDataFormat( return this; } /** - * - * *
      * Format of the data.
      * 
@@ -890,9 +818,7 @@ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema va if (dataFormatBuilder_ == null) { if (dataFormat_ != null) { dataFormat_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.newBuilder(dataFormat_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.PhysicalSchema.newBuilder(dataFormat_).mergeFrom(value).buildPartial(); } else { dataFormat_ = value; } @@ -904,8 +830,6 @@ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema va return this; } /** - * - * *
      * Format of the data.
      * 
@@ -924,8 +848,6 @@ public Builder clearDataFormat() { return this; } /** - * - * *
      * Format of the data.
      * 
@@ -933,13 +855,11 @@ public Builder clearDataFormat() { * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; */ public com.google.cloud.datacatalog.v1.PhysicalSchema.Builder getDataFormatBuilder() { - + onChanged(); return getDataFormatFieldBuilder().getBuilder(); } /** - * - * *
      * Format of the data.
      * 
@@ -950,14 +870,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.
      * 
@@ -965,17 +882,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_; @@ -983,20 +897,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; @@ -1005,21 +917,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 { @@ -1027,61 +938,54 @@ 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) { + public Builder setCompressionFormat( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compressionFormat_ = value; 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() { - + compressionFormat_ = getDefaultInstance().getCompressionFormat(); onChanged(); 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) { + public Builder setCompressionFormatBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compressionFormat_ = value; onChanged(); return this; @@ -1089,8 +993,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 /
@@ -1098,13 +1000,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; @@ -1113,8 +1015,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 /
@@ -1122,14 +1022,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 { @@ -1137,8 +1038,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 /
@@ -1146,22 +1045,20 @@ 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) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; 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 /
@@ -1169,18 +1066,15 @@ public Builder setProjectId(java.lang.String value) {
      * 
* * string project_id = 4; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); 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 /
@@ -1188,23 +1082,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) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1214,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(); } @@ -1228,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; @@ -1263,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..fd49f4c590c2 --- /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,108 @@ +// 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\336\001\n\037com.google.cloud.datacat" + + "alog.v1B\021DataplexSpecProtoP\001ZFgoogle.gol" + + "ang.org/genproto/googleapis/cloud/dataca" + + "talog/v1;datacatalog\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.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 34a363c0cd14..45c0f6c27cf0 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,77 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List externalTables_; /** - * - * *
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -81,13 +60,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.
@@ -97,13 +73,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 +91,6 @@ public int getExternalTablesCount() {
     return externalTables_.size();
   }
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -132,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.
@@ -151,14 +121,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 @@ -166,25 +133,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.
    * 
@@ -199,14 +159,11 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu public static final int USER_MANAGED_FIELD_NUMBER = 3; 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 @@ -215,7 +172,6 @@ public boolean getUserManaged() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -247,13 +204,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; @@ -263,20 +223,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; } @@ -297,142 +259,137 @@ 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(); @@ -455,9 +412,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 @@ -476,8 +433,7 @@ 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); int from_bitField0_ = bitField0_; if (externalTablesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -502,39 +458,38 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -542,8 +497,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()) { @@ -562,10 +516,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_); } @@ -603,39 +556,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); + 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); - break; - } // case 18 - case 24: - { - userManaged_ = input.readBool(); + break; + } // case 18 + case 24: { + userManaged_ = input.readBool(); - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -645,30 +596,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.
@@ -677,8 +619,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 {
@@ -686,8 +627,6 @@ private void ensureExternalTablesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -704,8 +643,6 @@ public int getExternalTablesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -722,8 +659,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.
@@ -747,8 +682,6 @@ public Builder setExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -769,8 +702,6 @@ public Builder setExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -793,8 +724,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.
@@ -818,8 +747,6 @@ public Builder addExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -840,8 +767,6 @@ public Builder addExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -862,8 +787,6 @@ public Builder addExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -873,11 +796,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);
@@ -885,8 +808,6 @@ public Builder addAllExternalTables(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -906,8 +827,6 @@ public Builder clearExternalTables() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -927,8 +846,6 @@ public Builder removeExternalTables(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -942,8 +859,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.
@@ -952,17 +867,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.
@@ -971,8 +883,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 {
@@ -980,8 +892,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.
@@ -990,14 +900,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.
@@ -1008,13 +915,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.
@@ -1023,22 +927,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(),
@@ -1050,47 +948,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 dataplexSpecBuilder_ != null || dataplexSpec_ != null; } /** - * - * *
      * 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.
      * 
@@ -1111,8 +996,6 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1131,8 +1014,6 @@ public Builder setDataplexSpec( return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1143,9 +1024,7 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va if (dataplexSpecBuilder_ == null) { if (dataplexSpec_ != null) { dataplexSpec_ = - com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_).mergeFrom(value).buildPartial(); } else { dataplexSpec_ = value; } @@ -1157,8 +1036,6 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1177,8 +1054,6 @@ public Builder clearDataplexSpec() { return this; } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1186,13 +1061,11 @@ public Builder clearDataplexSpec() { * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; */ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuilder() { - + onChanged(); return getDataplexSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Common Dataplex fields.
      * 
@@ -1203,14 +1076,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.
      * 
@@ -1218,32 +1088,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 @@ -1251,43 +1115,37 @@ 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. */ public Builder setUserManaged(boolean value) { - + userManaged_ = value; onChanged(); 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() { - + userManaged_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1297,12 +1155,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(); } @@ -1311,27 +1169,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; @@ -1346,4 +1204,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 1daca8a7b050..311711fa409c 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.
@@ -34,10 +16,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.
@@ -48,8 +29,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.
@@ -60,8 +39,6 @@ public interface DataplexTableSpecOrBuilder
    */
   int getExternalTablesCount();
   /**
-   *
-   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -70,11 +47,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.
@@ -87,32 +62,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.
    * 
@@ -122,14 +89,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 43f4326c7a3b..35cb27ab01a2 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; 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 @@ -140,7 +111,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +122,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -172,7 +143,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; @@ -182,16 +154,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; } @@ -206,111 +179,104 @@ 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].
@@ -318,32 +284,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();
@@ -355,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_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
@@ -376,8 +343,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest result = new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -388,39 +354,38 @@ public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -428,8 +393,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_;
         onChanged();
@@ -463,25 +427,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              force_ = input.readBool();
+
+              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) {
@@ -494,22 +455,18 @@ public Builder mergeFrom(
 
     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; @@ -518,23 +475,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 { @@ -542,82 +496,66 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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 @@ -625,43 +563,37 @@ 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. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -671,12 +603,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(); } @@ -685,27 +617,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; @@ -720,4 +652,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 bd30c6f2ea50..5827b0a9ee78 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,103 +160,96 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteEntryRequest result = new com.google.cloud.datacatalog.v1.DeleteEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.DeleteEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 63% 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 1da8ce5ef935..c96e42e2e065 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,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();
@@ -328,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeletePolicyTagRequest result = new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,21 @@ 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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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..04b54dd9a1b7 --- /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,31 @@ +// 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 e5932c38d98e..d6eb59b68b74 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -185,104 +159,97 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteTagRequest result = new com.google.cloud.datacatalog.v1.DeleteTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.DeleteTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 3cbb5ccb4f8c..9d046f683a6f 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,15 +98,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * 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. */ @java.lang.Override @@ -141,7 +112,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -173,7 +144,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; @@ -183,16 +155,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; } @@ -207,111 +180,104 @@ 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].
@@ -319,32 +285,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();
@@ -356,14 +323,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();
     }
 
@@ -378,8 +344,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -390,39 +355,38 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -430,9 +394,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_;
         onChanged();
@@ -466,25 +428,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              force_ = input.readBool();
+
+              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) {
@@ -497,22 +456,18 @@ public Builder mergeFrom(
 
     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; @@ -521,23 +476,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 { @@ -545,83 +497,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * 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. */ @java.lang.Override @@ -629,45 +565,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * 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]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * 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 This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -677,13 +607,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(); } @@ -692,27 +621,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; @@ -727,4 +656,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..7936aec4296c --- /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,40 @@ +// 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 63% 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 47502eacb0a4..58aaddb6ef77 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,15 +98,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * 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. */ @java.lang.Override @@ -141,7 +112,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -173,7 +144,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; @@ -183,16 +155,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; } @@ -207,111 +180,104 @@ 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].
@@ -319,32 +285,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();
@@ -356,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_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
@@ -377,8 +344,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest result = new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -389,39 +355,38 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -429,8 +394,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_;
         onChanged();
@@ -464,25 +428,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              force_ = input.readBool();
+
+              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) {
@@ -495,22 +456,18 @@ public Builder mergeFrom(
 
     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; @@ -519,23 +476,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 { @@ -543,83 +497,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * 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. */ @java.lang.Override @@ -627,45 +565,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * 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]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * 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 This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -675,12 +607,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(); } @@ -689,27 +621,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; @@ -724,4 +656,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..809b5dd85cd9 --- /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,40 @@ +// 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 63% 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 0584d43fa56d..3a3b0dcaa237 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,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();
@@ -328,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest result = new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,21 @@ 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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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..8b98f89104c0 --- /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,31 @@ +// 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/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 947a51c26845..efc49dd54bb0 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
@@ -35,16 +18,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_ = "";
@@ -55,53 +37,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -117,38 +96,32 @@ 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;
   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,39 +137,33 @@ 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;
   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;
     }
@@ -212,34 +179,28 @@ 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;
   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),
@@ -247,7 +208,6 @@ public enum SpecCase
     FILESET_SPEC(33),
     SPEC_NOT_SET(0);
     private final int value;
-
     private SpecCase(int value) {
       this.value = value;
     }
@@ -263,45 +223,35 @@ 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 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 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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The resource name of an entry in URL format.
    * Note: The entry itself and its child resources might not be
    * 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 @@ -310,33 +260,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource name of an entry in URL format.
    * Note: The entry itself and its child resources might not be
    * 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 { @@ -347,8 +295,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; private volatile java.lang.Object linkedResource_; /** - * - * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -366,7 +312,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ @java.lang.Override @@ -375,15 +320,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.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -401,15 +345,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 { @@ -420,8 +365,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 29; private volatile java.lang.Object fullyQualifiedName_; /** - * - * *
    * Fully qualified name (FQN) of the resource. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -436,7 +379,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
    * 
* * string fully_qualified_name = 29; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -445,15 +387,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. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -468,15 +409,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 { @@ -486,8 +428,6 @@ 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.
@@ -496,15 +436,12 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() {
    * 
* * .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.
@@ -513,7 +450,6 @@ public boolean hasType() {
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ public int getTypeValue() { @@ -523,8 +459,6 @@ public int getTypeValue() { return 0; } /** - * - * *
    * The type of the entry.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -533,14 +467,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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.EntryType result = - com.google.cloud.datacatalog.v1.EntryType.valueOf((java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.valueOf( + (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; @@ -548,8 +481,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.
@@ -564,15 +495,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.
@@ -587,7 +515,6 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -598,7 +525,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; @@ -607,8 +535,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.
@@ -623,17 +549,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; } @@ -645,34 +572,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() { @@ -682,35 +599,26 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf((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.valueOf( + (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.
@@ -722,15 +630,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.
@@ -742,7 +647,6 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -753,7 +657,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; @@ -762,8 +667,6 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -775,17 +678,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; } @@ -797,15 +701,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. 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 @@ -813,27 +714,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.
@@ -844,22 +740,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;
   /**
-   *
-   *
    * 
-   * Specification that applies to a BigQuery table. Valid only for
-   * entries with the `TABLE` type.
+   * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -867,57 +760,47 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** - * - * *
-   * Specification that applies to a BigQuery table. Valid only for
-   * entries with the `TABLE` type.
+   * 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.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(); } /** - * - * *
-   * Specification that applies to a BigQuery table. Valid only for
-   * entries with the `TABLE` type.
+   * 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.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; /** - * - * *
-   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-   * name pattern.
+   * Output only. Specification for a group of BigQuery tables with
+   * the `[prefix]YYYYMMDD` name pattern.
    * For more information, see [Introduction to partitioned tables]
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .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 @@ -925,60 +808,49 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** - * - * *
-   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-   * name pattern.
+   * Output only. Specification for a group of BigQuery tables with
+   * the `[prefix]YYYYMMDD` name pattern.
    * For more information, see [Introduction to partitioned tables]
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .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(); } /** - * - * *
-   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-   * name pattern.
+   * Output only. Specification for a group of BigQuery tables with
+   * the `[prefix]YYYYMMDD` name pattern.
    * For more information, see [Introduction to partitioned tables]
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -986,27 +858,22 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** - * - * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` 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` type.
@@ -1015,26 +882,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 @@ -1042,56 +904,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 @@ -1099,27 +950,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.
@@ -1130,22 +976,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 @@ -1153,27 +996,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.
@@ -1184,7 +1022,7 @@ 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();
   }
@@ -1192,8 +1030,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
   public static final int DISPLAY_NAME_FIELD_NUMBER = 3;
   private volatile java.lang.Object displayName_;
   /**
-   *
-   *
    * 
    * Display name of an entry.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1203,7 +1039,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -1212,15 +1047,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1230,15 +1064,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 { @@ -1249,8 +1084,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** - * - * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -1262,7 +1095,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 4; - * * @return The description. */ @java.lang.Override @@ -1271,15 +1103,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.
@@ -1291,15 +1122,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 { @@ -1310,14 +1142,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 @@ -1325,25 +1154,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
    * 
@@ -1358,14 +1180,11 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte 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 @@ -1373,14 +1192,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 @@ -1388,8 +1204,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.
    * 
@@ -1404,18 +1218,15 @@ 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.
-   * Output only when the entry has a type listed in the `EntryType` enum.
-   * For entries with `user_specified_type`, this field is optional and defaults
-   * to an empty timestamp.
+   * Output only when the entry has a system listed in the `IntegratedSystem`
+   * enum. For entries with `user_specified_system`, this field is optional
+   * and defaults to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return Whether the sourceSystemTimestamps field is set. */ @java.lang.Override @@ -1423,58 +1234,45 @@ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestamps_ != null; } /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
-   * Output only when the entry has a type listed in the `EntryType` enum.
-   * For entries with `user_specified_type`, this field is optional and defaults
-   * to an empty timestamp.
+   * Output only when the entry has a system listed in the `IntegratedSystem`
+   * enum. For entries with `user_specified_system`, this field is optional
+   * and defaults to an empty timestamp.
    * 
* * .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.
-   * Output only when the entry has a type listed in the `EntryType` enum.
-   * For entries with `user_specified_type`, this field is optional and defaults
-   * to an empty timestamp.
+   * Output only when the entry has a system listed in the `IntegratedSystem`
+   * enum. For entries with `user_specified_system`, this field is optional
+   * and defaults to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; */ @java.lang.Override - public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder - getSourceSystemTimestampsOrBuilder() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() { return getSourceSystemTimestamps(); } public static final int USAGE_SIGNAL_FIELD_NUMBER = 13; private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_; /** - * - * *
-   * Output only. Resource usage statistics.
+   * Resource usage statistics.
    * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; * @return Whether the usageSignal field is set. */ @java.lang.Override @@ -1482,34 +1280,23 @@ public boolean hasUsageSignal() { return usageSignal_ != null; } /** - * - * *
-   * Output only. Resource usage statistics.
+   * Resource usage statistics.
    * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .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_; } /** - * - * *
-   * Output only. Resource usage statistics.
+   * Resource usage statistics.
    * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ @java.lang.Override public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder() { @@ -1517,23 +1304,24 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil } 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, + ""); } - - 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_; } @@ -1542,8 +1330,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1553,22 +1339,22 @@ 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.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1579,12 +1365,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 14;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1595,16 +1380,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1615,11 +1400,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1629,16 +1415,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 @@ -1646,34 +1427,23 @@ 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() { @@ -1683,16 +1453,11 @@ public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilde 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 @@ -1700,34 +1465,23 @@ 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() { @@ -1735,7 +1489,6 @@ public com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetai } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1747,7 +1500,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1778,8 +1532,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_); } @@ -1829,9 +1587,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_); @@ -1840,84 +1597,82 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1927,50 +1682,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: @@ -1978,10 +1747,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: @@ -1989,13 +1760,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: @@ -2003,17 +1777,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 0: default: @@ -2132,103 +1909,97 @@ 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
@@ -2243,52 +2014,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();
@@ -2372,9 +2146,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
@@ -2393,8 +2167,7 @@ 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);
+      com.google.cloud.datacatalog.v1.Entry result = new com.google.cloud.datacatalog.v1.Entry(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.linkedResource_ = linkedResource_;
@@ -2506,39 +2279,38 @@ public com.google.cloud.datacatalog.v1.Entry buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -2579,7 +2351,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());
       if (other.hasDataSource()) {
         mergeDataSource(other.getDataSource());
       }
@@ -2587,87 +2360,72 @@ 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.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 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 SPEC_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2695,165 +2453,160 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                int rawValue = input.readEnum();
-                entryTypeCase_ = 2;
-                entryType_ = rawValue;
-                break;
-              } // case 16
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 74:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 98:
-              {
-                input.readMessage(
-                    getBigqueryTableSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 12;
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(getUsageSignalFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 106
-            case 114:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                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);
-
-                break;
-              } // case 162
-            case 194:
-              {
-                input.readMessage(
-                    getDatabaseTableSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 24;
-                break;
-              } // case 194
-            case 210:
-              {
-                input.readMessage(getPersonalDetailsFieldBuilder().getBuilder(), extensionRegistry);
-
-                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();
-
-                break;
-              } // case 234
-            case 266:
-              {
-                input.readMessage(getFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
-                specCase_ = 33;
-                break;
-              } // case 266
-            case 298:
-              {
-                input.readMessage(getBusinessContextFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 298
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              int rawValue = input.readEnum();
+              entryTypeCase_ = 2;
+              entryType_ = rawValue;
+              break;
+            } // case 16
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getGcsFilesetSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 74: {
+              linkedResource_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 98: {
+              input.readMessage(
+                  getBigqueryTableSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 12;
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getUsageSignalFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 106
+            case 114: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              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);
+
+              break;
+            } // case 162
+            case 194: {
+              input.readMessage(
+                  getDatabaseTableSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 24;
+              break;
+            } // case 194
+            case 210: {
+              input.readMessage(
+                  getPersonalDetailsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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();
+
+              break;
+            } // case 234
+            case 266: {
+              input.readMessage(
+                  getFilesetSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              specCase_ = 33;
+              break;
+            } // case 266
+            case 298: {
+              input.readMessage(
+                  getBusinessContextFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 298
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2863,12 +2616,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() {
@@ -2880,9 +2633,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() {
@@ -2894,9 +2648,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() {
@@ -2908,9 +2663,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() {
@@ -2924,24 +2680,20 @@ public Builder clearSpec() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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; @@ -2950,25 +2702,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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 { @@ -2976,73 +2725,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3050,8 +2786,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object linkedResource_ = ""; /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -3069,13 +2803,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; @@ -3084,8 +2818,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -3103,14 +2835,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 { @@ -3118,8 +2851,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -3137,22 +2868,20 @@ 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) { + public Builder setLinkedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; onChanged(); return this; } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -3170,18 +2899,15 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 9; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); onChanged(); return this; } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -3199,16 +2925,16 @@ 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) { + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = value; onChanged(); return this; @@ -3216,8 +2942,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3232,13 +2956,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; @@ -3247,8 +2971,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3263,14 +2985,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 { @@ -3278,8 +3001,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3294,22 +3015,20 @@ 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) { + public Builder setFullyQualifiedName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullyQualifiedName_ = value; onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3324,18 +3043,15 @@ public Builder setFullyQualifiedName(java.lang.String value) {
      * 
* * string fully_qualified_name = 29; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { - + fullyQualifiedName_ = getDefaultInstance().getFullyQualifiedName(); onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3350,24 +3066,22 @@ 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) { + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullyQualifiedName_ = value; onChanged(); return this; } /** - * - * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3376,7 +3090,6 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value)
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return Whether the type field is set. */ @java.lang.Override @@ -3384,8 +3097,6 @@ public boolean hasType() { return entryTypeCase_ == 2; } /** - * - * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3394,7 +3105,6 @@ public boolean hasType() {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; - * * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -3405,8 +3115,6 @@ public int getTypeValue() { return 0; } /** - * - * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3415,7 +3123,6 @@ 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. */ @@ -3426,8 +3133,6 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3436,22 +3141,19 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.EntryType result = - com.google.cloud.datacatalog.v1.EntryType.valueOf((java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.valueOf( + (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.
@@ -3460,7 +3162,6 @@ 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. */ @@ -3474,8 +3175,6 @@ 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.
@@ -3484,7 +3183,6 @@ 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() { @@ -3497,8 +3195,6 @@ public Builder clearType() { } /** - * - * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3513,7 +3209,6 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -3521,8 +3216,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.
@@ -3537,7 +3230,6 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ @java.lang.Override @@ -3547,7 +3239,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; @@ -3558,8 +3251,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.
@@ -3574,18 +3265,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; } @@ -3595,8 +3287,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.
@@ -3611,22 +3301,20 @@ 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) { + public Builder setUserSpecifiedType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryTypeCase_ = 16; + 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.
@@ -3641,7 +3329,6 @@ public Builder setUserSpecifiedType(java.lang.String value) {
      * 
* * string user_specified_type = 16; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -3653,8 +3340,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.
@@ -3669,15 +3354,15 @@ 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) { + public Builder setUserSpecifiedTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; onChanged(); @@ -3685,17 +3370,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 @@ -3703,17 +3383,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 @@ -3724,17 +3399,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. */ @@ -3745,43 +3415,31 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf((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.valueOf( + (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. */ @@ -3795,17 +3453,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() { @@ -3818,8 +3471,6 @@ public Builder clearIntegratedSystem() { } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3831,7 +3482,6 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -3839,8 +3489,6 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3852,7 +3500,6 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -3862,7 +3509,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; @@ -3873,8 +3521,6 @@ public java.lang.String getUserSpecifiedSystem() { } } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3886,18 +3532,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; } @@ -3907,8 +3554,6 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { } } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3920,22 +3565,20 @@ 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) { + public Builder setUserSpecifiedSystem( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - systemCase_ = 18; + throw new NullPointerException(); + } + systemCase_ = 18; system_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3947,7 +3590,6 @@ public Builder setUserSpecifiedSystem(java.lang.String value) {
      * 
* * string user_specified_system = 18; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -3959,8 +3601,6 @@ public Builder clearUserSpecifiedSystem() { return this; } /** - * - * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3972,15 +3612,15 @@ 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) { + public Builder setUserSpecifiedSystemBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; onChanged(); @@ -3988,20 +3628,14 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) } 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 @@ -4009,15 +3643,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 @@ -4035,8 +3666,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.
@@ -4058,8 +3687,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.
@@ -4079,8 +3706,6 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4090,13 +3715,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;
         }
@@ -4112,8 +3734,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.
@@ -4138,8 +3758,6 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -4151,8 +3769,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.
@@ -4172,8 +3788,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.
@@ -4182,45 +3796,33 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return gcsFilesetSpecBuilder_;
     }
 
     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_;
     /**
-     *
-     *
      * 
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryTableSpec field is set. */ @java.lang.Override @@ -4228,15 +3830,12 @@ public boolean hasBigqueryTableSpec() { return typeSpecCase_ == 12; } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryTableSpec. */ @java.lang.Override @@ -4254,14 +3853,12 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() } } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.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) { @@ -4277,14 +3874,12 @@ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTabl return this; } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.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) { @@ -4298,25 +3893,19 @@ public Builder setBigqueryTableSpec( return this; } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.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; } @@ -4332,14 +3921,12 @@ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTa return this; } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryTableSpec() { if (bigqueryTableSpecBuilder_ == null) { @@ -4358,31 +3945,26 @@ public Builder clearBigqueryTableSpec() { return this; } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.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(); } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.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 { @@ -4393,58 +3975,43 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl } } /** - * - * *
-     * Specification that applies to a BigQuery table. Valid only for
-     * entries with the `TABLE` type.
+     * 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.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()); typeSpec_ = null; } typeSpecCase_ = 12; - onChanged(); - ; + onChanged();; return bigqueryTableSpecBuilder_; } 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_; /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .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 @@ -4452,18 +4019,14 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryDateShardedSpec. */ @java.lang.Override @@ -4481,20 +4044,16 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh } } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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(); @@ -4508,17 +4067,14 @@ public Builder setBigqueryDateShardedSpec( return this; } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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) { @@ -4532,29 +4088,21 @@ public Builder setBigqueryDateShardedSpec( return this; } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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; } @@ -4570,17 +4118,14 @@ public Builder mergeBigqueryDateShardedSpec( return this; } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryDateShardedSpec() { if (bigqueryDateShardedSpecBuilder_ == null) { @@ -4599,38 +4144,30 @@ public Builder clearBigqueryDateShardedSpec() { return this; } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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(); } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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 { @@ -4641,58 +4178,43 @@ public Builder clearBigqueryDateShardedSpec() { } } /** - * - * *
-     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-     * name pattern.
+     * Output only. Specification for a group of BigQuery tables with
+     * the `[prefix]YYYYMMDD` name pattern.
      * For more information, see [Introduction to partitioned tables]
      * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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()); typeSpec_ = null; } typeSpecCase_ = 15; - onChanged(); - ; + onChanged();; return bigqueryDateShardedSpecBuilder_; } 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` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -4700,15 +4222,12 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** - * - * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; - * * @return The databaseTableSpec. */ @java.lang.Override @@ -4726,8 +4245,6 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() } } /** - * - * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4749,8 +4266,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` type.
@@ -4770,8 +4285,6 @@ public Builder setDatabaseTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4781,13 +4294,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;
         }
@@ -4803,8 +4313,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` type.
@@ -4829,8 +4337,6 @@ public Builder clearDatabaseTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4842,8 +4348,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` type.
@@ -4852,8 +4356,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 {
@@ -4864,8 +4367,6 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4874,46 +4375,33 @@ 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());
         spec_ = null;
       }
       specCase_ = 24;
-      onChanged();
-      ;
+      onChanged();;
       return databaseTableSpecBuilder_;
     }
 
     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 @@ -4921,16 +4409,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 @@ -4948,18 +4432,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(); @@ -4973,15 +4453,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) { @@ -4995,27 +4472,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; } @@ -5031,15 +4500,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) { @@ -5058,34 +4524,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 { @@ -5096,56 +4554,41 @@ 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()); spec_ = null; } specCase_ = 27; - onChanged(); - ; + onChanged();; return dataSourceConnectionSpecBuilder_; } 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 @@ -5153,15 +4596,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 @@ -5179,8 +4619,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.
@@ -5202,8 +4640,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.
@@ -5223,8 +4659,6 @@ public Builder setRoutineSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5234,13 +4668,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;
         }
@@ -5256,8 +4687,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.
@@ -5282,8 +4711,6 @@ public Builder clearRoutineSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -5295,8 +4722,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.
@@ -5316,8 +4741,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.
@@ -5326,45 +4749,33 @@ 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());
         spec_ = null;
       }
       specCase_ = 28;
-      onChanged();
-      ;
+      onChanged();;
       return routineSpecBuilder_;
     }
 
     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 @@ -5372,15 +4783,12 @@ 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 @@ -5398,8 +4806,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() { } } /** - * - * *
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5421,8 +4827,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.
@@ -5442,8 +4846,6 @@ public Builder setFilesetSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5453,13 +4855,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;
         }
@@ -5475,8 +4874,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.
@@ -5501,8 +4898,6 @@ public Builder clearFilesetSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5514,8 +4909,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.
@@ -5535,8 +4928,6 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -5545,34 +4936,26 @@ 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());
         spec_ = null;
       }
       specCase_ = 33;
-      onChanged();
-      ;
+      onChanged();;
       return filesetSpecBuilder_;
     }
 
     private java.lang.Object displayName_ = "";
     /**
-     *
-     *
      * 
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5582,13 +4965,13 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
      * 
* * 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; @@ -5597,8 +4980,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5608,14 +4989,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 { @@ -5623,8 +5005,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5634,22 +5014,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5659,18 +5037,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5680,16 +5055,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -5697,8 +5072,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.
@@ -5710,13 +5083,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; @@ -5725,8 +5098,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5738,14 +5109,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 { @@ -5753,8 +5125,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5766,22 +5136,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5793,18 +5161,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 4; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5816,16 +5181,16 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -5833,47 +5198,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 businessContextBuilder_ != null || businessContext_ != null; } /** - * - * *
      * 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
      * 
@@ -5894,8 +5246,6 @@ public Builder setBusinessContext(com.google.cloud.datacatalog.v1.BusinessContex return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5914,8 +5264,6 @@ public Builder setBusinessContext( return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5926,9 +5274,7 @@ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessCont if (businessContextBuilder_ == null) { if (businessContext_ != null) { businessContext_ = - com.google.cloud.datacatalog.v1.BusinessContext.newBuilder(businessContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.BusinessContext.newBuilder(businessContext_).mergeFrom(value).buildPartial(); } else { businessContext_ = value; } @@ -5940,8 +5286,6 @@ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessCont return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5960,8 +5304,6 @@ public Builder clearBusinessContext() { return this; } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5969,13 +5311,11 @@ public Builder clearBusinessContext() { * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; */ public com.google.cloud.datacatalog.v1.BusinessContext.Builder getBusinessContextBuilder() { - + onChanged(); return getBusinessContextFieldBuilder().getBuilder(); } /** - * - * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5986,14 +5326,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
      * 
@@ -6001,17 +5338,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_; @@ -6019,47 +5353,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 schemaBuilder_ != null || 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. */ 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.
      * 
@@ -6080,15 +5401,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(); onChanged(); @@ -6099,8 +5419,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.
      * 
@@ -6111,9 +5429,7 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1.Schema value) { if (schemaBuilder_ == null) { if (schema_ != null) { schema_ = - com.google.cloud.datacatalog.v1.Schema.newBuilder(schema_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.Schema.newBuilder(schema_).mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -6125,8 +5441,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.
      * 
@@ -6145,8 +5459,6 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6154,13 +5466,11 @@ public Builder clearSchema() { * .google.cloud.datacatalog.v1.Schema schema = 5; */ public com.google.cloud.datacatalog.v1.Schema.Builder getSchemaBuilder() { - + onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -6171,14 +5481,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.
      * 
@@ -6186,17 +5493,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_; @@ -6204,67 +5508,53 @@ 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.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; - * * @return Whether the sourceSystemTimestamps field is set. */ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestampsBuilder_ != null || sourceSystemTimestamps_ != null; } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .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.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .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(); @@ -6278,14 +5568,12 @@ public Builder setSourceSystemTimestamps( return this; } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -6302,26 +5590,21 @@ public Builder setSourceSystemTimestamps( return this; } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .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 (sourceSystemTimestamps_ != null) { sourceSystemTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(sourceSystemTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(sourceSystemTimestamps_).mergeFrom(value).buildPartial(); } else { sourceSystemTimestamps_ = value; } @@ -6333,14 +5616,12 @@ public Builder mergeSourceSystemTimestamps( return this; } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -6357,72 +5638,60 @@ public Builder clearSourceSystemTimestamps() { return this; } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .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() { + onChanged(); return getSourceSystemTimestampsFieldBuilder().getBuilder(); } /** - * - * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .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.
-     * Output only when the entry has a type listed in the `EntryType` enum.
-     * For entries with `user_specified_type`, this field is optional and defaults
-     * to an empty timestamp.
+     * Output only when the entry has a system listed in the `IntegratedSystem`
+     * enum. For entries with `user_specified_system`, this field is optional
+     * and defaults to an empty timestamp.
      * 
* * .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_; @@ -6430,58 +5699,39 @@ 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_; /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; * @return Whether the usageSignal field is set. */ public boolean hasUsageSignal() { return usageSignalBuilder_ != null || usageSignal_ != null; } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .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(); } } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public Builder setUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) { if (usageSignalBuilder_ == null) { @@ -6497,15 +5747,11 @@ public Builder setUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) return this; } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public Builder setUsageSignal( com.google.cloud.datacatalog.v1.UsageSignal.Builder builderForValue) { @@ -6519,23 +5765,17 @@ public Builder setUsageSignal( return this; } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) { if (usageSignalBuilder_ == null) { if (usageSignal_ != null) { usageSignal_ = - com.google.cloud.datacatalog.v1.UsageSignal.newBuilder(usageSignal_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.UsageSignal.newBuilder(usageSignal_).mergeFrom(value).buildPartial(); } else { usageSignal_ = value; } @@ -6547,15 +5787,11 @@ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal valu return this; } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public Builder clearUsageSignal() { if (usageSignalBuilder_ == null) { @@ -6569,84 +5805,69 @@ public Builder clearUsageSignal() { return this; } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public com.google.cloud.datacatalog.v1.UsageSignal.Builder getUsageSignalBuilder() { - + onChanged(); return getUsageSignalFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder() { 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_; } } /** - * - * *
-     * Output only. Resource usage statistics.
+     * Resource usage statistics.
      * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -6658,8 +5879,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6669,22 +5888,22 @@ 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.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6695,12 +5914,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 14;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6711,17 +5929,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6732,11 +5949,12 @@ public 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();
       }
@@ -6744,12 +5962,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6759,21 +5976,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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6783,20 +6002,19 @@ 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");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6806,65 +6024,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);
       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 dataSourceBuilder_ != null || 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. */ 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) { @@ -6880,15 +6082,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) { @@ -6902,23 +6100,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 (dataSource_ != null) { dataSource_ = - com.google.cloud.datacatalog.v1.DataSource.newBuilder(dataSource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.DataSource.newBuilder(dataSource_).mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -6930,15 +6122,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() { if (dataSourceBuilder_ == null) { @@ -6952,64 +6140,48 @@ 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() { - + onChanged(); 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_; @@ -7017,58 +6189,39 @@ 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 personalDetailsBuilder_ != null || 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. */ 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) { @@ -7084,15 +6237,11 @@ 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) { @@ -7106,23 +6255,17 @@ 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 (personalDetails_ != null) { personalDetails_ = - com.google.cloud.datacatalog.v1.PersonalDetails.newBuilder(personalDetails_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.PersonalDetails.newBuilder(personalDetails_).mergeFrom(value).buildPartial(); } else { personalDetails_ = value; } @@ -7134,15 +6277,11 @@ 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() { if (personalDetailsBuilder_ == null) { @@ -7156,71 +6295,55 @@ 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() { - + onChanged(); 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); } @@ -7230,12 +6353,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(); } @@ -7244,27 +6367,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; @@ -7279,4 +6402,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 67% 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 f94a8dad8d10..94d9978a0a22 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.
  * An `EntryGroup` resource represents a logical grouping of zero or more
@@ -29,16 +12,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_ = "";
@@ -47,35 +29,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -92,15 +70,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.
    * Note: The entry group itself and its child resources might not be
@@ -108,15 +85,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 { @@ -127,15 +105,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -144,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,8 +153,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -187,7 +160,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -196,15 +168,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.
@@ -212,15 +183,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 { @@ -231,16 +203,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 @@ -248,43 +215,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() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { return getDataCatalogTimestamps(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +250,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -328,8 +283,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; @@ -339,20 +294,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; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + 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 (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; @@ -380,104 +338,97 @@ 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.
    * An `EntryGroup` resource represents a logical grouping of zero or more
@@ -486,32 +437,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();
@@ -531,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_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
@@ -552,8 +504,7 @@ 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);
+      com.google.cloud.datacatalog.v1.EntryGroup result = new com.google.cloud.datacatalog.v1.EntryGroup(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -570,39 +521,38 @@ public com.google.cloud.datacatalog.v1.EntryGroup buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -652,38 +602,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getDataCatalogTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDataCatalogTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -696,8 +642,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -705,13 +649,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; @@ -720,8 +664,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -729,14 +671,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 { @@ -744,8 +687,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -753,22 +694,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -776,18 +715,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -795,16 +731,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -812,21 +748,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; @@ -835,22 +769,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 { @@ -858,64 +791,57 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -923,8 +849,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.
@@ -932,13 +856,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; @@ -947,8 +871,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -956,14 +878,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 { @@ -971,8 +894,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -980,22 +901,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -1003,18 +922,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -1022,16 +938,16 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1039,61 +955,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 dataCatalogTimestampsBuilder_ != null || 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. */ 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(); @@ -1107,15 +1003,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) { @@ -1129,24 +1021,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 (dataCatalogTimestamps_ != null) { dataCatalogTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(dataCatalogTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(dataCatalogTimestamps_).mergeFrom(value).buildPartial(); } else { dataCatalogTimestamps_ = value; } @@ -1158,15 +1043,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() { if (dataCatalogTimestampsBuilder_ == null) { @@ -1180,73 +1061,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() { + 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); } @@ -1256,12 +1119,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(); } @@ -1270,27 +1133,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; @@ -1305,4 +1168,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 70ef44bbca16..1ebb2ed0e142 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.
    * Note: The entry group itself and its child resources might not be
@@ -33,13 +15,10 @@ public interface EntryGroupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
@@ -47,41 +26,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.
@@ -89,13 +61,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.
@@ -103,49 +72,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 80% 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 6a4ab7cec4f4..e52ff581e1dd 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,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 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.
    * Note: The entry itself and its child resources might not be
    * 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.
    * Note: The entry itself and its child resources might not be
    * 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.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -76,13 +49,10 @@ public interface EntryOrBuilder
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -100,14 +70,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) of the resource. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -122,13 +90,10 @@ public interface EntryOrBuilder
    * 
* * string fully_qualified_name = 29; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * Fully qualified name (FQN) of the resource. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -143,14 +108,12 @@ 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.
@@ -159,13 +122,10 @@ public interface EntryOrBuilder
    * 
* * .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.
@@ -174,13 +134,10 @@ public interface EntryOrBuilder
    * 
* * .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.
@@ -189,14 +146,11 @@ public interface EntryOrBuilder
    * 
* * .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.
@@ -211,13 +165,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.
@@ -232,13 +183,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.
@@ -253,60 +201,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.
@@ -318,13 +249,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.
@@ -336,13 +264,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.
@@ -354,40 +279,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. 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.
@@ -398,120 +315,92 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder();
 
   /**
-   *
-   *
    * 
-   * Specification that applies to a BigQuery table. Valid only for
-   * entries with the `TABLE` type.
+   * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryTableSpec field is set. */ boolean hasBigqueryTableSpec(); /** - * - * *
-   * Specification that applies to a BigQuery table. Valid only for
-   * entries with the `TABLE` type.
+   * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryTableSpec. */ com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec(); /** - * - * *
-   * Specification that applies to a BigQuery table. Valid only for
-   * entries with the `TABLE` type.
+   * 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.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.datacatalog.v1.BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder(); /** - * - * *
-   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-   * name pattern.
+   * Output only. Specification for a group of BigQuery tables with
+   * the `[prefix]YYYYMMDD` name pattern.
    * For more information, see [Introduction to partitioned tables]
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .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(); /** - * - * *
-   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-   * name pattern.
+   * Output only. Specification for a group of BigQuery tables with
+   * the `[prefix]YYYYMMDD` name pattern.
    * For more information, see [Introduction to partitioned tables]
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * - * + * .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(); /** - * - * *
-   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
-   * name pattern.
+   * Output only. Specification for a group of BigQuery tables with
+   * the `[prefix]YYYYMMDD` name pattern.
    * For more information, see [Introduction to partitioned tables]
    * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* - * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; - * + * .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` 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` 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` type.
@@ -522,76 +411,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.
@@ -602,34 +471,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.
@@ -640,8 +501,6 @@ public interface EntryOrBuilder
   com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * Display name of an entry.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -651,13 +510,10 @@ public interface EntryOrBuilder
    * 
* * string display_name = 3; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Display name of an entry.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -667,14 +523,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.
@@ -686,13 +540,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.
@@ -704,38 +555,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
    * 
@@ -745,32 +588,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.
    * 
@@ -780,46 +615,38 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder(); /** - * - * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
-   * Output only when the entry has a type listed in the `EntryType` enum.
-   * For entries with `user_specified_type`, this field is optional and defaults
-   * to an empty timestamp.
+   * Output only when the entry has a system listed in the `IntegratedSystem`
+   * enum. For entries with `user_specified_system`, this field is optional
+   * and defaults to an empty timestamp.
    * 
* * .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.
-   * Output only when the entry has a type listed in the `EntryType` enum.
-   * For entries with `user_specified_type`, this field is optional and defaults
-   * to an empty timestamp.
+   * Output only when the entry has a system listed in the `IntegratedSystem`
+   * enum. For entries with `user_specified_system`, this field is optional
+   * and defaults to an empty timestamp.
    * 
* * .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.
-   * Output only when the entry has a type listed in the `EntryType` enum.
-   * For entries with `user_specified_type`, this field is optional and defaults
-   * to an empty timestamp.
+   * Output only when the entry has a system listed in the `IntegratedSystem`
+   * enum. For entries with `user_specified_system`, this field is optional
+   * and defaults to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -827,49 +654,33 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder(); /** - * - * *
-   * Output only. Resource usage statistics.
+   * Resource usage statistics.
    * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; * @return Whether the usageSignal field is set. */ boolean hasUsageSignal(); /** - * - * *
-   * Output only. Resource usage statistics.
+   * Resource usage statistics.
    * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; * @return The usageSignal. */ com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal(); /** - * - * *
-   * Output only. Resource usage statistics.
+   * Resource usage statistics.
    * 
* - * - * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder(); /** - * - * *
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -881,8 +692,6 @@ public interface EntryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -892,13 +701,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.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -908,10 +719,9 @@ public interface EntryOrBuilder
    *
    * map<string, string> labels = 14;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -923,13 +733,11 @@ public interface EntryOrBuilder
    */
 
   /* 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.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -939,87 +747,61 @@ 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 c51be7a62941..481aec56ba22 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,77 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object overview_; /** - * - * *
    * Entry overview with support for rich text.
    * The overview must only contain Unicode characters, and should be
@@ -82,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string overview = 1; - * * @return The overview. */ @java.lang.Override @@ -91,15 +69,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.
    * The overview must only contain Unicode characters, and should be
@@ -110,15 +87,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 { @@ -127,7 +105,6 @@ public com.google.protobuf.ByteString getOverviewBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overview_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, overview_); } @@ -163,15 +141,15 @@ public int getSerializedSize() { @java.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; } @@ -190,136 +168,130 @@ 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(); @@ -329,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 @@ -350,8 +322,7 @@ 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); + com.google.cloud.datacatalog.v1.EntryOverview result = new com.google.cloud.datacatalog.v1.EntryOverview(this); result.overview_ = overview_; onBuilt(); return result; @@ -361,39 +332,38 @@ public com.google.cloud.datacatalog.v1.EntryOverview buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -432,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - overview_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + overview_ = input.readStringRequireUtf8(); + + 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,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object overview_ = ""; /** - * - * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -469,13 +435,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; @@ -484,8 +450,6 @@ public java.lang.String getOverview() { } } /** - * - * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -496,14 +460,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 { @@ -511,8 +476,6 @@ public com.google.protobuf.ByteString getOverviewBytes() { } } /** - * - * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -523,22 +486,20 @@ 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) { + public Builder setOverview( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + overview_ = value; onChanged(); return this; } /** - * - * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -549,18 +510,15 @@ public Builder setOverview(java.lang.String value) {
      * 
* * string overview = 1; - * * @return This builder for chaining. */ public Builder clearOverview() { - + overview_ = getDefaultInstance().getOverview(); onChanged(); return this; } /** - * - * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -571,23 +529,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) { + public Builder setOverviewBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + overview_ = 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); } @@ -597,12 +555,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(); } @@ -611,27 +569,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; @@ -646,4 +604,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 6d310937bf41..bf8232418969 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.
    * The overview must only contain Unicode characters, and should be
@@ -36,13 +18,10 @@ public interface EntryOverviewOrBuilder
    * 
* * string overview = 1; - * * @return The overview. */ java.lang.String getOverview(); /** - * - * *
    * Entry overview with support for rich text.
    * The overview must only contain Unicode characters, and should be
@@ -53,8 +32,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 74% 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 927bb2bd60ae..df1c39198ad3 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,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; /** - * - * *
  * The enum field that lists all the types of entry resources in Data
  * Catalog. For example, a BigQuery table entry has the `TABLE` type.
@@ -28,10 +11,9 @@
  *
  * 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,10 +22,8 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ ENTRY_TYPE_UNSPECIFIED(0), /** - * - * *
-   * Output only. The entry type that has a GoogleSQL schema, including
+   * The entry type that has a GoogleSQL schema, including
    * logical views.
    * 
* @@ -51,8 +31,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE(2), /** - * - * *
    * Output only. The type of models.
    * For more information, see [Supported models in BigQuery ML]
@@ -63,8 +41,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MODEL(5),
   /**
-   *
-   *
    * 
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -73,8 +49,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.
@@ -84,8 +58,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FILESET(4),
   /**
-   *
-   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -94,8 +66,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER(6), /** - * - * *
    * A database.
    * 
@@ -104,8 +74,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE(7), /** - * - * *
    * Output only. Connection to a data source. For example, a BigQuery
    * connection.
@@ -115,8 +83,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   DATA_SOURCE_CONNECTION(8),
   /**
-   *
-   *
    * 
    * Output only. Routine, for example, a BigQuery routine.
    * 
@@ -125,8 +91,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTINE(9), /** - * - * *
    * A Dataplex lake.
    * 
@@ -135,8 +99,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ LAKE(10), /** - * - * *
    * A Dataplex zone.
    * 
@@ -145,8 +107,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ ZONE(11), /** - * - * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -158,8 +118,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default unknown type.
    * 
@@ -168,10 +126,8 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTRY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
-   * Output only. The entry type that has a GoogleSQL schema, including
+   * The entry type that has a GoogleSQL schema, including
    * logical views.
    * 
* @@ -179,8 +135,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_VALUE = 2; /** - * - * *
    * Output only. The type of models.
    * For more information, see [Supported models in BigQuery ML]
@@ -191,8 +145,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MODEL_VALUE = 5;
   /**
-   *
-   *
    * 
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -201,8 +153,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.
@@ -212,8 +162,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.
    * 
@@ -222,8 +170,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_VALUE = 6; /** - * - * *
    * A database.
    * 
@@ -232,8 +178,6 @@ 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.
@@ -243,8 +187,6 @@ 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.
    * 
@@ -253,8 +195,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTINE_VALUE = 9; /** - * - * *
    * A Dataplex lake.
    * 
@@ -263,8 +203,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LAKE_VALUE = 10; /** - * - * *
    * A Dataplex zone.
    * 
@@ -273,8 +211,6 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ZONE_VALUE = 11; /** - * - * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -283,6 +219,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVICE_VALUE = 14; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -307,67 +244,58 @@ 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; - 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; + 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; @@ -383,3 +311,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 5ee8ef505710..9c6a1742e16f 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,16 +11,15 @@
  *
  * 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.EMPTY;
@@ -45,41 +27,37 @@ private ExportTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -95,37 +73,30 @@ 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;
   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,31 +105,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 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 { @@ -169,48 +138,34 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAXONOMIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList 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 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. */ @@ -218,34 +173,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 @@ -253,15 +201,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 @@ -273,7 +218,6 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,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_); } @@ -293,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); } @@ -316,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; @@ -328,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.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: @@ -366,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: @@ -377,104 +326,96 @@ 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].
@@ -482,32 +423,33 @@ 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();
@@ -521,9 +463,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_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
@@ -542,8 +484,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -563,39 +504,38 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -603,8 +543,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_;
         onChanged();
@@ -620,15 +559,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();
@@ -656,32 +593,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -691,12 +624,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() {
@@ -710,22 +643,18 @@ 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; @@ -734,23 +663,20 @@ 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 { @@ -758,124 +684,95 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList taxonomies_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList taxonomies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -883,100 +780,80 @@ 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) { + public Builder setTaxonomies( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); 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 taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies(java.lang.String value) { + public Builder addTaxonomies( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.add(value); 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 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_); 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() { @@ -986,24 +863,20 @@ public Builder clearTaxonomies() { 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) { + public Builder addTaxonomiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); onChanged(); @@ -1011,30 +884,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() { @@ -1044,15 +911,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. */ @@ -1063,15 +927,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() { @@ -1082,9 +943,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); } @@ -1094,12 +955,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(); } @@ -1108,27 +969,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; @@ -1143,4 +1004,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 52% 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 2d5ec72fd5a9..a87ef02a9e7f 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,143 +1,93 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); - public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.DestinationCase - getDestinationCase(); + public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.DestinationCase getDestinationCase(); } 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 790e1bfe1fe9..b1263f043fc6 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,51 +11,47 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTax return taxonomies_; } /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -124,8 +97,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.
    * 
@@ -139,7 +110,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -165,7 +136,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; @@ -175,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.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; } @@ -205,104 +177,96 @@ 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].
@@ -310,32 +274,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();
@@ -350,9 +315,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
@@ -371,8 +336,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -391,39 +355,38 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -431,8 +394,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()) {
@@ -451,10 +413,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_);
           }
@@ -486,27 +447,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) {
@@ -516,30 +475,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.
      * 
@@ -554,8 +504,6 @@ public java.util.List getTax } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -570,8 +518,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -586,8 +532,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -609,8 +553,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -629,8 +571,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -651,8 +591,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -674,8 +612,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -694,8 +630,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -714,8 +648,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -726,7 +658,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); @@ -734,8 +667,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -753,8 +684,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -772,8 +701,6 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -785,8 +712,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -796,22 +721,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 { @@ -819,8 +741,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } } /** - * - * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -828,12 +748,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.
      * 
@@ -842,43 +760,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); } @@ -888,12 +800,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(); } @@ -902,27 +814,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; @@ -937,4 +849,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 90df65ba4a5f..8c17a768dc48 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,67 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -70,8 +57,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A double precision number.
      * 
@@ -80,8 +65,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(1), /** - * - * *
      * An UTF-8 string.
      * 
@@ -90,8 +73,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(2), /** - * - * *
      * A boolean value.
      * 
@@ -100,8 +81,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(3), /** - * - * *
      * A timestamp.
      * 
@@ -110,8 +89,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ TIMESTAMP(4), /** - * - * *
      * A Richtext description.
      * 
@@ -123,8 +100,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default invalid value for a type.
      * 
@@ -133,8 +108,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A double precision number.
      * 
@@ -143,8 +116,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 1; /** - * - * *
      * An UTF-8 string.
      * 
@@ -153,8 +124,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 2; /** - * - * *
      * A boolean value.
      * 
@@ -163,8 +132,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 3; /** - * - * *
      * A timestamp.
      * 
@@ -173,8 +140,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 4; /** - * - * *
      * A Richtext description.
      * 
@@ -183,6 +148,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( @@ -207,55 +173,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; @@ -272,14 +235,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -290,14 +250,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -308,13 +265,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -325,13 +279,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -342,14 +293,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -360,61 +308,57 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -423,13 +367,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.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -438,57 +379,55 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object displayName_; /** - * - * *
        * Required. The display name of the enum value. Must not be an empty string.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -497,7 +436,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 @@ -506,15 +444,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.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -523,15 +460,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 { @@ -540,7 +478,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -552,7 +489,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -576,15 +514,15 @@ public int getSerializedSize() { @java.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; } @@ -604,94 +542,87 @@ 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 @@ -700,34 +631,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(); @@ -737,14 +670,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(); } @@ -759,8 +691,7 @@ 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); + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result = new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -770,52 +701,46 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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_; onChanged(); @@ -846,19 +771,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + 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) { @@ -871,8 +794,6 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** - * - * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -881,13 +802,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; @@ -896,8 +817,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -906,14 +825,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 { @@ -921,8 +841,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -931,22 +849,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -955,18 +871,15 @@ public Builder setDisplayName(java.lang.String value) {
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -975,21 +888,20 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1002,44 +914,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; @@ -1051,18 +960,15 @@ 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; - private java.util.List - allowedValues_; + private java.util.List allowedValues_; /** - * - * *
      * The set of allowed values for this enum.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1073,17 +979,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1094,18 +996,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1116,16 +1014,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1136,17 +1031,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1157,17 +1048,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; @@ -1179,7 +1068,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < allowedValues_.size(); i++) { output.writeMessage(1, allowedValues_.get(i)); } @@ -1193,7 +1083,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; @@ -1203,15 +1094,15 @@ public int getSerializedSize() { @java.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; } @@ -1233,93 +1124,87 @@ 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 @@ -1328,34 +1213,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(); @@ -1370,9 +1257,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 @@ -1391,8 +1278,7 @@ 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); int from_bitField0_ = bitField0_; if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1411,41 +1297,38 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1453,8 +1336,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()) { @@ -1473,10 +1355,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_); } @@ -1508,27 +1389,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) { @@ -1538,30 +1417,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1572,12 +1442,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 { @@ -1585,8 +1452,6 @@ private void ensureAllowedValuesIsMutable() { } } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1597,9 +1462,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) { @@ -1609,8 +1472,6 @@ public int getAllowedValuesCount() { } } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1621,12 +1482,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 { @@ -1634,8 +1492,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa } } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1646,9 +1502,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) { @@ -1665,8 +1519,6 @@ public Builder setAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1677,13 +1529,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()); @@ -1694,8 +1543,6 @@ public Builder setAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1706,12 +1553,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(); @@ -1725,8 +1569,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1737,9 +1579,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) { @@ -1756,8 +1596,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1768,9 +1606,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) { @@ -1784,8 +1620,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1796,13 +1630,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()); @@ -1813,8 +1644,6 @@ public Builder addAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1825,16 +1654,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); @@ -1842,8 +1669,6 @@ public Builder addAllAllowedValues( return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1854,9 +1679,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) { @@ -1869,8 +1692,6 @@ public Builder clearAllowedValues() { return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1881,9 +1702,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) { @@ -1896,8 +1715,6 @@ public Builder removeAllowedValues(int index) { return this; } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1908,17 +1725,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1929,21 +1742,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1954,13 +1762,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 { @@ -1968,8 +1773,6 @@ public Builder removeAllowedValues(int index) { } } /** - * - * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1980,19 +1783,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -2003,20 +1800,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -2027,26 +1818,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(), @@ -2055,7 +1838,6 @@ public Builder removeAllowedValues(int index) { } return allowedValuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2068,12 +1850,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(); } @@ -2082,28 +1864,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; @@ -2118,20 +1899,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeDeclCase_ = 0; 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; } @@ -2147,50 +1926,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() { @@ -2200,39 +1970,30 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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 @@ -2240,26 +2001,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.
    * 
@@ -2269,13 +2025,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; @@ -2287,7 +2042,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_)); } @@ -2304,13 +2060,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; @@ -2320,21 +2075,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: @@ -2367,128 +2123,126 @@ 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(); @@ -2501,9 +2255,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 @@ -2522,8 +2276,7 @@ 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); + com.google.cloud.datacatalog.v1.FieldType result = new com.google.cloud.datacatalog.v1.FieldType(this); if (typeDeclCase_ == 1) { result.typeDecl_ = typeDecl_; } @@ -2543,39 +2296,38 @@ public com.google.cloud.datacatalog.v1.FieldType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -2585,20 +2337,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(); @@ -2626,26 +2375,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) { @@ -2655,12 +2403,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() { @@ -2670,15 +2418,13 @@ public Builder clearTypeDecl() { return this; } + /** - * - * *
      * 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 @@ -2686,14 +2432,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 @@ -2704,14 +2447,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. */ @@ -2722,38 +2462,29 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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. */ @@ -2767,14 +2498,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() { @@ -2787,19 +2515,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 @@ -2807,14 +2529,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 @@ -2832,8 +2551,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { } } /** - * - * *
      * An enum type.
      * 
@@ -2854,8 +2571,6 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType va return this; } /** - * - * *
      * An enum type.
      * 
@@ -2874,8 +2589,6 @@ public Builder setEnumType( return this; } /** - * - * *
      * An enum type.
      * 
@@ -2884,14 +2597,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; } @@ -2907,8 +2616,6 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType return this; } /** - * - * *
      * An enum type.
      * 
@@ -2932,8 +2639,6 @@ public Builder clearEnumType() { return this; } /** - * - * *
      * An enum type.
      * 
@@ -2944,8 +2649,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder getEnumTypeBui return getEnumTypeFieldBuilder().getBuilder(); } /** - * - * *
      * An enum type.
      * 
@@ -2964,8 +2667,6 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr } } /** - * - * *
      * An enum type.
      * 
@@ -2973,32 +2674,26 @@ 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()); typeDecl_ = null; } typeDeclCase_ = 2; - onChanged(); - ; + 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); } @@ -3008,12 +2703,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(); } @@ -3022,27 +2717,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; @@ -3057,4 +2752,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 e777d0d04c08..5460ab3da96a 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 68% 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 2e446e1a2e9c..0a369224d4ab 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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,26 +64,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.
@@ -113,13 +85,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() {
+  public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder getDataplexFilesetOrBuilder() {
     return getDataplexFileset();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -131,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 (dataplexFileset_ != null) {
       output.writeMessage(1, getDataplexFileset());
     }
@@ -145,7 +116,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;
@@ -155,17 +127,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;
@@ -187,104 +159,97 @@ 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.
@@ -292,32 +257,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();
@@ -331,9 +297,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
@@ -352,8 +318,7 @@ 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);
+      com.google.cloud.datacatalog.v1.FilesetSpec result = new com.google.cloud.datacatalog.v1.FilesetSpec(this);
       if (dataplexFilesetBuilder_ == null) {
         result.dataplexFileset_ = dataplexFileset_;
       } else {
@@ -367,39 +332,38 @@ public com.google.cloud.datacatalog.v1.FilesetSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -437,19 +401,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDataplexFilesetFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              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,49 +426,36 @@ public Builder mergeFrom(
 
     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 dataplexFilesetBuilder_ != null || 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. */ 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.
@@ -526,8 +477,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.
@@ -547,8 +496,6 @@ public Builder setDataplexFileset(
       return this;
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -560,9 +507,7 @@ public Builder mergeDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFile
       if (dataplexFilesetBuilder_ == null) {
         if (dataplexFileset_ != null) {
           dataplexFileset_ =
-              com.google.cloud.datacatalog.v1.DataplexFilesetSpec.newBuilder(dataplexFileset_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.newBuilder(dataplexFileset_).mergeFrom(value).buildPartial();
         } else {
           dataplexFileset_ = value;
         }
@@ -574,8 +519,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.
@@ -595,8 +538,6 @@ public Builder clearDataplexFileset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -605,13 +546,11 @@ public Builder clearDataplexFileset() {
      * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
      */
     public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFilesetBuilder() {
-
+      
       onChanged();
       return getDataplexFilesetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -619,19 +558,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.
@@ -640,24 +575,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);
     }
 
@@ -667,12 +599,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();
   }
@@ -681,27 +613,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;
@@ -716,4 +648,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 8792d161cc53..e3f5bd190077 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,83 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -86,29 +64,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 { @@ -119,16 +97,11 @@ 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 @@ -136,34 +109,23 @@ 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() { @@ -173,14 +135,11 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestamp public static final int SIZE_BYTES_FIELD_NUMBER = 4; 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 @@ -189,7 +148,6 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +183,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 +198,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -269,142 +232,137 @@ 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 +380,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,8 +401,7 @@ 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); + com.google.cloud.datacatalog.v1.GcsFileSpec result = new com.google.cloud.datacatalog.v1.GcsFileSpec(this); result.filePath_ = filePath_; if (gcsTimestampsBuilder_ == null) { result.gcsTimestamps_ = gcsTimestamps_; @@ -460,39 +417,38 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -537,31 +493,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filePath_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 32: - { - sizeBytes_ = input.readInt64(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filePath_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getGcsTimestampsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 32: { + sizeBytes_ = input.readInt64(); + + 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) { @@ -574,20 +528,18 @@ public Builder mergeFrom( 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; @@ -596,21 +548,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 { @@ -618,61 +569,54 @@ 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) { + public Builder setFilePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; 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() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); 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) { + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; @@ -680,58 +624,39 @@ 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 gcsTimestampsBuilder_ != null || 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. */ 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) { @@ -747,15 +672,11 @@ 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) { @@ -769,23 +690,17 @@ 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 (gcsTimestamps_ != null) { gcsTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(gcsTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(gcsTimestamps_).mergeFrom(value).buildPartial(); } else { gcsTimestamps_ = value; } @@ -797,15 +712,11 @@ 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() { if (gcsTimestampsBuilder_ == null) { @@ -819,79 +730,60 @@ 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() { - + onChanged(); 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 @@ -899,43 +791,37 @@ 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. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); 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() { - + sizeBytes_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -945,12 +831,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(); } @@ -959,27 +845,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; @@ -994,4 +880,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 334e008900fe..30446eaeaf1a 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,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/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 25557a7b2c37..81d1e86e7342 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,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/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.EMPTY; sampleGcsFileSpecs_ = java.util.Collections.emptyList(); @@ -44,35 +26,32 @@ private GcsFilesetSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsFilesetSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private com.google.protobuf.LazyStringList filePatterns_; /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * For more information, see [Wildcard Names]
@@ -100,15 +79,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.
    * For more information, see [Wildcard Names]
@@ -136,15 +113,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.
    * For more information, see [Wildcard Names]
@@ -172,7 +146,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. */ @@ -180,8 +153,6 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * For more information, see [Wildcard Names]
@@ -209,92 +180,72 @@ 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; 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( @@ -303,7 +254,6 @@ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpec } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -340,8 +291,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; @@ -351,16 +302,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; } @@ -385,136 +337,130 @@ 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(); @@ -531,9 +477,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 @@ -552,8 +498,7 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { filePatterns_ = filePatterns_.getUnmodifiableView(); @@ -577,39 +522,38 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -646,10 +590,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_); } @@ -681,33 +624,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) { @@ -717,21 +658,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList filePatterns_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList filePatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFilePatternsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -759,15 +695,13 @@ 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() { return filePatterns_.getUnmodifiableView(); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -795,15 +729,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.
      * For more information, see [Wildcard Names]
@@ -831,7 +762,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. */ @@ -839,8 +769,6 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -868,16 +796,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.
      * For more information, see [Wildcard Names]
@@ -905,23 +831,21 @@ 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) { + public Builder setFilePatterns( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -949,22 +873,20 @@ 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) { + public Builder addFilePatterns( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -992,19 +914,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -1032,7 +953,6 @@ 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() { @@ -1042,8 +962,6 @@ public Builder clearFilePatterns() { return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -1071,15 +989,15 @@ 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) { + public Builder addFilePatternsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); @@ -1087,34 +1005,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) { @@ -1124,16 +1032,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) { @@ -1143,16 +1047,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) { @@ -1162,16 +1062,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) { @@ -1188,16 +1084,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) { @@ -1211,16 +1103,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) { @@ -1236,16 +1124,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) { @@ -1262,16 +1146,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) { @@ -1285,16 +1165,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) { @@ -1308,22 +1184,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); @@ -1331,16 +1204,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) { @@ -1353,16 +1222,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) { @@ -1375,55 +1240,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 { @@ -1431,66 +1283,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(), @@ -1499,9 +1333,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); } @@ -1511,12 +1345,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(); } @@ -1525,27 +1359,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; @@ -1560,4 +1394,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 aef969fa538c..ea775142ea64 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.
    * For more information, see [Wildcard Names]
@@ -53,13 +35,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.
    * For more information, see [Wildcard Names]
@@ -87,13 +67,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.
    * For more information, see [Wildcard Names]
@@ -121,14 +98,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.
    * For more information, see [Wildcard Names]
@@ -156,76 +130,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..b1a65b3644df --- /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" + + "\"z\n\016GcsFilesetSpec\022\032\n\rfile_patterns\030\001 \003(" + + "\tB\003\340A\002\022L\n\025sample_gcs_file_specs\030\002 \003(\0132(." + + "google.cloud.datacatalog.v1.GcsFileSpecB" + + "\003\340A\003\"\212\001\n\013GcsFileSpec\022\026\n\tfile_path\030\001 \001(\tB" + + "\003\340A\002\022J\n\016gcs_timestamps\030\002 \001(\0132-.google.cl" + + "oud.datacatalog.v1.SystemTimestampsB\003\340A\003" + + "\022\027\n\nsize_bytes\030\004 \001(\003B\003\340A\003B\313\001\n\037com.google" + + ".cloud.datacatalog.v1P\001ZFgoogle.golang.o" + + "rg/genproto/googleapis/cloud/datacatalog" + + "/v1;datacatalog\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 19ecbafb3555..dd56989fe96d 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,14 +98,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 @@ -139,14 +110,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 @@ -154,8 +122,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.
    * 
@@ -168,7 +134,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,7 +166,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; @@ -210,18 +177,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; @@ -246,103 +214,96 @@ 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].
@@ -350,32 +311,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();
@@ -391,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_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
@@ -412,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1.GetEntryGroupRequest result = new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(this);
       result.name_ = name_;
       if (readMaskBuilder_ == null) {
         result.readMask_ = readMask_;
@@ -428,39 +389,38 @@ public com.google.cloud.datacatalog.v1.GetEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -468,8 +428,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_;
         onChanged();
@@ -503,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -558,23 +512,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 { @@ -582,67 +533,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -650,33 +588,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 readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * 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() { @@ -687,8 +616,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -709,15 +636,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(); onChanged(); @@ -728,8 +654,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -740,7 +664,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -752,8 +676,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -772,8 +694,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -781,13 +701,11 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -798,12 +716,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.
      * 
@@ -811,24 +728,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); } @@ -838,12 +752,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(); } @@ -852,27 +766,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; @@ -887,4 +801,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 61% 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 c889cda1f333..aa41ddbb139b 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -185,104 +159,97 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.GetEntryRequest result = new com.google.cloud.datacatalog.v1.GetEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.GetEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 62% 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 b734173d71d7..020630f082bc 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,103 +160,96 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.GetPolicyTagRequest result = new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.GetPolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 6bdd3cb35aec..c3f3ded969e3 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,104 +160,96 @@ 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].
@@ -291,32 +257,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();
@@ -326,9 +293,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
@@ -347,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.GetTagTemplateRequest result = new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -358,39 +324,38 @@ public com.google.cloud.datacatalog.v1.GetTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -398,8 +363,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_;
         onChanged();
@@ -430,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -455,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -479,23 +437,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 { @@ -503,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +522,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(); } @@ -594,27 +536,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; @@ -629,4 +571,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 62% 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 9d331fdafb0f..72d0a8ae9028 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,103 +160,96 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.GetTaxonomyRequest result = new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.GetTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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/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 176e40e1e4fe..bee3e707a5d0 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,58 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -95,39 +73,31 @@ 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;
   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,31 +106,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 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 { @@ -170,14 +138,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 @@ -185,26 +150,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.
    * 
@@ -214,21 +174,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 @@ -236,26 +193,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.
    * 
@@ -263,16 +215,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; @@ -284,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -307,14 +258,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; @@ -324,22 +273,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: @@ -375,104 +326,96 @@ 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].
@@ -480,32 +423,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();
@@ -523,9 +467,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
@@ -544,8 +488,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(this);
       result.parent_ = parent_;
       if (sourceCase_ == 2) {
         if (inlineSourceBuilder_ == null) {
@@ -570,39 +513,38 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -610,27 +552,23 @@ 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_;
         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();
@@ -658,32 +596,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -693,12 +630,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() {
@@ -708,24 +645,21 @@ public Builder clearSource() {
       return this;
     }
 
+
     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; @@ -734,23 +668,20 @@ 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 { @@ -758,86 +689,67 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.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 @@ -845,14 +757,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 @@ -870,8 +779,6 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { } } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -892,8 +799,6 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1.InlineSource valu return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -912,8 +817,6 @@ public Builder setInlineSource( return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -922,13 +825,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; } @@ -944,8 +844,6 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource va return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -969,8 +867,6 @@ public Builder clearInlineSource() { return this; } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -981,8 +877,6 @@ public com.google.cloud.datacatalog.v1.InlineSource.Builder getInlineSourceBuild return getInlineSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -1001,8 +895,6 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu } } /** - * - * *
      * Inline source taxonomy to import.
      * 
@@ -1010,44 +902,32 @@ 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()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return inlineSourceBuilder_; } 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 @@ -1055,14 +935,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 @@ -1080,16 +957,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(); @@ -1103,8 +977,6 @@ public Builder setCrossRegionalSource( return this; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1123,25 +995,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; } @@ -1157,8 +1022,6 @@ public Builder mergeCrossRegionalSource( return this; } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1182,21 +1045,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.
      * 
@@ -1204,8 +1062,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 { @@ -1216,8 +1073,6 @@ public Builder clearCrossRegionalSource() { } } /** - * - * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1225,32 +1080,26 @@ 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()); source_ = null; } sourceCase_ = 3; - onChanged(); - ; + 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); } @@ -1260,12 +1109,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(); } @@ -1274,27 +1123,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; @@ -1309,4 +1158,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 5babff4b47d7..428417cc9cc2 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,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/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.
    * 
@@ -88,32 +55,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 146dcdd0b31a..53e1ebf47c3f 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,51 +11,47 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Imported taxonomies.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** - * - * *
    * Imported taxonomies.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Imported taxonomies.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Imported taxonomies.
    * 
@@ -133,12 +104,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; @@ -150,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 < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -164,7 +136,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; @@ -174,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.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; } @@ -204,104 +177,96 @@ 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].
@@ -309,32 +274,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();
@@ -349,9 +315,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
@@ -370,8 +336,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -390,39 +355,38 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -430,8 +394,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()) {
@@ -450,10 +413,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_);
           }
@@ -485,26 +447,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) {
@@ -514,29 +475,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.
      * 
@@ -551,8 +504,6 @@ public java.util.List getTaxonomiesLis } } /** - * - * *
      * Imported taxonomies.
      * 
@@ -567,8 +518,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Imported taxonomies.
      * 
@@ -583,15 +532,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(); @@ -605,8 +553,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -625,8 +571,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -647,15 +591,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(); @@ -669,15 +612,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()); @@ -688,8 +630,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder bu return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -708,8 +648,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -720,7 +658,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); @@ -728,8 +667,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -747,8 +684,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Imported taxonomies.
      * 
@@ -766,44 +701,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 { @@ -811,8 +741,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** - * - * *
      * Imported taxonomies.
      * 
@@ -820,55 +748,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); } @@ -878,12 +800,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(); } @@ -892,27 +814,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; @@ -927,4 +849,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 e22be0169f9a..a525b1210ffc 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,145 +1,106 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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( @@ -148,7 +109,6 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,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 { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -174,7 +135,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; @@ -184,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -213,136 +175,130 @@ 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(); @@ -357,9 +313,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 @@ -378,8 +334,7 @@ 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); int from_bitField0_ = bitField0_; if (taxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -398,39 +353,38 @@ public com.google.cloud.datacatalog.v1.InlineSource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -457,10 +411,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_); } @@ -492,27 +445,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) { @@ -522,37 +473,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) { @@ -562,15 +502,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) { @@ -580,15 +516,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) { @@ -598,15 +530,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) { @@ -623,15 +551,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) { @@ -645,15 +569,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) { @@ -669,15 +589,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) { @@ -694,15 +610,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) { @@ -716,15 +628,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) { @@ -738,21 +646,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); @@ -760,15 +665,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) { @@ -781,15 +682,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) { @@ -802,52 +699,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 { @@ -855,72 +739,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); } @@ -930,12 +798,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(); } @@ -944,27 +812,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; @@ -979,4 +847,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 67% 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 582bc0667a15..005f9b5712a9 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.
    * 
@@ -82,8 +56,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Default unknown system.
    * 
@@ -92,8 +64,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BigQuery.
    * 
@@ -102,8 +72,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int BIGQUERY_VALUE = 1; /** - * - * *
    * Cloud Pub/Sub.
    * 
@@ -112,8 +80,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int CLOUD_PUBSUB_VALUE = 2; /** - * - * *
    * Dataproc Metastore.
    * 
@@ -122,8 +88,6 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int DATAPROC_METASTORE_VALUE = 3; /** - * - * *
    * Dataplex.
    * 
@@ -132,6 +96,7 @@ public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum */ public static final int DATAPLEX_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,53 +121,51 @@ 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; - 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; + 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; @@ -218,3 +181,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 6baf6c244ce1..7b69f36e1365 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,44 +27,38 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,32 +67,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 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 { @@ -127,15 +101,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -146,15 +117,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -163,30 +131,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 { @@ -197,8 +165,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.
@@ -207,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 @@ -215,8 +180,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -225,7 +188,6 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ @java.lang.Override @@ -233,8 +195,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.
@@ -250,7 +210,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -262,7 +221,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -288,13 +248,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;
@@ -304,20 +266,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;
@@ -346,103 +311,96 @@ 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].
@@ -450,32 +408,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();
@@ -495,9 +454,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
@@ -516,8 +475,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ListEntriesRequest result = new com.google.cloud.datacatalog.v1.ListEntriesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -534,39 +492,38 @@ public com.google.cloud.datacatalog.v1.ListEntriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -574,8 +531,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_;
         onChanged();
@@ -616,37 +572,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,23 +612,19 @@ public Builder mergeFrom(
 
     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; @@ -684,24 +633,21 @@ 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 { @@ -709,86 +655,70 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -796,38 +726,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -835,21 +759,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; @@ -858,22 +780,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 { @@ -881,64 +802,57 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -946,13 +860,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.
@@ -961,15 +870,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 readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -978,7 +884,6 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -989,8 +894,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1014,8 +917,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.
@@ -1025,7 +926,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();
         onChanged();
@@ -1036,8 +938,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.
@@ -1051,7 +951,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
         if (readMask_ != null) {
           readMask_ =
-              com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
         } else {
           readMask_ = value;
         }
@@ -1063,8 +963,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.
@@ -1086,8 +984,6 @@ public Builder clearReadMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1098,13 +994,11 @@ public Builder clearReadMask() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
-
+      
       onChanged();
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1118,12 +1012,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.
@@ -1134,24 +1027,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);
     }
 
@@ -1161,12 +1051,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();
   }
@@ -1175,27 +1065,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;
@@ -1210,4 +1100,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 69%
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 16c60a377523..52da0dd61a3a 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,103 +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/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.
@@ -106,13 +71,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.
@@ -121,13 +83,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 8416a49c62e3..9ab02cfa751a 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Entry details.
    * 
@@ -85,8 +64,6 @@ public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * Entry details.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Entry details.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Entry details.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,103 +236,96 @@ 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].
@@ -369,32 +333,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();
@@ -411,9 +376,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
@@ -432,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -453,39 +417,38 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -493,8 +456,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()) {
@@ -513,10 +475,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_);
           }
@@ -552,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -587,28 +546,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.
      * 
@@ -623,8 +575,6 @@ public java.util.List getEntriesList() { } } /** - * - * *
      * Entry details.
      * 
@@ -639,8 +589,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Entry details.
      * 
@@ -655,15 +603,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(); @@ -677,8 +624,6 @@ public Builder setEntries(int index, com.google.cloud.datacatalog.v1.Entry value return this; } /** - * - * *
      * Entry details.
      * 
@@ -697,8 +642,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -719,15 +662,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(); @@ -741,15 +683,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()); @@ -760,8 +701,6 @@ public Builder addEntries(com.google.cloud.datacatalog.v1.Entry.Builder builderF return this; } /** - * - * *
      * Entry details.
      * 
@@ -780,8 +719,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -792,7 +729,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); @@ -800,8 +738,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -819,8 +755,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Entry details.
      * 
@@ -838,44 +772,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 { @@ -883,8 +812,6 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int in } } /** - * - * *
      * Entry details.
      * 
@@ -892,47 +819,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_; @@ -940,21 +862,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; @@ -963,22 +883,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 { @@ -986,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +972,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(); } @@ -1074,27 +986,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; @@ -1109,4 +1021,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 c6a021daec3f..8b8d79ec6b56 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,44 +27,38 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,32 +67,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 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 { @@ -127,8 +101,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. The maximum number of items to return.
    * Default is 10. Maximum limit is 1000.
@@ -136,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -147,15 +118,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -164,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 { @@ -196,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,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_); } @@ -231,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_); @@ -244,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; } @@ -278,104 +249,96 @@ 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].
@@ -383,32 +346,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,8 +407,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ListEntryGroupsRequest result = new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -456,39 +419,38 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -496,8 +458,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_;
         onChanged();
@@ -535,31 +496,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -572,23 +529,19 @@ public Builder mergeFrom(
 
     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; @@ -597,24 +550,21 @@ 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 { @@ -622,79 +572,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of items to return.
      * Default is 10. Maximum limit is 1000.
@@ -702,7 +637,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -710,8 +644,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of items to return.
      * Default is 10. Maximum limit is 1000.
@@ -719,19 +651,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of items to return.
      * Default is 10. Maximum limit is 1000.
@@ -739,11 +668,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -751,21 +679,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; @@ -774,22 +700,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 { @@ -797,71 +722,64 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,12 +789,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(); } @@ -885,27 +803,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; @@ -920,4 +838,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 5d7d2998513e..636ce5af7efa 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,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 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.
    * Default is 10. Maximum limit is 1000.
@@ -64,35 +37,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 df2cef0c2805..1b958ac4cf35 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List entryGroups_;
   /**
-   *
-   *
    * 
    * Entry group details.
    * 
@@ -85,8 +64,6 @@ public java.util.List getEntryGroups return entryGroups_; } /** - * - * *
    * Entry group details.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** - * - * *
    * Entry group details.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { return entryGroups_.get(index); } /** - * - * *
    * Entry group details.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -219,7 +188,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 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,29 +546,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.
      * 
@@ -625,8 +575,6 @@ public java.util.List getEntryGroups } } /** - * - * *
      * Entry group details.
      * 
@@ -641,8 +589,6 @@ public int getEntryGroupsCount() { } } /** - * - * *
      * Entry group details.
      * 
@@ -657,15 +603,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(); @@ -679,8 +624,6 @@ public Builder setEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGr return this; } /** - * - * *
      * Entry group details.
      * 
@@ -699,8 +642,6 @@ public Builder setEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -721,15 +662,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(); @@ -743,8 +683,6 @@ public Builder addEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGr return this; } /** - * - * *
      * Entry group details.
      * 
@@ -763,8 +701,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -783,8 +719,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -795,7 +729,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); @@ -803,8 +738,6 @@ public Builder addAllEntryGroups( return this; } /** - * - * *
      * Entry group details.
      * 
@@ -822,8 +755,6 @@ public Builder clearEntryGroups() { return this; } /** - * - * *
      * Entry group details.
      * 
@@ -841,44 +772,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 { @@ -886,8 +812,6 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild } } /** - * - * *
      * Entry group details.
      * 
@@ -895,48 +819,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_; @@ -944,21 +862,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; @@ -967,22 +883,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 { @@ -990,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1064,12 +972,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(); } @@ -1078,27 +986,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; @@ -1113,4 +1021,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 67% 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 f63ce74f64e5..a0dbbc9630b1 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,43 +27,37 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,31 +66,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 { @@ -125,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively.
@@ -134,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -145,8 +116,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -154,7 +123,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -163,15 +131,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -179,15 +146,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 { @@ -196,7 +164,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,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_); } @@ -231,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_); @@ -244,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.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; } @@ -278,104 +249,96 @@ 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].
@@ -383,32 +346,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();
@@ -422,9 +386,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
@@ -443,8 +407,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ListPolicyTagsRequest result = new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -456,39 +419,38 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -496,8 +458,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_;
         onChanged();
@@ -535,31 +496,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -572,22 +529,18 @@ public Builder mergeFrom(
 
     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; @@ -596,23 +549,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 { @@ -620,76 +570,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -697,7 +632,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -705,8 +639,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -714,19 +646,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -734,11 +663,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -746,8 +674,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -755,13 +681,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; @@ -770,8 +696,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -779,14 +703,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 { @@ -794,8 +719,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -803,22 +726,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -826,18 +747,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -845,23 +763,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,12 +789,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(); } @@ -885,27 +803,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; @@ -920,4 +838,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 84740ef4b264..1cfb74cc4011 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.
@@ -77,13 +47,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.
@@ -91,8 +58,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 b742d572060f..450c6cc38ffb 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List policyTags_;
   /**
-   *
-   *
    * 
    * The policy tags that belong to the taxonomy.
    * 
@@ -85,8 +64,6 @@ public java.util.List getPolicyTagsLi return policyTags_; } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** - * - * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,29 +546,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.
      * 
@@ -625,8 +575,6 @@ public java.util.List getPolicyTagsLi } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -641,8 +589,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -657,15 +603,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(); @@ -679,8 +624,6 @@ public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTa return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -699,8 +642,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -721,15 +662,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(); @@ -743,8 +683,6 @@ public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTa return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -763,8 +701,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -783,8 +719,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -795,7 +729,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); @@ -803,8 +738,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -822,8 +755,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -841,44 +772,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 { @@ -886,8 +812,6 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder } } /** - * - * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -895,48 +819,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_; @@ -944,21 +862,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; @@ -967,22 +883,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 { @@ -990,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1064,12 +972,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(); } @@ -1078,27 +986,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; @@ -1113,4 +1021,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 67% 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 8266c471b0c2..ebe238ba2e66 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the Data Catalog resource to list the tags of.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -81,10 +60,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 @@ -93,15 +69,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.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -109,18 +84,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 { @@ -131,14 +105,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -149,15 +120,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -166,30 +134,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,7 +166,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } 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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -233,7 +201,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 +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.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; } @@ -279,104 +250,97 @@ 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].
@@ -384,32 +348,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();
@@ -423,9 +388,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
@@ -444,8 +409,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ListTagsRequest result = new com.google.cloud.datacatalog.v1.ListTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -457,39 +421,38 @@ public com.google.cloud.datacatalog.v1.ListTagsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -497,8 +460,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_;
         onChanged();
@@ -536,31 +498,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -573,8 +531,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -582,16 +538,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; @@ -600,8 +554,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -609,17 +561,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 { @@ -627,8 +578,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -636,25 +585,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -662,21 +607,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -684,34 +624,29 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -719,36 +654,30 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -756,21 +685,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; @@ -779,22 +706,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 { @@ -802,71 +728,64 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -876,12 +795,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(); } @@ -890,27 +809,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; @@ -925,4 +844,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 d8c81997c5a4..ef9469953f86 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.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -33,16 +15,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.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -50,51 +27,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 ba28e7241ced..2799465098e7 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List tags_;
   /**
-   *
-   *
    * 
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -85,8 +64,6 @@ public java.util.List getTagsList() { return tags_; } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -264,104 +235,97 @@ 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].
@@ -369,32 +333,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();
@@ -411,9 +376,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
@@ -432,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -453,39 +417,38 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -493,8 +456,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()) {
@@ -513,10 +475,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_);
           }
@@ -552,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -587,28 +546,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.
      * 
@@ -623,8 +575,6 @@ public java.util.List getTagsList() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -639,8 +589,6 @@ public int getTagsCount() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -655,15 +603,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(); @@ -677,15 +624,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()); @@ -696,8 +642,6 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder bu return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -718,15 +662,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(); @@ -740,15 +683,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()); @@ -759,15 +701,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()); @@ -778,8 +719,6 @@ public Builder addTags(int index, com.google.cloud.datacatalog.v1.Tag.Builder bu return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -790,7 +729,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); @@ -798,8 +738,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -817,8 +755,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -836,44 +772,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 { @@ -881,8 +812,6 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -890,47 +819,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_; @@ -938,21 +862,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; @@ -961,22 +883,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 { @@ -984,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1058,12 +972,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(); } @@ -1072,27 +986,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; @@ -1107,4 +1021,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 67% 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 15d8e0b52afa..fb846e28be74 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_ = "";
@@ -45,43 +27,37 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,31 +66,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 { @@ -125,15 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -144,8 +115,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -153,7 +122,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -162,15 +130,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -178,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 { @@ -195,7 +163,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,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_); } @@ -230,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_); @@ -243,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.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 (!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; } @@ -277,104 +248,96 @@ 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].
@@ -382,32 +345,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();
@@ -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_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
@@ -442,8 +406,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ListTaxonomiesRequest result = new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -455,39 +418,38 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -495,8 +457,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_;
         onChanged();
@@ -534,31 +495,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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,22 +528,18 @@ public Builder mergeFrom(
 
     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; @@ -595,23 +548,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 { @@ -619,83 +569,67 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -703,38 +637,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -742,8 +670,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.
@@ -751,13 +677,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; @@ -766,8 +692,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -775,14 +699,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 { @@ -790,8 +715,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -799,22 +722,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -822,18 +743,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -841,23 +759,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - 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 +785,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(); } @@ -881,27 +799,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; @@ -916,4 +834,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 57% 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 58f63d94ffd8..627a81520201 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.
@@ -76,13 +46,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.
@@ -90,8 +57,8 @@ public interface ListTaxonomiesRequestOrBuilder
    * 
* * 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/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 c971c4e04181..703f86c02cb4 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -85,8 +64,6 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,29 +546,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.
      * 
@@ -625,8 +575,6 @@ public java.util.List getTaxonomiesLis } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -641,8 +589,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -657,15 +603,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(); @@ -679,8 +624,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -699,8 +642,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -721,15 +662,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(); @@ -743,15 +683,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()); @@ -762,8 +701,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder bu return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -782,8 +719,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -794,7 +729,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); @@ -802,8 +738,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -821,8 +755,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -840,44 +772,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 { @@ -885,8 +812,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -894,48 +819,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_; @@ -943,21 +862,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; @@ -966,22 +883,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 { @@ -989,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,12 +972,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(); } @@ -1077,27 +986,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; @@ -1112,4 +1021,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/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 76% 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 e90f0e03c085..7252375ee822 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,57 +11,53 @@
  *
  * 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() {}
+  private LookupEntryRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LookupEntryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 +73,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]
@@ -130,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]
@@ -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. For more information, see [Full Resource Name]
@@ -181,17 +149,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; } @@ -203,8 +172,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.
    * Examples:
@@ -219,15 +186,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.
    * Examples:
@@ -242,7 +206,6 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; - * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -253,7 +216,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; @@ -262,8 +226,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
@@ -278,17 +240,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; } @@ -300,8 +263,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 5; /** - * - * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -314,15 +275,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) of the resource.
    * FQNs take two forms:
@@ -335,7 +293,6 @@ public boolean hasFullyQualifiedName() {
    * 
* * string fully_qualified_name = 5; - * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { @@ -346,7 +303,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; @@ -355,8 +313,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -369,17 +325,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; } @@ -390,7 +347,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -402,7 +358,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -438,24 +395,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 (!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: @@ -493,103 +452,96 @@ 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].
@@ -597,32 +549,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();
@@ -632,9 +585,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
@@ -653,8 +606,7 @@ 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);
+      com.google.cloud.datacatalog.v1.LookupEntryRequest result = new com.google.cloud.datacatalog.v1.LookupEntryRequest(this);
       if (targetNameCase_ == 1) {
         result.targetName_ = targetName_;
       }
@@ -673,39 +625,38 @@ public com.google.cloud.datacatalog.v1.LookupEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -713,34 +664,29 @@ 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;
       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();
@@ -768,34 +714,30 @@ 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
-            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
+            default: {
+              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,12 +747,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() {
@@ -820,9 +762,8 @@ public Builder clearTargetName() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -833,7 +774,6 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -841,8 +781,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]
@@ -853,7 +791,6 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; - * * @return The linkedResource. */ @java.lang.Override @@ -863,7 +800,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; @@ -874,8 +812,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]
@@ -886,18 +822,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; } @@ -907,8 +844,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]
@@ -919,22 +854,20 @@ 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) { + public Builder setLinkedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 1; + 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]
@@ -945,7 +878,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 1; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -957,8 +889,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]
@@ -969,15 +899,15 @@ 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) { + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; onChanged(); @@ -985,8 +915,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1001,7 +929,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -1009,8 +936,6 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1025,7 +950,6 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; - * * @return The sqlResource. */ @java.lang.Override @@ -1035,7 +959,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; @@ -1046,8 +971,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1062,18 +985,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; } @@ -1083,8 +1007,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1099,22 +1021,20 @@ 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) { + public Builder setSqlResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 3; + throw new NullPointerException(); + } + targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1129,7 +1049,6 @@ public Builder setSqlResource(java.lang.String value) {
      * 
* * string sql_resource = 3; - * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -1141,8 +1060,6 @@ public Builder clearSqlResource() { return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1157,15 +1074,15 @@ 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) { + public Builder setSqlResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 3; targetName_ = value; onChanged(); @@ -1173,8 +1090,6 @@ public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1187,7 +1102,6 @@ public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string fully_qualified_name = 5; - * * @return Whether the fullyQualifiedName field is set. */ @java.lang.Override @@ -1195,8 +1109,6 @@ public boolean hasFullyQualifiedName() { return targetNameCase_ == 5; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1209,7 +1121,6 @@ public boolean hasFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -1219,7 +1130,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; @@ -1230,8 +1142,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1244,18 +1154,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; } @@ -1265,8 +1176,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1279,22 +1188,20 @@ 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) { + public Builder setFullyQualifiedName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 5; + throw new NullPointerException(); + } + targetNameCase_ = 5; targetName_ = value; onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1307,7 +1214,6 @@ public Builder setFullyQualifiedName(java.lang.String value) {
      * 
* * string fully_qualified_name = 5; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -1319,8 +1225,6 @@ public Builder clearFullyQualifiedName() { return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1333,23 +1237,23 @@ 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) { + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 5; 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); } @@ -1359,12 +1263,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(); } @@ -1373,27 +1277,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; @@ -1408,4 +1312,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 86% 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 f8d20c0479fc..3578a32876a7 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]
@@ -36,13 +18,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]
@@ -53,13 +32,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]
@@ -70,14 +46,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.
    * Examples:
@@ -92,13 +66,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.
    * Examples:
@@ -113,13 +84,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.
    * Examples:
@@ -134,14 +102,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) of the resource.
    * FQNs take two forms:
@@ -154,13 +120,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string fully_qualified_name = 5; - * * @return Whether the fullyQualifiedName field is set. */ boolean hasFullyQualifiedName(); /** - * - * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -173,13 +136,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string fully_qualified_name = 5; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -192,10 +152,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string fully_qualified_name = 5; - * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString + getFullyQualifiedNameBytes(); public 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/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 a86dad8ea99a..f988c1224ac4 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,16 +98,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 @@ -141,34 +110,23 @@ 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() { @@ -176,7 +134,6 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +166,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; @@ -218,18 +177,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; @@ -254,104 +214,96 @@ 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].
@@ -359,32 +311,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();
@@ -400,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_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
@@ -421,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest result = new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(this);
       result.name_ = name_;
       if (contactsBuilder_ == null) {
         result.contacts_ = contacts_;
@@ -437,39 +389,38 @@ public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -477,8 +428,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_;
         onChanged();
@@ -512,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getContactsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getContactsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -543,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -567,23 +512,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 { @@ -591,67 +533,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -659,58 +588,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 contactsBuilder_ != null || 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. */ 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) { @@ -726,17 +636,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(); onChanged(); @@ -747,23 +654,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 (contacts_ != null) { contacts_ = - com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_).mergeFrom(value).buildPartial(); } else { contacts_ = value; } @@ -775,15 +676,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() { if (contactsBuilder_ == null) { @@ -797,71 +694,55 @@ 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() { - + onChanged(); 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); } @@ -871,12 +752,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(); } @@ -885,27 +766,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; @@ -920,4 +801,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 dda3316dbc80..40268165adda 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,16 +98,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 @@ -141,34 +110,23 @@ 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() { @@ -176,7 +134,6 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(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 +166,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; @@ -218,18 +177,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; @@ -254,104 +214,96 @@ 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].
@@ -359,32 +311,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();
@@ -400,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_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
@@ -421,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest result = new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(this);
       result.name_ = name_;
       if (entryOverviewBuilder_ == null) {
         result.entryOverview_ = entryOverview_;
@@ -437,39 +389,38 @@ public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -477,8 +428,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_;
         onChanged();
@@ -512,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryOverviewFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryOverviewFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -543,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -567,23 +512,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 { @@ -591,67 +533,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -659,58 +588,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 entryOverviewBuilder_ != null || 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. */ 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) { @@ -726,15 +636,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) { @@ -748,23 +654,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 (entryOverview_ != null) { entryOverview_ = - com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_).mergeFrom(value).buildPartial(); } else { entryOverview_ = value; } @@ -776,15 +676,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() { if (entryOverviewBuilder_ == null) { @@ -798,71 +694,55 @@ 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() { - + onChanged(); 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); } @@ -872,12 +752,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(); } @@ -886,27 +766,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; @@ -921,4 +801,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 c00c03019f7d..6d428f880946 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,81 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
    * True if the entry is starred by the user; false otherwise.
    * 
* * bool starred = 1; - * * @return The starred. */ @java.lang.Override @@ -86,14 +65,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 @@ -101,14 +77,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 @@ -116,8 +89,6 @@ public com.google.protobuf.Timestamp getStarTime() { return starTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; } /** - * - * *
    * Set if the entry is starred; unset otherwise.
    * 
@@ -130,7 +101,6 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (starred_ != false) { output.writeBool(1, starred_); } @@ -159,10 +130,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; @@ -172,18 +145,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; @@ -197,7 +171,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(); @@ -207,136 +182,130 @@ 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(); @@ -352,9 +321,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 @@ -373,8 +342,7 @@ 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); + com.google.cloud.datacatalog.v1.PersonalDetails result = new com.google.cloud.datacatalog.v1.PersonalDetails(this); result.starred_ = starred_; if (starTimeBuilder_ == null) { result.starTime_ = starTime_; @@ -389,39 +357,38 @@ public com.google.cloud.datacatalog.v1.PersonalDetails buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -429,8 +396,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()); } @@ -463,25 +429,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - starred_ = input.readBool(); - - break; - } // case 8 - case 18: - { - input.readMessage(getStarTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + starred_ = input.readBool(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStarTimeFieldBuilder().getBuilder(), + extensionRegistry); + + 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,16 +457,13 @@ public Builder mergeFrom( return this; } - 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 @@ -509,36 +471,30 @@ 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. */ public Builder setStarred(boolean value) { - + starred_ = value; onChanged(); return this; } /** - * - * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; - * * @return This builder for chaining. */ public Builder clearStarred() { - + starred_ = false; onChanged(); return this; @@ -546,33 +502,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 starTimeBuilder_ != null || starTime_ != null; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; - * * @return The starTime. */ public com.google.protobuf.Timestamp getStarTime() { @@ -583,8 +530,6 @@ public com.google.protobuf.Timestamp getStarTime() { } } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -605,15 +550,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(); onChanged(); @@ -624,8 +568,6 @@ public Builder setStarTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -636,7 +578,7 @@ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { if (starTimeBuilder_ == null) { if (starTime_ != null) { starTime_ = - com.google.protobuf.Timestamp.newBuilder(starTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(starTime_).mergeFrom(value).buildPartial(); } else { starTime_ = value; } @@ -648,8 +590,6 @@ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -668,8 +608,6 @@ public Builder clearStarTime() { return this; } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -677,13 +615,11 @@ public Builder clearStarTime() { * .google.protobuf.Timestamp star_time = 2; */ public com.google.protobuf.Timestamp.Builder getStarTimeBuilder() { - + onChanged(); return getStarTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -694,12 +630,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.
      * 
@@ -707,24 +642,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); } @@ -734,12 +666,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(); } @@ -748,27 +680,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; @@ -783,4 +715,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 0608e0447939..c8cbcee530bb 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,134 +11,120 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object text_; /** - * - * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -164,29 +133,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 { @@ -195,7 +164,6 @@ public com.google.protobuf.ByteString getTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,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(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -231,15 +200,15 @@ public int getSerializedSize() { @java.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; } @@ -259,94 +228,87 @@ 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 @@ -356,41 +318,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(); @@ -400,9 +360,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 @@ -421,8 +381,7 @@ 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); + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(this); result.text_ = text_; onBuilt(); return result; @@ -432,41 +391,38 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -474,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_; onChanged(); @@ -506,19 +461,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = input.readStringRequireUtf8(); + + 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,20 +484,18 @@ public Builder mergeFrom( 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; @@ -553,21 +504,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 { @@ -575,66 +525,58 @@ 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) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -647,12 +589,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(); } @@ -661,28 +603,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; @@ -697,98 +638,86 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object text_; /** - * - * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -797,29 +726,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 { @@ -828,7 +757,6 @@ public com.google.protobuf.ByteString getTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -840,7 +768,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -864,15 +793,15 @@ public int getSerializedSize() { @java.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; } @@ -892,94 +821,87 @@ 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 @@ -989,41 +911,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(); @@ -1033,14 +953,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(); } @@ -1055,8 +974,7 @@ 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); + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(this); result.text_ = text_; onBuilt(); return result; @@ -1066,41 +984,38 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1108,9 +1023,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_; onChanged(); @@ -1141,19 +1054,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = input.readStringRequireUtf8(); + + 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) { @@ -1166,20 +1077,18 @@ public Builder mergeFrom( 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; @@ -1188,21 +1097,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 { @@ -1210,66 +1118,58 @@ 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) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1282,13 +1182,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(); } @@ -1297,28 +1196,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; @@ -1333,98 +1231,86 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object text_; /** - * - * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -1433,29 +1319,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 { @@ -1464,7 +1350,6 @@ public com.google.protobuf.ByteString getTextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1476,7 +1361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1500,15 +1386,15 @@ public int getSerializedSize() { @java.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; } @@ -1528,94 +1414,87 @@ 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 @@ -1625,41 +1504,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(); @@ -1669,14 +1546,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(); } @@ -1691,8 +1567,7 @@ 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); + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(this); result.text_ = text_; onBuilt(); return result; @@ -1702,52 +1577,46 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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_; onChanged(); @@ -1778,19 +1647,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + text_ = input.readStringRequireUtf8(); + + 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) { @@ -1803,20 +1670,18 @@ public Builder mergeFrom( 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; @@ -1825,21 +1690,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 { @@ -1847,66 +1711,58 @@ 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) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1919,44 +1775,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; @@ -1968,65 +1821,61 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -2038,7 +1887,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2056,13 +1906,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; @@ -2081,94 +1930,87 @@ 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 @@ -2178,41 +2020,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(); @@ -2220,14 +2060,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(); } @@ -2242,8 +2081,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; } @@ -2252,41 +2090,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; @@ -2294,9 +2129,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; @@ -2323,13 +2156,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) { @@ -2339,7 +2171,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2352,44 +2183,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; @@ -2401,65 +2229,61 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -2471,7 +2295,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2489,13 +2314,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; @@ -2514,94 +2338,87 @@ 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 @@ -2611,41 +2428,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(); @@ -2653,9 +2468,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 @@ -2674,8 +2489,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; } @@ -2684,41 +2498,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; @@ -2726,8 +2537,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; @@ -2754,13 +2564,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) { @@ -2770,7 +2579,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2783,12 +2591,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(); } @@ -2797,28 +2605,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; @@ -2833,61 +2640,58 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -2899,7 +2703,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2917,13 +2722,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; @@ -2942,94 +2746,87 @@ 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 @@ -3039,41 +2836,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(); @@ -3081,9 +2876,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 @@ -3102,8 +2897,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; } @@ -3112,41 +2906,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; @@ -3154,8 +2945,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; @@ -3182,13 +2972,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) { @@ -3198,7 +2987,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3211,12 +2999,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(); } @@ -3225,28 +3013,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; @@ -3261,14 +3048,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int schemaCase_ = 0; 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), @@ -3278,7 +3064,6 @@ public enum SchemaCase CSV(6), SCHEMA_NOT_SET(0); private final int value; - private SchemaCase(int value) { this.value = value; } @@ -3294,44 +3079,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 @@ -3339,26 +3114,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.
    * 
@@ -3368,21 +3138,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 @@ -3390,26 +3157,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.
    * 
@@ -3419,21 +3181,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 @@ -3441,26 +3200,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.
    * 
@@ -3468,24 +3222,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 @@ -3493,26 +3243,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.
    * 
@@ -3520,24 +3265,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 @@ -3545,26 +3286,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.
    * 
@@ -3574,21 +3310,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 @@ -3596,26 +3329,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.
    * 
@@ -3625,13 +3353,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; @@ -3643,7 +3370,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -3651,12 +3379,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_); @@ -3674,34 +3400,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; @@ -3711,33 +3431,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: @@ -3786,104 +3511,97 @@ 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.
@@ -3891,32 +3609,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();
@@ -3944,9 +3663,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
@@ -3965,8 +3684,7 @@ 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);
+      com.google.cloud.datacatalog.v1.PhysicalSchema result = new com.google.cloud.datacatalog.v1.PhysicalSchema(this);
       if (schemaCase_ == 1) {
         if (avroBuilder_ == null) {
           result.schema_ = schema_;
@@ -4018,39 +3736,38 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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 +3777,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 +3831,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 +3888,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() {
@@ -4188,20 +3903,15 @@ public Builder clearSchema() {
       return this;
     }
 
+
     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 @@ -4209,14 +3919,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 @@ -4234,8 +3941,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { } } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4256,8 +3961,6 @@ public Builder setAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4276,8 +3979,6 @@ public Builder setAvro( return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4286,14 +3987,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; } @@ -4309,8 +4006,6 @@ public Builder mergeAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSche return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4334,8 +4029,6 @@ public Builder clearAvro() { return this; } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4346,8 +4039,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder getAvro return getAvroFieldBuilder().getBuilder(); } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4366,8 +4057,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr } } /** - * - * *
      * Schema in Avro JSON format.
      * 
@@ -4375,44 +4064,32 @@ 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()); schema_ = null; } schemaCase_ = 1; - onChanged(); - ; + onChanged();; return avroBuilder_; } 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 @@ -4420,14 +4097,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 @@ -4445,8 +4119,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { } } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4467,8 +4139,6 @@ public Builder setThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSc return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4487,8 +4157,6 @@ public Builder setThrift( return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4497,15 +4165,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; } @@ -4521,8 +4184,6 @@ public Builder mergeThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.Thrift return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4546,8 +4207,6 @@ public Builder clearThrift() { return this; } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4558,8 +4217,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh return getThriftFieldBuilder().getBuilder(); } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4567,8 +4224,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 { @@ -4579,8 +4235,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh } } /** - * - * *
      * Schema in Thrift format.
      * 
@@ -4588,45 +4242,32 @@ 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()); schema_ = null; } schemaCase_ = 2; - onChanged(); - ; + onChanged();; return thriftBuilder_; } 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 +4275,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 +4297,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 +4317,6 @@ public Builder setProtobuf( return this; } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4702,26 +4335,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 +4362,6 @@ public Builder mergeProtobuf( return this; } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4762,21 +4385,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 +4402,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 +4413,6 @@ public Builder clearProtobuf() { } } /** - * - * *
      * Schema in protocol buffer format.
      * 
@@ -4805,45 +4420,32 @@ 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()); schema_ = null; } schemaCase_ = 3; - onChanged(); - ; + onChanged();; return protobufBuilder_; } 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 @@ -4851,14 +4453,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 @@ -4876,8 +4475,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() } } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4898,8 +4495,6 @@ public Builder setParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.Parquet return this; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4918,26 +4513,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; } @@ -4953,8 +4540,6 @@ public Builder mergeParquet( return this; } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4978,21 +4563,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.
      * 
@@ -5000,8 +4580,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 { @@ -5012,8 +4591,6 @@ public Builder clearParquet() { } } /** - * - * *
      * Marks a Parquet-encoded data source.
      * 
@@ -5021,45 +4598,32 @@ 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()); schema_ = null; } schemaCase_ = 4; - onChanged(); - ; + onChanged();; return parquetBuilder_; } 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 @@ -5067,14 +4631,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 @@ -5092,8 +4653,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { } } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5114,8 +4673,6 @@ public Builder setOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema v return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5134,8 +4691,6 @@ public Builder setOrc( return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5144,14 +4699,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; } @@ -5167,8 +4718,6 @@ public Builder mergeOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5192,8 +4741,6 @@ public Builder clearOrc() { return this; } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5204,8 +4751,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder getOrcBu return getOrcFieldBuilder().getBuilder(); } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5224,8 +4769,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO } } /** - * - * *
      * Marks an ORC-encoded data source.
      * 
@@ -5233,44 +4776,32 @@ 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()); schema_ = null; } schemaCase_ = 5; - onChanged(); - ; + onChanged();; return orcBuilder_; } 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 @@ -5278,14 +4809,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 @@ -5303,8 +4831,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { } } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5325,8 +4851,6 @@ public Builder setCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema v return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5345,8 +4869,6 @@ public Builder setCsv( return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5355,14 +4877,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; } @@ -5378,8 +4896,6 @@ public Builder mergeCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5403,8 +4919,6 @@ public Builder clearCsv() { return this; } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5415,8 +4929,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder getCsvBu return getCsvFieldBuilder().getBuilder(); } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5435,8 +4947,6 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO } } /** - * - * *
      * Marks a CSV-encoded data source.
      * 
@@ -5444,32 +4954,26 @@ 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()); schema_ = null; } schemaCase_ = 6; - onChanged(); - ; + 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); } @@ -5479,12 +4983,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(); } @@ -5493,27 +4997,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; @@ -5528,4 +5032,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 44f42875289b..6cf513e9e8b0 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..3f9b0365696f --- /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,135 @@ +// 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\340\001\n\037com.google.cloud.datacatalo" + + "g.v1B\023PhysicalSchemaProtoP\001ZFgoogle.gola" + + "ng.org/genproto/googleapis/cloud/datacat" + + "alog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.Da" + + "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" + + "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" + + "to3" + }; + 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 2a494361f95d..a9e061db7241 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.
  * Policy tags can be defined in a hierarchy. For example:
@@ -35,16 +18,15 @@
  *
  * 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_ = "";
@@ -55,42 +37,38 @@ private PolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PolicyTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Resource name of this policy tag in the URL format.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -99,30 +77,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 in the URL format.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * 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,8 +111,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. User-defined name of this policy tag.
    * The name can't start or end with spaces and must be unique within the
@@ -143,7 +119,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -152,15 +127,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.
    * The name can't start or end with spaces and must be unique within the
@@ -169,15 +143,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 { @@ -188,8 +163,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Description of this policy tag. If not set, defaults to empty.
    * The description must contain only Unicode characters,
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -207,15 +179,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.
    * The description must contain only Unicode characters,
@@ -224,15 +195,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 { @@ -243,8 +215,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; 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.
@@ -254,7 +224,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ @java.lang.Override @@ -263,15 +232,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.
@@ -281,15 +249,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 { @@ -300,45 +269,34 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList 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 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. */ @@ -346,24 +304,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; @@ -375,7 +329,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -428,19 +383,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; } @@ -469,104 +428,97 @@ 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.
    * Policy tags can be defined in a hierarchy. For example:
@@ -581,32 +533,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();
@@ -624,9 +577,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_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
@@ -645,8 +598,7 @@ 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);
+      com.google.cloud.datacatalog.v1.PolicyTag result = new com.google.cloud.datacatalog.v1.PolicyTag(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -665,39 +617,38 @@ public com.google.cloud.datacatalog.v1.PolicyTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -758,44 +709,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                parentPolicyTag_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              parentPolicyTag_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -805,26 +750,23 @@ 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.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * 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; @@ -833,22 +775,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * 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 { @@ -856,64 +797,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -921,8 +855,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -931,13 +863,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; @@ -946,8 +878,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -956,14 +886,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 { @@ -971,8 +902,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -981,22 +910,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -1005,18 +932,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -1025,16 +949,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1042,8 +966,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.
      * The description must contain only Unicode characters,
@@ -1052,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; @@ -1067,8 +989,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1077,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 { @@ -1092,8 +1013,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1102,22 +1021,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1126,18 +1043,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1146,16 +1060,16 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1163,8 +1077,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.
@@ -1174,13 +1086,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; @@ -1189,8 +1101,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.
@@ -1200,14 +1110,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 { @@ -1215,8 +1126,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.
@@ -1226,22 +1135,20 @@ 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) { + public Builder setParentPolicyTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentPolicyTag_ = value; 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.
@@ -1251,18 +1158,15 @@ public Builder setParentPolicyTag(java.lang.String value) {
      * 
* * string parent_policy_tag = 4; - * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { - + parentPolicyTag_ = getDefaultInstance().getParentPolicyTag(); 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.
@@ -1272,70 +1176,57 @@ 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) { + public Builder setParentPolicyTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentPolicyTag_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList childPolicyTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1343,95 +1234,80 @@ 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) { + public Builder setChildPolicyTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); 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 childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags(java.lang.String value) { + public Builder addChildPolicyTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); 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 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_); 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() { @@ -1441,31 +1317,28 @@ public Builder clearChildPolicyTags() { 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) { + public Builder addChildPolicyTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.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); } @@ -1475,12 +1348,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(); } @@ -1489,27 +1362,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; @@ -1524,4 +1397,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..aa1235180bd0 --- /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,354 @@ +// 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_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/timestamps.pro" + + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" + + "le/iam/v1/policy.proto\032\033google/protobuf/" + + "empty.proto\032 google/protobuf/field_mask." + + "proto\"\316\003\n\010Taxonomy\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" + + "\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030" + + "\003 \001(\tB\003\340A\001\022\035\n\020policy_tag_count\030\004 \001(\005B\003\340A" + + "\003\022O\n\023taxonomy_timestamps\030\005 \001(\0132-.google." + + "cloud.datacatalog.v1.SystemTimestampsB\003\340" + + "A\003\022U\n\026activated_policy_types\030\006 \003(\01620.goo" + + "gle.cloud.datacatalog.v1.Taxonomy.Policy" + + "TypeB\003\340A\001\"J\n\nPolicyType\022\033\n\027POLICY_TYPE_U" + + "NSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCESS_CONT" + + "ROL\020\001:g\352Ad\n#datacatalog.googleapis.com/T" + + "axonomy\022=projects/{project}/locations/{l" + + "ocation}/taxonomies/{taxonomy}\"\214\002\n\tPolic" + + "yTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030" + + "\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022\031\n\021paren" + + "t_policy_tag\030\004 \001(\t\022\036\n\021child_policy_tags\030" + + "\005 \003(\tB\003\340A\003:\200\001\352A}\n$datacatalog.googleapis" + + ".com/PolicyTag\022Uprojects/{project}/locat" + + "ions/{location}/taxonomies/{taxonomy}/po" + + "licyTags/{policy_tag}\"\215\001\n\025CreateTaxonomy" + + "Request\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacat" + + "alog.googleapis.com/Taxonomy\0227\n\010taxonomy" + + "\030\002 \001(\0132%.google.cloud.datacatalog.v1.Tax" + + "onomy\"R\n\025DeleteTaxonomyRequest\0229\n\004name\030\001" + + " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" + + "/Taxonomy\"\201\001\n\025UpdateTaxonomyRequest\0227\n\010t" + + "axonomy\030\001 \001(\0132%.google.cloud.datacatalog" + + ".v1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMask\"{\n\025ListTaxonomiesR" + + "equest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacata" + + "log.googleapis.com/Taxonomy\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"l\n\026ListTaxono" + + "miesResponse\0229\n\ntaxonomies\030\001 \003(\0132%.googl" + + "e.cloud.datacatalog.v1.Taxonomy\022\027\n\017next_" + + "page_token\030\002 \001(\t\"O\n\022GetTaxonomyRequest\0229" + + "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.google" + + "apis.com/Taxonomy\"\222\001\n\026CreatePolicyTagReq" + + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacatalo" + + "g.googleapis.com/PolicyTag\022:\n\npolicy_tag" + + "\030\002 \001(\0132&.google.cloud.datacatalog.v1.Pol" + + "icyTag\"T\n\026DeletePolicyTagRequest\022:\n\004name" + + "\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.googleapis.c" + + "om/PolicyTag\"\205\001\n\026UpdatePolicyTagRequest\022" + + ":\n\npolicy_tag\030\001 \001(\0132&.google.cloud.datac" + + "atalog.v1.PolicyTag\022/\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMask\"|\n\025ListPoli" + + "cyTagsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$d" + + "atacatalog.googleapis.com/PolicyTag\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026Li" + + "stPolicyTagsResponse\022;\n\013policy_tags\030\001 \003(" + + "\0132&.google.cloud.datacatalog.v1.PolicyTa" + + "g\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\023GetPolicyT" + + "agRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacat" + + "alog.googleapis.com/PolicyTag2\273\025\n\020Policy" + + "TagManager\022\277\001\n\016CreateTaxonomy\0222.google.c" + + "loud.datacatalog.v1.CreateTaxonomyReques" + + "t\032%.google.cloud.datacatalog.v1.Taxonomy" + + "\"R\202\323\344\223\002:\"./v1/{parent=projects/*/locatio" + + "ns/*}/taxonomies:\010taxonomy\332A\017parent,taxo" + + "nomy\022\233\001\n\016DeleteTaxonomy\0222.google.cloud.d" + + "atacatalog.v1.DeleteTaxonomyRequest\032\026.go" + + "ogle.protobuf.Empty\"=\202\323\344\223\0020*./v1/{name=p" + + "rojects/*/locations/*/taxonomies/*}\332A\004na" + + "me\022\301\001\n\016UpdateTaxonomy\0222.google.cloud.dat" + + "acatalog.v1.UpdateTaxonomyRequest\032%.goog" + + "le.cloud.datacatalog.v1.Taxonomy\"T\202\323\344\223\002C" + + "27/v1/{taxonomy.name=projects/*/location" + + "s/*/taxonomies/*}:\010taxonomy\332A\010taxonomy\022\272" + + "\001\n\016ListTaxonomies\0222.google.cloud.datacat" + + "alog.v1.ListTaxonomiesRequest\0323.google.c" + + "loud.datacatalog.v1.ListTaxonomiesRespon" + + "se\"?\202\323\344\223\0020\022./v1/{parent=projects/*/locat" + + "ions/*}/taxonomies\332A\006parent\022\244\001\n\013GetTaxon" + + "omy\022/.google.cloud.datacatalog.v1.GetTax" + + "onomyRequest\032%.google.cloud.datacatalog." + + "v1.Taxonomy\"=\202\323\344\223\0020\022./v1/{name=projects/" + + "*/locations/*/taxonomies/*}\332A\004name\022\323\001\n\017C" + + "reatePolicyTag\0223.google.cloud.datacatalo" + + "g.v1.CreatePolicyTagRequest\032&.google.clo" + + "ud.datacatalog.v1.PolicyTag\"c\202\323\344\223\002I\";/v1" + + "/{parent=projects/*/locations/*/taxonomi" + + "es/*}/policyTags:\npolicy_tag\332A\021parent,po" + + "licy_tag\022\252\001\n\017DeletePolicyTag\0223.google.cl" + + "oud.datacatalog.v1.DeletePolicyTagReques" + + "t\032\026.google.protobuf.Empty\"J\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/taxonomies/*" + + "/policyTags/*}\332A\004name\022\327\001\n\017UpdatePolicyTa" + + "g\0223.google.cloud.datacatalog.v1.UpdatePo" + + "licyTagRequest\032&.google.cloud.datacatalo" + + "g.v1.PolicyTag\"g\202\323\344\223\002T2F/v1/{policy_tag." + + "name=projects/*/locations/*/taxonomies/*" + + "/policyTags/*}:\npolicy_tag\332A\npolicy_tag\022" + + "\307\001\n\016ListPolicyTags\0222.google.cloud.dataca" + + "talog.v1.ListPolicyTagsRequest\0323.google." + + "cloud.datacatalog.v1.ListPolicyTagsRespo" + + "nse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loca" + + "tions/*/taxonomies/*}/policyTags\332A\006paren" + + "t\022\264\001\n\014GetPolicyTag\0220.google.cloud.dataca" + + "talog.v1.GetPolicyTagRequest\032&.google.cl" + + "oud.datacatalog.v1.PolicyTag\"J\202\323\344\223\002=\022;/v" + + "1/{name=projects/*/locations/*/taxonomie" + + "s/*/policyTags/*}\332A\004name\022\352\001\n\014GetIamPolic" + + "y\022\".google.iam.v1.GetIamPolicyRequest\032\025." + + "google.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{res" + + "ource=projects/*/locations/*/taxonomies/" + + "*}:getIamPolicy:\001*ZQ\"L/v1/{resource=proj" + + "ects/*/locations/*/taxonomies/*/policyTa" + + "gs/*}:getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\"" + + ".google.iam.v1.SetIamPolicyRequest\032\025.goo" + + "gle.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resour" + + "ce=projects/*/locations/*/taxonomies/*}:" + + "setIamPolicy:\001*ZQ\"L/v1/{resource=project" + + "s/*/locations/*/taxonomies/*/policyTags/" + + "*}:setIamPolicy:\001*\022\226\002\n\022TestIamPermission" + + "s\022(.google.iam.v1.TestIamPermissionsRequ" + + "est\032).google.iam.v1.TestIamPermissionsRe" + + "sponse\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects" + + "/*/locations/*/taxonomies/*}:testIamPerm" + + "issions:\001*ZW\"R/v1/{resource=projects/*/l" + + "ocations/*/taxonomies/*/policyTags/*}:te" + + "stIamPermissions:\001*\032N\312A\032datacatalog.goog" + + "leapis.com\322A.https://www.googleapis.com/" + + "auth/cloud-platformB\342\001\n\037com.google.cloud" + + ".datacatalog.v1B\025PolicyTagManagerProtoP\001" + + "ZFgoogle.golang.org/genproto/googleapis/" + + "cloud/datacatalog/v1;datacatalog\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.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.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", }); + 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", }); + 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.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..7334883db0b7 --- /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\"\335\001\n\022SerializedTaxo" + + "nomy\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\022\023\n\013descr" + + "iption\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goog" + + "le.cloud.datacatalog.v1.SerializedPolicy" + + "Tag\022P\n\026activated_policy_types\030\004 \003(\01620.go" + + "ogle.cloud.datacatalog.v1.Taxonomy.Polic" + + "yType\"\246\001\n\023SerializedPolicyTag\022\022\n\npolicy_" + + "tag\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" + + "description\030\003 \001(\t\022K\n\021child_policy_tags\030\004" + + " \003(\01320.google.cloud.datacatalog.v1.Seria" + + "lizedPolicyTag\"\246\001\n\026ReplaceTaxonomyReques" + + "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" + + "gleapis.com/Taxonomy\022Q\n\023serialized_taxon" + + "omy\030\002 \001(\0132/.google.cloud.datacatalog.v1." + + "SerializedTaxonomyB\003\340A\002\"\367\001\n\027ImportTaxono" + + "miesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#dat" + + "acatalog.googleapis.com/Taxonomy\022B\n\rinli" + + "ne_source\030\002 \001(\0132).google.cloud.datacatal" + + "og.v1.InlineSourceH\000\022Q\n\025cross_regional_s" + + "ource\030\003 \001(\01320.google.cloud.datacatalog.v" + + "1.CrossRegionalSourceH\000B\010\n\006source\"X\n\014Inl" + + "ineSource\022H\n\ntaxonomies\030\001 \003(\0132/.google.c" + + "loud.datacatalog.v1.SerializedTaxonomyB\003" + + "\340A\002\"T\n\023CrossRegionalSource\022=\n\010taxonomy\030\001" + + " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" + + "/Taxonomy\"U\n\030ImportTaxonomiesResponse\0229\n" + + "\ntaxonomies\030\001 \003(\0132%.google.cloud.datacat" + + "alog.v1.Taxonomy\"\307\001\n\027ExportTaxonomiesReq" + + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" + + "g.googleapis.com/Taxonomy\022?\n\ntaxonomies\030" + + "\002 \003(\tB+\340A\002\372A%\n#datacatalog.googleapis.co" + + "m/Taxonomy\022\037\n\025serialized_taxonomies\030\003 \001(" + + "\010H\000B\r\n\013destination\"_\n\030ExportTaxonomiesRe" + + "sponse\022C\n\ntaxonomies\030\001 \003(\0132/.google.clou" + + "d.datacatalog.v1.SerializedTaxonomy2\247\005\n\035" + + "PolicyTagManagerSerialization\022\260\001\n\017Replac" + + "eTaxonomy\0223.google.cloud.datacatalog.v1." + + "ReplaceTaxonomyRequest\032%.google.cloud.da" + + "tacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6/v1/{name" + + "=projects/*/locations/*/taxonomies/*}:re" + + "place:\001*\022\301\001\n\020ImportTaxonomies\0224.google.c" + + "loud.datacatalog.v1.ImportTaxonomiesRequ" + + "est\0325.google.cloud.datacatalog.v1.Import" + + "TaxonomiesResponse\"@\202\323\344\223\002:\"5/v1/{parent=" + + "projects/*/locations/*}/taxonomies:impor" + + "t:\001*\022\276\001\n\020ExportTaxonomies\0224.google.cloud" + + ".datacatalog.v1.ExportTaxonomiesRequest\032" + + "5.google.cloud.datacatalog.v1.ExportTaxo" + + "nomiesResponse\"=\202\323\344\223\0027\0225/v1/{parent=proj" + + "ects/*/locations/*}/taxonomies:export\032N\312" + + "A\032datacatalog.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformB\357\001" + + "\n\037com.google.cloud.datacatalog.v1B\"Polic" + + "yTagManagerSerializationProtoP\001ZFgoogle." + + "golang.org/genproto/googleapis/cloud/dat" + + "acatalog/v1;datacatalog\370\001\001\252\002\033Google.Clou" + + "d.DataCatalog.V1\312\002\033Google\\Cloud\\DataCata" + + "log\\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 8a6ab9036584..b2cd83ca447c 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,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * 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.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * 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.
    * The name can't start or end with spaces and must be unique within the
@@ -61,13 +38,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.
    * The name can't start or end with spaces and must be unique within the
@@ -76,14 +50,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.
    * The description must contain only Unicode characters,
@@ -92,13 +64,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.
    * The description must contain only Unicode characters,
@@ -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. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -124,13 +91,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.
@@ -140,63 +104,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/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 60% 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 fff0894e2243..cc104f858181 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,43 +27,37 @@ private RenameTagTemplateFieldEnumValueRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldEnumValueRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -92,31 +66,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 { @@ -127,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; 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,29 +112,29 @@ 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 { @@ -174,7 +143,6 @@ public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -216,16 +185,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -247,105 +217,96 @@ 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].
@@ -353,33 +314,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,8 +373,7 @@ 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);
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(this);
       result.name_ = name_;
       result.newEnumValueDisplayName_ = newEnumValueDisplayName_;
       onBuilt();
@@ -427,51 +384,46 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest bu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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_;
         onChanged();
@@ -506,25 +458,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                newEnumValueDisplayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              newEnumValueDisplayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,22 +486,18 @@ public Builder mergeFrom(
 
     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; @@ -561,23 +506,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 { @@ -585,67 +527,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -653,21 +582,18 @@ 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; @@ -676,22 +602,20 @@ 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 { @@ -699,71 +623,61 @@ 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) { + public Builder setNewEnumValueDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newEnumValueDisplayName_ = value; 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() { - + newEnumValueDisplayName_ = getDefaultInstance().getNewEnumValueDisplayName(); 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]; * @param value The bytes for newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setNewEnumValueDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newEnumValueDisplayName_ = 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); } @@ -773,43 +687,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; @@ -821,8 +733,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 89d8d4c4dc0c..d16145e052b9 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,79 +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/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 4498b2c7deb6..b90cbed2abf2 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,43 +27,37 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,31 +66,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 { @@ -125,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; 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,29 +112,29 @@ 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 { @@ -172,7 +143,6 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -214,16 +185,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -245,104 +217,96 @@ 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].
@@ -350,32 +314,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,8 +373,7 @@ 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);
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.newTagTemplateFieldId_ = newTagTemplateFieldId_;
       onBuilt();
@@ -421,39 +384,38 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -461,9 +423,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_;
         onChanged();
@@ -498,25 +458,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                newTagTemplateFieldId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              newTagTemplateFieldId_ = input.readStringRequireUtf8();
+
+              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) {
@@ -529,22 +486,18 @@ public Builder mergeFrom(
 
     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; @@ -553,23 +506,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 { @@ -577,67 +527,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -645,20 +582,18 @@ 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; @@ -667,21 +602,20 @@ 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 { @@ -689,68 +623,61 @@ 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) { + public Builder setNewTagTemplateFieldId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newTagTemplateFieldId_ = value; 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() { - + newTagTemplateFieldId_ = getDefaultInstance().getNewTagTemplateFieldId(); 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]; - * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { + public Builder setNewTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newTagTemplateFieldId_ = 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); } @@ -760,13 +687,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(); } @@ -775,27 +701,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; @@ -810,4 +736,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 488f6af0639f..8e4b59b814cd 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,79 +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/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 ec4cd266cb44..27e66e72c175 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,16 +98,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 @@ -141,43 +110,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() { + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder() { return getSerializedTaxonomy(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,7 +166,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; @@ -219,18 +177,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; @@ -255,104 +214,96 @@ 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].
@@ -360,32 +311,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();
@@ -401,9 +353,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
@@ -422,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result = new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this);
       result.name_ = name_;
       if (serializedTaxonomyBuilder_ == null) {
         result.serializedTaxonomy_ = serializedTaxonomy_;
@@ -438,39 +389,38 @@ public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -478,8 +428,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_;
         onChanged();
@@ -513,26 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getSerializedTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSerializedTaxonomyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -545,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -569,23 +512,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 { @@ -593,67 +533,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -661,58 +588,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 serializedTaxonomyBuilder_ != null || 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. */ 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) { @@ -728,15 +636,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) { @@ -750,24 +654,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 (serializedTaxonomy_ != null) { serializedTaxonomy_ = - com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder(serializedTaxonomy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder(serializedTaxonomy_).mergeFrom(value).buildPartial(); } else { serializedTaxonomy_ = value; } @@ -779,15 +676,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() { if (serializedTaxonomyBuilder_ == null) { @@ -801,73 +694,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() { + 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); } @@ -877,12 +752,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(); } @@ -891,27 +766,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; @@ -926,4 +801,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 72% 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 f15084daec90..98ea207a4d8d 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,43 +30,39 @@ private RoutineSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RoutineSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -93,8 +71,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ ROUTINE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Non-builtin permanent scalar function.
      * 
@@ -103,8 +79,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ SCALAR_FUNCTION(1), /** - * - * *
      * Stored procedure.
      * 
@@ -116,8 +90,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified type.
      * 
@@ -126,8 +98,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTINE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Non-builtin permanent scalar function.
      * 
@@ -136,8 +106,6 @@ public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCALAR_FUNCTION_VALUE = 1; /** - * - * *
      * Stored procedure.
      * 
@@ -146,6 +114,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( @@ -170,49 +139,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; @@ -229,109 +198,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; @@ -340,43 +289,39 @@ private Argument() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Argument(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
        * 
@@ -385,8 +330,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * The argument is input-only.
        * 
@@ -395,8 +338,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ IN(1), /** - * - * *
        * The argument is output-only.
        * 
@@ -405,8 +346,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ OUT(2), /** - * - * *
        * The argument is both an input and an output.
        * 
@@ -418,8 +357,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified mode.
        * 
@@ -428,8 +365,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The argument is input-only.
        * 
@@ -438,8 +373,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_VALUE = 1; /** - * - * *
        * The argument is output-only.
        * 
@@ -448,8 +381,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.
        * 
@@ -458,6 +389,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( @@ -482,53 +414,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; @@ -548,15 +477,12 @@ private Mode(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -565,30 +491,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 { @@ -599,53 +525,39 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** - * - * *
      * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.valueOf(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.valueOf(mode_); + return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 3; 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 @@ -654,30 +566,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 { @@ -686,7 +598,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -698,13 +609,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_)) { @@ -722,10 +632,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_); @@ -738,17 +647,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; } @@ -772,94 +682,87 @@ 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 @@ -869,41 +772,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(); @@ -917,9 +818,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 @@ -938,8 +839,7 @@ 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); + com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); result.name_ = name_; result.mode_ = mode_; result.type_ = type_; @@ -951,41 +851,38 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -993,8 +890,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_; onChanged(); @@ -1032,31 +928,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - mode_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - type_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + mode_ = input.readEnum(); + + break; + } // case 16 + case 26: { + type_ = input.readStringRequireUtf8(); + + 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) { @@ -1069,21 +961,19 @@ public Builder mergeFrom( 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; @@ -1092,22 +982,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 { @@ -1115,64 +1004,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1180,67 +1062,51 @@ 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. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.valueOf(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.valueOf(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. */ @@ -1248,24 +1114,21 @@ public Builder setMode(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); 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() { - + mode_ = 0; onChanged(); return this; @@ -1273,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; @@ -1296,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 { @@ -1319,69 +1179,61 @@ 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) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; 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() { - + type_ = getDefaultInstance().getType(); onChanged(); 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) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1394,12 +1246,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(); } @@ -1408,28 +1260,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; @@ -1444,19 +1295,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int systemSpecCase_ = 0; 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; } @@ -1472,67 +1321,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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.valueOf(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.valueOf(routineType_); + return result == null ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED : result; } public static final int LANGUAGE_FIELD_NUMBER = 2; 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:
@@ -1541,7 +1375,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType()
    * 
* * string language = 2; - * * @return The language. */ @java.lang.Override @@ -1550,15 +1383,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:
@@ -1567,15 +1399,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 { @@ -1586,8 +1419,6 @@ public com.google.protobuf.ByteString getLanguageBytes() { public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER = 3; private java.util.List routineArguments_; /** - * - * *
    * Arguments of the routine.
    * 
@@ -1595,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.
    * 
@@ -1609,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.
    * 
@@ -1627,8 +1453,6 @@ public int getRoutineArgumentsCount() { return routineArguments_.size(); } /** - * - * *
    * Arguments of the routine.
    * 
@@ -1640,8 +1464,6 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments( return routineArguments_.get(index); } /** - * - * *
    * Arguments of the routine.
    * 
@@ -1656,16 +1478,13 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineA public static final int RETURN_TYPE_FIELD_NUMBER = 4; 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 @@ -1674,30 +1493,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 { @@ -1708,14 +1527,11 @@ public com.google.protobuf.ByteString getReturnTypeBytes() { public static final int DEFINITION_BODY_FIELD_NUMBER = 5; private volatile java.lang.Object definitionBody_; /** - * - * *
    * The body of the routine.
    * 
* * string definition_body = 5; - * * @return The definitionBody. */ @java.lang.Override @@ -1724,29 +1540,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 { @@ -1756,14 +1572,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 @@ -1771,26 +1584,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.
    * 
@@ -1798,16 +1606,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; @@ -1819,10 +1625,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_)) { @@ -1849,16 +1654,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_); @@ -1867,9 +1672,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; @@ -1879,23 +1683,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: @@ -1936,104 +1744,97 @@ 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.
@@ -2041,32 +1842,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();
@@ -2094,9 +1896,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
@@ -2115,8 +1917,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.routineType_ = routineType_;
       result.language_ = language_;
@@ -2147,39 +1948,38 @@ public com.google.cloud.datacatalog.v1.RoutineSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -2213,10 +2013,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) {
             routineArgumentsBuilder_ = null;
             routineArguments_ = other.routineArguments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            routineArgumentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRoutineArgumentsFieldBuilder()
-                    : null;
+            routineArgumentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRoutineArgumentsFieldBuilder() : null;
           } else {
             routineArgumentsBuilder_.addAllMessages(other.routineArguments_);
           }
@@ -2231,15 +2030,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();
@@ -2267,58 +2064,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                routineType_ = input.readEnum();
+            case 8: {
+              routineType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                language_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              language_ = input.readStringRequireUtf8();
 
-                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();
+              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();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                definitionBody_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 42: {
+              definitionBody_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -2328,12 +2119,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() {
@@ -2347,67 +2138,51 @@ 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. */ public Builder setRoutineTypeValue(int value) { - + routineType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.valueOf(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.valueOf(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. */ @@ -2415,24 +2190,21 @@ public Builder setRoutineType(com.google.cloud.datacatalog.v1.RoutineSpec.Routin if (value == null) { throw new NullPointerException(); } - + routineType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; - * * @return This builder for chaining. */ public Builder clearRoutineType() { - + routineType_ = 0; onChanged(); return this; @@ -2440,8 +2212,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:
@@ -2450,13 +2220,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; @@ -2465,8 +2235,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:
@@ -2475,14 +2243,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 { @@ -2490,8 +2259,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:
@@ -2500,22 +2267,20 @@ 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) { + public Builder setLanguage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + language_ = value; onChanged(); return this; } /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2524,18 +2289,15 @@ public Builder setLanguage(java.lang.String value) {
      * 
* * string language = 2; - * * @return This builder for chaining. */ public Builder clearLanguage() { - + language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** - * - * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2544,51 +2306,41 @@ 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) { + public Builder setLanguageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + language_ = value; onChanged(); return this; } private java.util.List routineArguments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRoutineArgumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - routineArguments_ = - new java.util.ArrayList( - routineArguments_); + routineArguments_ = new java.util.ArrayList(routineArguments_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2596,14 +2348,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) { @@ -2613,14 +2362,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) { @@ -2630,14 +2376,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) { @@ -2654,14 +2397,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) { @@ -2675,14 +2415,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) { @@ -2698,14 +2435,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) { @@ -2722,14 +2456,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) { @@ -2743,14 +2474,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) { @@ -2764,20 +2492,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); @@ -2785,14 +2511,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) { @@ -2805,14 +2528,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) { @@ -2825,49 +2545,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 { @@ -2875,62 +2585,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2942,21 +2635,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; @@ -2965,22 +2656,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 { @@ -2988,64 +2678,57 @@ 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) { + public Builder setReturnType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + returnType_ = value; 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() { - + returnType_ = getDefaultInstance().getReturnType(); onChanged(); 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) { + public Builder setReturnTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + returnType_ = value; onChanged(); return this; @@ -3053,20 +2736,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; @@ -3075,21 +2756,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 { @@ -3097,80 +2777,67 @@ 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) { + public Builder setDefinitionBody( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + definitionBody_ = value; onChanged(); return this; } /** - * - * *
      * The body of the routine.
      * 
* * string definition_body = 5; - * * @return This builder for chaining. */ public Builder clearDefinitionBody() { - + definitionBody_ = getDefaultInstance().getDefinitionBody(); onChanged(); 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) { + public Builder setDefinitionBodyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + definitionBody_ = value; onChanged(); return this; } 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 @@ -3178,14 +2845,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 @@ -3203,16 +2867,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(); @@ -3226,8 +2887,6 @@ public Builder setBigqueryRoutineSpec( return this; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3246,25 +2905,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; } @@ -3280,8 +2932,6 @@ public Builder mergeBigqueryRoutineSpec( return this; } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3305,21 +2955,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.
      * 
@@ -3327,8 +2972,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 { @@ -3339,8 +2983,6 @@ public Builder clearBigqueryRoutineSpec() { } } /** - * - * *
      * Fields specific for BigQuery routines.
      * 
@@ -3348,32 +2990,26 @@ 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()); systemSpec_ = null; } systemSpecCase_ = 6; - onChanged(); - ; + 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); } @@ -3383,12 +3019,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(); } @@ -3397,27 +3033,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; @@ -3432,4 +3068,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 54e0b121e18a..8a97d3cfa180 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:
@@ -59,13 +35,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:
@@ -74,24 +47,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.
    * 
@@ -100,8 +70,6 @@ public interface RoutineSpecOrBuilder */ com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index); /** - * - * *
    * Arguments of the routine.
    * 
@@ -110,19 +78,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.
    * 
@@ -133,84 +97,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 73% 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 ed6e1e0f8ed2..3846145014d9 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,77 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List columns_; /** - * - * *
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -85,8 +64,6 @@ public java.util.List getColumnsLi
     return columns_;
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -96,13 +73,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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -116,8 +91,6 @@ public int getColumnsCount() {
     return columns_.size();
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -131,8 +104,6 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
     return columns_.get(index);
   }
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -142,12 +113,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;
@@ -159,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 {
     for (int i = 0; i < columns_.size(); i++) {
       output.writeMessage(2, columns_.get(i));
     }
@@ -173,7 +145,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;
@@ -183,14 +156,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.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;
   }
@@ -211,136 +185,130 @@ 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(); @@ -355,9 +323,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 @@ -376,8 +344,7 @@ 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); int from_bitField0_ = bitField0_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -396,39 +363,38 @@ public com.google.cloud.datacatalog.v1.Schema buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -455,10 +421,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_); } @@ -490,26 +455,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) { @@ -519,28 +483,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -557,8 +514,6 @@ public java.util.List getColumnsLi
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -575,8 +530,6 @@ public int getColumnsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -593,8 +546,6 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -603,7 +554,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();
@@ -617,8 +569,6 @@ public Builder setColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchem
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -639,8 +589,6 @@ public Builder setColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -663,8 +611,6 @@ public Builder addColumns(com.google.cloud.datacatalog.v1.ColumnSchema value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -673,7 +619,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();
@@ -687,8 +634,6 @@ public Builder addColumns(int index, com.google.cloud.datacatalog.v1.ColumnSchem
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -709,8 +654,6 @@ public Builder addColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -731,8 +674,6 @@ public Builder addColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -745,7 +686,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);
@@ -753,8 +695,6 @@ public Builder addAllColumns(
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -774,8 +714,6 @@ public Builder clearColumns() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -795,8 +733,6 @@ public Builder removeColumns(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -805,12 +741,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -819,16 +754,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -837,8 +770,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 {
@@ -846,8 +779,6 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -857,12 +788,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -871,13 +800,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -886,30 +814,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);
     }
 
@@ -919,12 +844,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();
   }
@@ -933,27 +858,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;
@@ -968,4 +893,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 6af75cb27ea7..329e3e96bc06 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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -34,10 +16,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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -48,8 +29,6 @@ public interface SchemaOrBuilder
    */
   com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index);
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -60,8 +39,6 @@ public interface SchemaOrBuilder
    */
   int getColumnsCount();
   /**
-   *
-   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -70,11 +47,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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -83,5 +58,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..deb83f413f64
--- /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,77 @@
+// 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;
+
+  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\"\247\001\n\014ColumnSchema\022\023\n\006colum" +
+      "n\030\006 \001(\tB\003\340A\002\022\021\n\004type\030\001 \001(\tB\003\340A\002\022\030\n\013descr" +
+      "iption\030\002 \001(\tB\003\340A\001\022\021\n\004mode\030\003 \001(\tB\003\340A\001\022B\n\n" +
+      "subcolumns\030\007 \003(\0132).google.cloud.datacata" +
+      "log.v1.ColumnSchemaB\003\340A\001B\313\001\n\037com.google." +
+      "cloud.datacatalog.v1P\001ZFgoogle.golang.or" +
+      "g/genproto/googleapis/cloud/datacatalog/" +
+      "v1;datacatalog\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[] {
+          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", "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/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..f3b8611b5fd0
--- /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\"\256\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\022O\n\021integrated_system\030\010 \001" +
+      "(\0162-.google.cloud.datacatalog.v1.Integra" +
+      "tedSystemB\003\340A\003H\000\022\037\n\025user_specified_syste" +
+      "m\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\036SEAR" +
+      "CH_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\313\001\n\037c" +
+      "om.google.cloud.datacatalog.v1P\001ZFgoogle" +
+      ".golang.org/genproto/googleapis/cloud/da" +
+      "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" +
+      "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" +
+      "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" +
+      "b\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.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 76%
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 789e2456b810..7c7e60f997a3 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,38 +28,34 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * To find your organization ID, follow the steps from
@@ -86,13 +64,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 the steps from
@@ -101,13 +77,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 the steps from
@@ -116,14 +89,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 the steps from
@@ -132,15 +102,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.
      * For more information on the distinction between project names, IDs, and
@@ -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.
      * For more information on the distinction between project names, IDs, and
@@ -162,13 +128,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.
      * For more information on the distinction between project names, IDs, and
@@ -176,14 +139,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.
      * For more information on the distinction between project names, IDs, and
@@ -191,15 +151,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 Platform (GCP) public datasets in
      * search results. By default, they are excluded.
@@ -208,14 +166,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.
@@ -227,15 +182,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.
@@ -247,15 +199,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.
@@ -267,16 +215,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.
@@ -288,67 +232,53 @@ 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.
      * By default, all results are returned, starred or not.
      * 
* * 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=604 + * 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=604 * @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.EMPTY; includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -357,35 +287,32 @@ private Scope() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Scope(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private com.google.protobuf.LazyStringList includeOrgIds_; /** - * - * *
      * The list of organization IDs to search within.
      * To find your organization ID, follow the steps from
@@ -394,15 +321,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 the steps from
@@ -411,15 +336,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 the steps from
@@ -428,7 +350,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. */ @@ -436,8 +357,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 the steps from
@@ -446,19 +365,17 @@ 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; private com.google.protobuf.LazyStringList includeProjectIds_; /** - * - * *
      * The list of project IDs to search within.
      * For more information on the distinction between project names, IDs, and
@@ -466,15 +383,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.
      * For more information on the distinction between project names, IDs, and
@@ -482,15 +397,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.
      * For more information on the distinction between project names, IDs, and
@@ -498,7 +410,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. */ @@ -506,8 +417,6 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** - * - * *
      * The list of project IDs to search within.
      * For more information on the distinction between project names, IDs, and
@@ -515,19 +424,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_; /** - * - * *
      * If `true`, include Google Cloud Platform (GCP) public datasets in
      * search results. By default, they are excluded.
@@ -536,7 +443,6 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -547,8 +453,6 @@ public boolean getIncludeGcpPublicDatasets() { public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; private com.google.protobuf.LazyStringList restrictedLocations_; /** - * - * *
      * Optional. The list of locations to search within. If empty, all locations are
      * searched.
@@ -560,17 +464,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.
@@ -582,17 +483,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.
@@ -604,9 +501,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. */ @@ -614,8 +509,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.
@@ -627,28 +520,24 @@ 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_; /** - * - * *
      * Optional. If `true`, search only among starred entries.
      * By default, all results are returned, starred or not.
      * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The starredOnly. */ @java.lang.Override @@ -659,30 +548,22 @@ public boolean getStarredOnly() { public static final int INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER = 19; 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=604 + * 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=604 * @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; @@ -694,7 +575,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -705,8 +587,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_); @@ -740,7 +621,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; @@ -751,11 +633,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; @@ -765,20 +648,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; } @@ -799,109 +687,105 @@ 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 @@ -911,41 +795,39 @@ 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(); @@ -965,14 +847,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_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(); } @@ -987,8 +868,7 @@ 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); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result = new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = includeOrgIds_.getUnmodifiableView(); @@ -1016,41 +896,38 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1058,9 +935,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_; @@ -1126,52 +1001,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(); - - break; - } // case 56 - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureRestrictedLocationsIsMutable(); - restrictedLocations_.add(s); - break; - } // case 130 - case 144: - { - starredOnly_ = input.readBool(); - - break; - } // case 144 - case 152: - { - includePublicTagTemplates_ = input.readBool(); - - 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(); + + break; + } // case 56 + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 + case 144: { + starredOnly_ = input.readBool(); + + break; + } // case 144 + case 152: { + includePublicTagTemplates_ = input.readBool(); + + 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) { @@ -1181,21 +1049,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncludeOrgIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1204,15 +1067,13 @@ 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() { return includeOrgIds_.getUnmodifiableView(); } /** - * - * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1221,15 +1082,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 the steps from
@@ -1238,7 +1096,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. */ @@ -1246,8 +1103,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 the steps from
@@ -1256,16 +1111,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 the steps from
@@ -1274,23 +1127,21 @@ 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) { + public Builder setIncludeOrgIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1299,22 +1150,20 @@ 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) { + public Builder addIncludeOrgIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1323,19 +1172,18 @@ 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_); onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1344,7 +1192,6 @@ public Builder addAllIncludeOrgIds(java.lang.Iterable values)
        * 
* * repeated string include_org_ids = 2; - * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { @@ -1354,8 +1201,6 @@ public Builder clearIncludeOrgIds() { return this; } /** - * - * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1364,33 +1209,29 @@ 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) { + public Builder addIncludeOrgIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncludeProjectIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1398,15 +1239,13 @@ 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() { return includeProjectIds_.getUnmodifiableView(); } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1414,15 +1253,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.
        * For more information on the distinction between project names, IDs, and
@@ -1430,7 +1266,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. */ @@ -1438,8 +1273,6 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1447,16 +1280,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.
        * For more information on the distinction between project names, IDs, and
@@ -1464,23 +1295,21 @@ 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) { + public Builder setIncludeProjectIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1488,22 +1317,20 @@ 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) { + public Builder addIncludeProjectIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1511,19 +1338,18 @@ 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_); onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1531,7 +1357,6 @@ public Builder addAllIncludeProjectIds(java.lang.Iterable valu
        * 
* * repeated string include_project_ids = 3; - * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { @@ -1541,8 +1366,6 @@ public Builder clearIncludeProjectIds() { return this; } /** - * - * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1550,25 +1373,23 @@ 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) { + public Builder addIncludeProjectIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } - private boolean includeGcpPublicDatasets_; + private boolean includeGcpPublicDatasets_ ; /** - * - * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in
        * search results. By default, they are excluded.
@@ -1577,7 +1398,6 @@ public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) {
        * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1585,8 +1405,6 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** - * - * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in
        * search results. By default, they are excluded.
@@ -1595,19 +1413,16 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; - * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ public Builder setIncludeGcpPublicDatasets(boolean value) { - + includeGcpPublicDatasets_ = value; onChanged(); return this; } /** - * - * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in
        * search results. By default, they are excluded.
@@ -1616,28 +1431,23 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; - * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { - + includeGcpPublicDatasets_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList restrictedLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRestrictedLocationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1649,17 +1459,14 @@ 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() { return restrictedLocations_.getUnmodifiableView(); } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1671,17 +1478,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.
@@ -1693,9 +1496,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. */ @@ -1703,8 +1504,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.
@@ -1716,18 +1515,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.
@@ -1739,25 +1535,22 @@ 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) { + public Builder setRestrictedLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRestrictedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureRestrictedLocationsIsMutable(); restrictedLocations_.set(index, value); onChanged(); return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1769,24 +1562,21 @@ 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) { + public Builder addRestrictedLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRestrictedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); onChanged(); return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1798,21 +1588,19 @@ 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_); onChanged(); return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1824,9 +1612,7 @@ 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() { @@ -1836,8 +1622,6 @@ public Builder clearRestrictedLocations() { return this; } /** - * - * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1849,34 +1633,30 @@ 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) { + public Builder addRestrictedLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); onChanged(); return this; } - private boolean starredOnly_; + private boolean starredOnly_ ; /** - * - * *
        * Optional. If `true`, search only among starred entries.
        * By default, all results are returned, starred or not.
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The starredOnly. */ @java.lang.Override @@ -1884,116 +1664,88 @@ public boolean getStarredOnly() { return starredOnly_; } /** - * - * *
        * Optional. If `true`, search only among starred entries.
        * By default, all results are returned, starred or not.
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The starredOnly to set. * @return This builder for chaining. */ public Builder setStarredOnly(boolean value) { - + starredOnly_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If `true`, search only among starred entries.
        * By default, all results are returned, starred or not.
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearStarredOnly() { - + starredOnly_ = false; onChanged(); 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=604 + * 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=604 * @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=604 + * 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=604 * @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; onChanged(); 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=604 + * 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=604 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearIncludePublicTagTemplates() { - + @java.lang.Deprecated public Builder clearIncludePublicTagTemplates() { + includePublicTagTemplates_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2006,13 +1758,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(); } @@ -2021,28 +1772,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; @@ -2057,13 +1807,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2071,10 +1820,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 @@ -2082,8 +1828,6 @@ public boolean hasScope() { return scope_ != null; } /** - * - * *
    * Required. The scope of this search request.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2091,21 +1835,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2113,9 +1850,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]; */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { @@ -2125,8 +1860,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * Optional. The query string with a minimum of 3 characters and specific syntax.
    * For more information, see
@@ -2141,7 +1874,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -2150,15 +1882,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
@@ -2173,15 +1904,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 { @@ -2192,8 +1924,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Number of results to return in a single search page.
    * Can't be negative or 0, defaults to 10 in this case.
@@ -2202,7 +1932,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -2213,8 +1942,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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.
@@ -2225,7 +1952,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -2234,15 +1960,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.
@@ -2253,15 +1978,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 { @@ -2272,8 +1998,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Specifies the order of results.
    * Currently supported case-sensitive values are:
@@ -2284,7 +2008,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -2293,15 +2016,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.
    * Currently supported case-sensitive values are:
@@ -2312,15 +2034,16 @@ 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 { @@ -2329,7 +2052,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2341,7 +2063,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2370,7 +2093,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_); @@ -2379,7 +2103,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; @@ -2389,22 +2114,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; } @@ -2434,103 +2163,96 @@ 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].
@@ -2538,32 +2260,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();
@@ -2585,9 +2308,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
@@ -2606,8 +2329,7 @@ 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);
+      com.google.cloud.datacatalog.v1.SearchCatalogRequest result = new com.google.cloud.datacatalog.v1.SearchCatalogRequest(this);
       if (scopeBuilder_ == null) {
         result.scope_ = scope_;
       } else {
@@ -2625,39 +2347,38 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -2665,8 +2386,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());
       }
@@ -2711,43 +2431,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                query_ = input.readStringRequireUtf8();
+            case 10: {
+              query_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 42:
-              {
-                orderBy_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 42: {
+              orderBy_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getScopeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -2760,13 +2476,8 @@ public Builder mergeFrom(
 
     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.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2774,18 +2485,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 scopeBuilder_ != null || scope_ != null; } /** - * - * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2793,24 +2499,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.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2818,9 +2517,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) { @@ -2836,8 +2533,6 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco return this; } /** - * - * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2845,9 +2540,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) { @@ -2861,8 +2554,6 @@ public Builder setScope( return this; } /** - * - * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2870,17 +2561,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 (scope_ != null) { scope_ = - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.newBuilder(scope_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.newBuilder(scope_).mergeFrom(value).buildPartial(); } else { scope_ = value; } @@ -2892,8 +2579,6 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S return this; } /** - * - * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2901,9 +2586,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() { if (scopeBuilder_ == null) { @@ -2917,8 +2600,6 @@ public Builder clearScope() { return this; } /** - * - * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2926,18 +2607,14 @@ 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() { - + onChanged(); return getScopeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2945,22 +2622,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.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2968,22 +2640,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_; @@ -2991,8 +2658,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
@@ -3007,13 +2672,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; @@ -3022,8 +2687,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -3038,14 +2701,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 { @@ -3053,8 +2717,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -3069,22 +2731,20 @@ 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) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -3099,18 +2759,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -3125,25 +2782,23 @@ 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) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of results to return in a single search page.
      * Can't be negative or 0, defaults to 10 in this case.
@@ -3152,7 +2807,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -3160,8 +2814,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of results to return in a single search page.
      * Can't be negative or 0, defaults to 10 in this case.
@@ -3170,19 +2822,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Number of results to return in a single search page.
      * Can't be negative or 0, defaults to 10 in this case.
@@ -3191,11 +2840,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -3203,8 +2851,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.
@@ -3215,13 +2861,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; @@ -3230,8 +2876,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.
@@ -3242,14 +2886,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 { @@ -3257,8 +2902,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.
@@ -3269,22 +2912,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of search
      * results. If empty, returns the first page.
@@ -3295,18 +2936,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Pagination token that, if specified, returns the next page of search
      * results. If empty, returns the first page.
@@ -3317,16 +2955,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -3334,8 +2972,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3346,13 +2982,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -3361,8 +2997,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3373,14 +3007,15 @@ 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 { @@ -3388,8 +3023,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3400,22 +3033,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3426,18 +3057,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3448,23 +3076,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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3474,12 +3102,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(); } @@ -3488,27 +3116,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; @@ -3523,4 +3151,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 78% 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 e3e9dbef4828..2ce5371af8e8 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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -33,16 +15,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -50,16 +27,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -67,15 +39,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
@@ -90,13 +58,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
@@ -111,14 +76,12 @@ 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.
    * Can't be negative or 0, defaults to 10 in this case.
@@ -127,14 +90,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.
@@ -145,13 +105,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.
@@ -162,14 +119,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.
    * Currently supported case-sensitive values are:
@@ -180,13 +135,10 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the order of results.
    * Currently supported case-sensitive values are:
@@ -197,8 +149,8 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * 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 eb08494e78cb..5e6e28f6d445 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,16 +11,15 @@
  *
  * 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_ = "";
@@ -46,35 +28,32 @@ private SearchCatalogResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List results_;
   /**
-   *
-   *
    * 
    * Search results.
    * 
@@ -86,8 +65,6 @@ public java.util.List getRe return results_; } /** - * - * *
    * Search results.
    * 
@@ -95,13 +72,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.
    * 
@@ -113,8 +88,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * Search results.
    * 
@@ -126,8 +99,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) return results_.get(index); } /** - * - * *
    * Search results.
    * 
@@ -143,15 +114,12 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -160,30 +128,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 { @@ -194,8 +162,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -205,15 +171,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.
@@ -223,15 +187,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.
@@ -241,7 +202,6 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 6; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -249,8 +209,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -260,16 +218,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; @@ -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 { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -301,7 +259,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -322,17 +281,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getResultsList() + .equals(other.getResultsList())) 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; } @@ -360,104 +321,96 @@ 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].
@@ -465,32 +418,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();
@@ -509,9 +463,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_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
@@ -530,8 +484,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -556,39 +509,38 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -596,8 +548,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()) {
@@ -616,10 +567,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_);
           }
@@ -665,40 +615,36 @@ 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 26:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
+            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 26: {
+              nextPageToken_ = input.readStringRequireUtf8();
 
-                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:
+              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,29 +654,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.
      * 
@@ -745,8 +683,6 @@ public java.util.List getRe } } /** - * - * *
      * Search results.
      * 
@@ -761,8 +697,6 @@ public int getResultsCount() { } } /** - * - * *
      * Search results.
      * 
@@ -777,8 +711,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) } } /** - * - * *
      * Search results.
      * 
@@ -800,8 +732,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -820,8 +750,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -842,8 +770,6 @@ public Builder addResults(com.google.cloud.datacatalog.v1.SearchCatalogResult va return this; } /** - * - * *
      * Search results.
      * 
@@ -865,8 +791,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -885,8 +809,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -905,8 +827,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -917,7 +837,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); @@ -925,8 +846,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -944,8 +863,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * Search results.
      * 
@@ -963,8 +880,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * Search results.
      * 
@@ -976,8 +891,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder getResultsBui return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Search results.
      * 
@@ -987,22 +900,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 { @@ -1010,8 +920,6 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr } } /** - * - * *
      * Search results.
      * 
@@ -1019,12 +927,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.
      * 
@@ -1033,36 +939,30 @@ 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_; @@ -1070,21 +970,19 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBui 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; @@ -1093,22 +991,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 { @@ -1116,81 +1013,70 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1200,15 +1086,13 @@ 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() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1218,15 +1102,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.
@@ -1236,7 +1117,6 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 6; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1244,8 +1124,6 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1255,16 +1133,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.
@@ -1274,23 +1150,21 @@ 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) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1300,22 +1174,20 @@ 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) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1325,19 +1197,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1347,7 +1218,6 @@ public Builder addAllUnreachable(java.lang.Iterable values) {
      * 
* * repeated string unreachable = 6; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1357,8 +1227,6 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1368,23 +1236,23 @@ 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) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.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); } @@ -1394,12 +1262,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(); } @@ -1408,27 +1276,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; @@ -1443,4 +1311,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 3f0fbd17419c..babe50653a5e 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,57 +33,47 @@ 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); /** - * - * *
    * 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.
@@ -114,13 +83,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.
@@ -130,13 +97,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.
@@ -146,14 +110,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.
@@ -163,9 +124,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 d6df2e946d33..88bb699a0362 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.
  * Each result captures details of one entry that matches the search.
@@ -28,16 +11,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_ = "";
@@ -50,42 +32,38 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -101,31 +79,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_;
   /**
-   *
-   *
    * 
    * Type of the search result.
    * You can use this field to determine which get method to call to fetch the
@@ -133,16 +106,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.
    * You can use this field to determine which get method to call to fetch the
@@ -150,22 +119,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() { + @java.lang.Override public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.SearchResultType result = - com.google.cloud.datacatalog.v1.SearchResultType.valueOf(searchResultType_); + com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.valueOf(searchResultType_); return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; private volatile java.lang.Object searchResultSubtype_; /** - * - * *
    * Sub-type of the search result.
    * A dot-delimited full type of the resource. The same type you
@@ -174,7 +138,6 @@ public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() {
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ @java.lang.Override @@ -183,15 +146,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.
    * A dot-delimited full type of the resource. The same type you
@@ -200,15 +162,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 { @@ -219,8 +182,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object relativeResourceName_; /** - * - * *
    * The relative name of the resource in URL format.
    * Examples:
@@ -229,7 +190,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() {
    * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ @java.lang.Override @@ -238,15 +198,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.
    * Examples:
@@ -255,15 +214,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 { @@ -274,8 +234,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; private volatile java.lang.Object linkedResource_; /** - * - * *
    * The full name of the Google Cloud resource the entry belongs to.
    * For more information, see [Full Resource Name]
@@ -285,7 +243,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() {
    * 
* * string linked_resource = 4; - * * @return The linkedResource. */ @java.lang.Override @@ -294,15 +251,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.
    * For more information, see [Full Resource Name]
@@ -312,15 +268,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 { @@ -331,14 +288,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 @@ -346,14 +300,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 @@ -361,8 +312,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.
    * 
@@ -376,34 +325,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() { @@ -413,55 +352,42 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf((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.valueOf( + (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() { @@ -472,7 +398,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; @@ -481,24 +408,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; } @@ -511,8 +437,6 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 10; private volatile java.lang.Object fullyQualifiedName_; /** - * - * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -525,7 +449,6 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() {
    * 
* * string fully_qualified_name = 10; - * * @return The fullyQualifiedName. */ @java.lang.Override @@ -534,15 +457,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.
    * FQNs take two forms:
@@ -555,15 +477,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 { @@ -574,14 +497,11 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the result.
    * 
* * string display_name = 12; - * * @return The displayName. */ @java.lang.Override @@ -590,29 +510,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 { @@ -623,15 +543,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 13; 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 @@ -640,30 +557,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 { @@ -672,7 +589,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -684,10 +600,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_)) { @@ -726,10 +641,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_); @@ -741,11 +655,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_); @@ -767,32 +682,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: @@ -844,103 +767,96 @@ 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.
    * Each result captures details of one entry that matches the search.
@@ -948,32 +864,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();
@@ -1003,9 +920,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
@@ -1024,8 +941,7 @@ 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);
+      com.google.cloud.datacatalog.v1.SearchCatalogResult result = new com.google.cloud.datacatalog.v1.SearchCatalogResult(this);
       result.searchResultType_ = searchResultType_;
       result.searchResultSubtype_ = searchResultSubtype_;
       result.relativeResourceName_ = relativeResourceName_;
@@ -1053,39 +969,38 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1093,8 +1008,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());
       }
@@ -1126,22 +1040,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();
@@ -1169,75 +1080,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                searchResultType_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                searchResultSubtype_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                relativeResourceName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 58:
-              {
-                input.readMessage(getModifyTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                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();
-
-                break;
-              } // case 82
-            case 98:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 106:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 106
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              searchResultType_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              searchResultSubtype_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              relativeResourceName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              linkedResource_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 58: {
+              input.readMessage(
+                  getModifyTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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();
+
+              break;
+            } // case 82
+            case 98: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 106: {
+              description_ = input.readStringRequireUtf8();
+
+              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) {
@@ -1247,12 +1149,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() {
@@ -1262,10 +1164,9 @@ public Builder clearSystem() {
       return this;
     }
 
+
     private int searchResultType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1273,16 +1174,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.
      * You can use this field to determine which get method to call to fetch the
@@ -1290,19 +1187,16 @@ 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. */ public Builder setSearchResultTypeValue(int value) { - + searchResultType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1310,21 +1204,15 @@ 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.SearchResultType result = - com.google.cloud.datacatalog.v1.SearchResultType.valueOf(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.valueOf(searchResultType_); + return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1332,7 +1220,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. */ @@ -1340,14 +1227,12 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT if (value == null) { throw new NullPointerException(); } - + searchResultType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1355,11 +1240,10 @@ 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() { - + searchResultType_ = 0; onChanged(); return this; @@ -1367,8 +1251,6 @@ public Builder clearSearchResultType() { private java.lang.Object searchResultSubtype_ = ""; /** - * - * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1377,13 +1259,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; @@ -1392,8 +1274,6 @@ public java.lang.String getSearchResultSubtype() { } } /** - * - * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1402,14 +1282,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 { @@ -1417,8 +1298,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { } } /** - * - * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1427,22 +1306,20 @@ 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) { + public Builder setSearchResultSubtype( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchResultSubtype_ = value; onChanged(); return this; } /** - * - * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1451,18 +1328,15 @@ public Builder setSearchResultSubtype(java.lang.String value) {
      * 
* * string search_result_subtype = 2; - * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { - + searchResultSubtype_ = getDefaultInstance().getSearchResultSubtype(); onChanged(); return this; } /** - * - * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1471,16 +1345,16 @@ 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) { + public Builder setSearchResultSubtypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchResultSubtype_ = value; onChanged(); return this; @@ -1488,8 +1362,6 @@ public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) private java.lang.Object relativeResourceName_ = ""; /** - * - * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1498,13 +1370,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; @@ -1513,8 +1385,6 @@ public java.lang.String getRelativeResourceName() { } } /** - * - * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1523,14 +1393,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 { @@ -1538,8 +1409,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { } } /** - * - * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1548,22 +1417,20 @@ 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) { + public Builder setRelativeResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeResourceName_ = value; onChanged(); return this; } /** - * - * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1572,18 +1439,15 @@ public Builder setRelativeResourceName(java.lang.String value) {
      * 
* * string relative_resource_name = 3; - * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { - + relativeResourceName_ = getDefaultInstance().getRelativeResourceName(); onChanged(); return this; } /** - * - * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1592,16 +1456,16 @@ 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) { + public Builder setRelativeResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeResourceName_ = value; onChanged(); return this; @@ -1609,8 +1473,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.
      * For more information, see [Full Resource Name]
@@ -1620,13 +1482,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; @@ -1635,8 +1497,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1646,14 +1506,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 { @@ -1661,8 +1522,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1672,22 +1531,20 @@ 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) { + public Builder setLinkedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; onChanged(); return this; } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1697,18 +1554,15 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 4; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); onChanged(); return this; } /** - * - * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1718,16 +1572,16 @@ 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) { + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = value; onChanged(); return this; @@ -1735,47 +1589,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 modifyTimeBuilder_ != null || modifyTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1796,15 +1637,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(); onChanged(); @@ -1815,8 +1655,6 @@ public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1827,7 +1665,7 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { if (modifyTimeBuilder_ == null) { if (modifyTime_ != null) { modifyTime_ = - com.google.protobuf.Timestamp.newBuilder(modifyTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(modifyTime_).mergeFrom(value).buildPartial(); } else { modifyTime_ = value; } @@ -1839,8 +1677,6 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1859,8 +1695,6 @@ public Builder clearModifyTime() { return this; } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1868,13 +1702,11 @@ public Builder clearModifyTime() { * .google.protobuf.Timestamp modify_time = 7; */ public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { - + onChanged(); return getModifyTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1885,14 +1717,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.
      * 
@@ -1900,34 +1729,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 @@ -1935,17 +1756,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 @@ -1956,17 +1772,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. */ @@ -1977,43 +1788,31 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = - com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf((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.valueOf( + (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. */ @@ -2027,17 +1826,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() { @@ -2050,14 +1844,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 @@ -2065,14 +1856,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 @@ -2082,7 +1870,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; @@ -2093,25 +1882,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; } @@ -2121,35 +1909,30 @@ 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) { + public Builder setUserSpecifiedSystem( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - systemCase_ = 9; + 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() { @@ -2161,22 +1944,20 @@ 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) { + public Builder setUserSpecifiedSystemBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); systemCase_ = 9; system_ = value; onChanged(); @@ -2185,8 +1966,6 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) private java.lang.Object fullyQualifiedName_ = ""; /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2199,13 +1978,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; @@ -2214,8 +1993,6 @@ public java.lang.String getFullyQualifiedName() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2228,14 +2005,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 { @@ -2243,8 +2021,6 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { } } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2257,22 +2033,20 @@ 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) { + public Builder setFullyQualifiedName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullyQualifiedName_ = value; onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2285,18 +2059,15 @@ public Builder setFullyQualifiedName(java.lang.String value) {
      * 
* * string fully_qualified_name = 10; - * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { - + fullyQualifiedName_ = getDefaultInstance().getFullyQualifiedName(); onChanged(); return this; } /** - * - * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2309,16 +2080,16 @@ 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) { + public Builder setFullyQualifiedNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullyQualifiedName_ = value; onChanged(); return this; @@ -2326,20 +2097,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; @@ -2348,21 +2117,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 { @@ -2370,61 +2138,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the result.
      * 
* * string display_name = 12; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2432,21 +2193,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; @@ -2455,22 +2214,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 { @@ -2478,71 +2236,64 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2552,12 +2303,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(); } @@ -2566,27 +2317,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; @@ -2601,4 +2352,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 80% 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 9d3ecc1b4796..6b7bac423409 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.
    * You can use this field to determine which get method to call to fetch the
@@ -33,13 +15,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.
    * You can use this field to determine which get method to call to fetch the
@@ -47,14 +26,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.
    * A dot-delimited full type of the resource. The same type you
@@ -63,13 +39,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ java.lang.String getSearchResultSubtype(); /** - * - * *
    * Sub-type of the search result.
    * A dot-delimited full type of the resource. The same type you
@@ -78,14 +51,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.
    * Examples:
@@ -94,13 +65,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.
    * 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 Google Cloud resource the entry belongs to.
    * For more information, see [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 Google Cloud resource the entry belongs to.
    * For more information, see [Full Resource Name]
@@ -142,38 +105,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.
    * 
@@ -183,91 +138,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.
    * FQNs take two forms:
@@ -280,13 +210,10 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string fully_qualified_name = 10; - * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** - * - * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -299,62 +226,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(); public 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 3f3a3e21814a..553b8b5ccef5 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,42 +29,38 @@ private SerializedPolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SerializedPolicyTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object policyTag_;
   /**
-   *
-   *
    * 
    * Resource name of the policy tag.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; - * * @return The policyTag. */ @java.lang.Override @@ -91,30 +69,30 @@ 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.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * 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 { @@ -125,15 +103,12 @@ public com.google.protobuf.ByteString getPolicyTagBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -142,30 +117,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 { @@ -176,8 +151,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -185,7 +158,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -194,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
@@ -210,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 { @@ -229,8 +201,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; private java.util.List childPolicyTags_; /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -238,13 +208,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.
    * 
@@ -252,13 +219,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.
    * 
@@ -270,8 +235,6 @@ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -283,8 +246,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in return childPolicyTags_.get(index); } /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -298,7 +259,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +270,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -342,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; @@ -352,18 +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.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; } @@ -391,103 +356,96 @@ 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.
@@ -495,32 +453,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();
@@ -541,9 +500,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
@@ -562,8 +521,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.policyTag_ = policyTag_;
       result.displayName_ = displayName_;
@@ -585,39 +543,38 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -625,8 +582,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_;
         onChanged();
@@ -657,10 +613,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedPolicyTag oth
             childPolicyTagsBuilder_ = null;
             childPolicyTags_ = other.childPolicyTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            childPolicyTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getChildPolicyTagsFieldBuilder()
-                    : null;
+            childPolicyTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getChildPolicyTagsFieldBuilder() : null;
           } else {
             childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_);
           }
@@ -692,45 +647,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                policyTag_ = input.readStringRequireUtf8();
+            case 10: {
+              policyTag_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -740,26 +690,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object policyTag_ = "";
     /**
-     *
-     *
      * 
      * Resource name of the policy tag.
      * This field is 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; @@ -768,22 +715,21 @@ public java.lang.String getPolicyTag() { } } /** - * - * *
      * Resource name of the policy tag.
      * This field is ignored when calling `ImportTaxonomies`.
      * 
* * 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 { @@ -791,64 +737,57 @@ public com.google.protobuf.ByteString getPolicyTagBytes() { } } /** - * - * *
      * Resource name of the policy tag.
      * This field is 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) { + public Builder setPolicyTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + policyTag_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of the policy tag.
      * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; - * * @return This builder for chaining. */ public Builder clearPolicyTag() { - + policyTag_ = getDefaultInstance().getPolicyTag(); onChanged(); return this; } /** - * - * *
      * Resource name of the policy tag.
      * This field is 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) { + public Builder setPolicyTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + policyTag_ = value; onChanged(); return this; @@ -856,21 +795,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; @@ -879,22 +816,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 { @@ -902,64 +838,57 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -967,8 +896,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
@@ -976,13 +903,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; @@ -991,8 +918,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
@@ -1000,14 +925,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 { @@ -1015,8 +941,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
@@ -1024,22 +948,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1047,18 +969,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -1066,50 +985,41 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List childPolicyTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - childPolicyTags_ = - new java.util.ArrayList( - childPolicyTags_); + childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -1117,8 +1027,6 @@ private void ensureChildPolicyTagsIsMutable() { } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1133,8 +1041,6 @@ public int getChildPolicyTagsCount() { } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1149,8 +1055,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1172,8 +1076,6 @@ public Builder setChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1192,8 +1094,6 @@ public Builder setChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1214,8 +1114,6 @@ public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1.SerializedPoli return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1237,8 +1135,6 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1257,8 +1153,6 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1277,8 +1171,6 @@ public Builder addChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1289,7 +1181,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); @@ -1297,8 +1190,6 @@ public Builder addAllChildPolicyTags( return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1316,8 +1207,6 @@ public Builder clearChildPolicyTags() { return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1335,8 +1224,6 @@ public Builder removeChildPolicyTags(int index) { return this; } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1348,8 +1235,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getChildPolic return getChildPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1359,22 +1244,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 { @@ -1382,8 +1264,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } } /** - * - * *
      * Children of the policy tag, if any.
      * 
@@ -1391,12 +1271,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.
      * 
@@ -1405,35 +1283,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1442,9 +1311,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); } @@ -1454,12 +1323,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(); } @@ -1468,27 +1337,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; @@ -1503,4 +1372,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 c3ee0e7c6f9d..f5200a7effe7 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,85 +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/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.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; - * * @return The policyTag. */ java.lang.String getPolicyTag(); /** - * - * *
    * Resource name of the policy tag.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * 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
@@ -87,13 +59,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
@@ -101,24 +70,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.
    * 
@@ -127,8 +93,6 @@ public interface SerializedPolicyTagOrBuilder */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(int index); /** - * - * *
    * Children of the policy tag, if any.
    * 
@@ -137,19 +101,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 007f1d54561f..344945001fb6 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,41 +30,37 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,29 +69,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; } } /** - * - * *
    * 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 { @@ -124,15 +102,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -141,30 +116,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 { @@ -175,8 +150,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int POLICY_TAGS_FIELD_NUMBER = 3; private java.util.List policyTags_; /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -188,8 +161,6 @@ public java.util.List getPo return policyTags_; } /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -197,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.
    * 
@@ -215,8 +184,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -228,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.
    * 
@@ -245,49 +210,34 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; 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) { + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(from); - return result == null - ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(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 @@ -295,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. */ @@ -312,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. */ @@ -344,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; @@ -360,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_); @@ -394,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; @@ -418,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; @@ -459,103 +398,96 @@ 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
@@ -564,32 +496,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();
@@ -610,9 +543,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
@@ -631,8 +564,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -658,39 +590,38 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -698,8 +629,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_;
         onChanged();
@@ -726,10 +656,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedTaxonomy othe
             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_);
           }
@@ -771,58 +700,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
 
-                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:
-              {
+              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) {
@@ -832,25 +755,22 @@ 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; @@ -859,21 +779,20 @@ 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 { @@ -881,61 +800,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -943,21 +855,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; @@ -966,22 +876,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 { @@ -989,90 +898,75 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List 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.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.
      * 
@@ -1087,8 +981,6 @@ public java.util.List getPo } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1103,8 +995,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1119,8 +1009,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int ind } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1142,8 +1030,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1162,8 +1048,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1184,8 +1068,6 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.SerializedPolicyTag return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1207,8 +1089,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1227,8 +1107,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1247,8 +1125,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1259,7 +1135,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); @@ -1267,8 +1144,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1286,8 +1161,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1305,8 +1178,6 @@ public Builder removePolicyTags(int index) { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1318,8 +1189,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getPolicyTags return getPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1329,22 +1198,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 { @@ -1352,8 +1218,6 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag } } /** - * - * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1361,12 +1225,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.
      * 
@@ -1375,44 +1237,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_ & 0x00000001) != 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_ & 0x00000001) != 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_ & 0x00000002) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1420,48 +1275,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. */ @@ -1469,15 +1310,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. @@ -1493,20 +1330,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(); } @@ -1516,15 +1348,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. */ @@ -1538,15 +1366,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() { @@ -1556,30 +1380,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. */ @@ -1587,35 +1404,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. */ @@ -1626,19 +1436,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); @@ -1646,9 +1453,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; @@ -1707,4 +1514,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 16e5db8cd234..e7063f40b098 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,93 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -96,8 +67,6 @@ public interface SerializedTaxonomyOrBuilder */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int index); /** - * - * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -106,90 +75,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/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 61% 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 a7093c827317..3845c6aeea57 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -185,104 +159,97 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.StarEntryRequest result = new com.google.cloud.datacatalog.v1.StarEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.StarEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 de9242111f90..15950de1a3ff 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,46 +12,44 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
@@ -80,7 +61,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -98,13 +80,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;
@@ -123,103 +104,96 @@ 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].
@@ -228,32 +202,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();
@@ -261,9 +236,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
@@ -282,8 +257,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;
     }
@@ -292,39 +266,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;
@@ -332,8 +305,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;
@@ -360,13 +332,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) {
@@ -376,9 +347,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);
     }
 
@@ -388,12 +359,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();
   }
@@ -402,27 +373,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;
@@ -437,4 +408,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 80%
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 a43a325e9fe7..c3406d8660c6 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,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;
 
 /**
- *
- *
  * 
  * 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.EMPTY; fileType_ = ""; @@ -44,35 +26,32 @@ private StorageProperties() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StorageProperties(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private com.google.protobuf.LazyStringList filePattern_; /** - * - * *
    * Patterns to identify a set of files for this fileset.
    * Examples of a valid `file_pattern`:
@@ -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.
    * Examples of a valid `file_pattern`:
@@ -126,15 +103,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.
    * Examples of a valid `file_pattern`:
@@ -157,7 +131,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. */ @@ -165,8 +138,6 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** - * - * *
    * Patterns to identify a set of files for this fileset.
    * Examples of a valid `file_pattern`:
@@ -189,25 +160,22 @@ 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; 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 @@ -216,29 +184,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 { @@ -247,7 +215,6 @@ public com.google.protobuf.ByteString getFileTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < filePattern_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePattern_.getRaw(i)); } @@ -294,16 +262,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -327,135 +296,129 @@ 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(); @@ -467,9 +430,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_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 @@ -488,8 +451,7 @@ 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); + com.google.cloud.datacatalog.v1.StorageProperties result = new com.google.cloud.datacatalog.v1.StorageProperties(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { filePattern_ = filePattern_.getUnmodifiableView(); @@ -505,39 +467,38 @@ public com.google.cloud.datacatalog.v1.StorageProperties buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -545,8 +506,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_; @@ -587,26 +547,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(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternIsMutable(); + filePattern_.add(s); + break; + } // case 10 + case 18: { + fileType_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -616,21 +573,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList filePattern_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList filePattern_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFilePatternIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filePattern_ = new com.google.protobuf.LazyStringArrayList(filePattern_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -653,15 +605,13 @@ 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() { return filePattern_.getUnmodifiableView(); } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -684,15 +634,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.
      * Examples of a valid `file_pattern`:
@@ -715,7 +662,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. */ @@ -723,8 +669,6 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -747,16 +691,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.
      * Examples of a valid `file_pattern`:
@@ -779,23 +721,21 @@ 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) { + public Builder setFilePattern( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternIsMutable(); filePattern_.set(index, value); onChanged(); return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -818,22 +758,20 @@ 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) { + public Builder addFilePattern( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternIsMutable(); filePattern_.add(value); onChanged(); return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -856,19 +794,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -891,7 +828,6 @@ public Builder addAllFilePattern(java.lang.Iterable values) {
      * 
* * repeated string file_pattern = 1; - * * @return This builder for chaining. */ public Builder clearFilePattern() { @@ -901,8 +837,6 @@ public Builder clearFilePattern() { return this; } /** - * - * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -925,15 +859,15 @@ 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) { + public Builder addFilePatternBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFilePatternIsMutable(); filePattern_.add(value); onChanged(); @@ -942,20 +876,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; @@ -964,21 +896,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 { @@ -986,68 +917,61 @@ 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) { + public Builder setFileType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileType_ = value; onChanged(); return this; } /** - * - * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; - * * @return This builder for chaining. */ public Builder clearFileType() { - + fileType_ = getDefaultInstance().getFileType(); onChanged(); 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) { + public Builder setFileTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fileType_ = 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); } @@ -1057,12 +981,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(); } @@ -1071,27 +995,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; @@ -1106,4 +1030,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 4d69e4c76ec3..a35472c5fcec 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.
    * Examples of a valid `file_pattern`:
@@ -48,13 +30,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.
    * Examples of a valid `file_pattern`:
@@ -77,13 +57,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.
    * Examples of a valid `file_pattern`:
@@ -106,14 +83,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.
    * Examples of a valid `file_pattern`:
@@ -136,34 +110,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 71% 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 7f6ca2f8da32..58994de7dfac 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,81 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,14 +62,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 @@ -98,8 +74,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.
    * 
@@ -114,8 +88,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.
@@ -126,7 +98,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -134,8 +105,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -146,7 +115,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override @@ -154,8 +122,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.
@@ -175,16 +141,12 @@ 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 @@ -192,16 +154,12 @@ 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,15 +167,12 @@ 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() { @@ -225,7 +180,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -257,13 +212,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; @@ -273,25 +231,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; @@ -321,136 +281,130 @@ 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(); @@ -476,9 +430,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 @@ -497,8 +451,7 @@ 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); + com.google.cloud.datacatalog.v1.SystemTimestamps result = new com.google.cloud.datacatalog.v1.SystemTimestamps(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -522,39 +475,38 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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 +514,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 +550,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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,47 +589,34 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -697,15 +637,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(); onChanged(); @@ -716,8 +655,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -728,7 +665,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -740,8 +677,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -760,8 +695,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -769,13 +702,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -786,14 +717,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.
      * 
@@ -801,17 +729,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_; @@ -819,13 +744,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.
@@ -836,15 +756,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -855,21 +772,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.
@@ -895,8 +807,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.
@@ -908,7 +818,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();
         onChanged();
@@ -919,8 +830,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.
@@ -936,7 +845,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -948,8 +857,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.
@@ -973,8 +880,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -987,13 +892,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -1009,14 +912,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.
@@ -1029,17 +929,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_;
@@ -1047,61 +944,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. 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 expireTimeBuilder_ != null || 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. */ 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) { @@ -1117,18 +995,15 @@ 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(); onChanged(); @@ -1139,22 +1014,18 @@ 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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1166,16 +1037,12 @@ 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() { if (expireTimeBuilder_ == null) { @@ -1189,74 +1056,58 @@ 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() { - + onChanged(); 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); } @@ -1266,12 +1117,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(); } @@ -1280,27 +1131,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; @@ -1315,4 +1166,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 b4aabd4946a5..a2bdce94dde2 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.
@@ -71,13 +45,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.
@@ -88,13 +59,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.
@@ -109,43 +77,32 @@ 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 bf53c9620acf..a25147eade0f 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,77 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 name of the
@@ -80,10 +59,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 @@ -92,15 +68,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 name of the
@@ -109,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 { @@ -129,7 +103,6 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,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_); } @@ -165,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; } @@ -192,136 +166,130 @@ 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(); @@ -331,9 +299,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 @@ -352,8 +320,7 @@ 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); + com.google.cloud.datacatalog.v1.TableSpec result = new com.google.cloud.datacatalog.v1.TableSpec(this); result.groupedEntry_ = groupedEntry_; onBuilt(); return result; @@ -363,39 +330,38 @@ public com.google.cloud.datacatalog.v1.TableSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -434,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - groupedEntry_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + groupedEntry_ = input.readStringRequireUtf8(); + + 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,8 +423,6 @@ public Builder mergeFrom( 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 name of the
@@ -469,16 +431,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; @@ -487,8 +447,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 name of the
@@ -497,17 +455,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 { @@ -515,8 +472,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 name of the
@@ -525,25 +480,21 @@ 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) { + public Builder setGroupedEntry( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupedEntry_ = value; 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 name of the
@@ -552,21 +503,16 @@ 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() { - + groupedEntry_ = getDefaultInstance().getGroupedEntry(); 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 name of the
@@ -575,26 +521,24 @@ 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) { + public Builder setGroupedEntryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupedEntry_ = 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); } @@ -604,12 +548,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(); } @@ -618,27 +562,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; @@ -653,4 +597,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 53% 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 24de67ab5345..7aa9e7955c59 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 name of the
@@ -34,16 +16,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 name of the
@@ -52,11 +29,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..70841f86c9f5 --- /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,113 @@ +// 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\"\350\001\n\021BigQueryTableSpec\022L\n" + + "\021table_source_type\030\001 \001(\0162,.google.cloud." + + "datacatalog.v1.TableSourceTypeB\003\340A\003\022:\n\tv" + + "iew_spec\030\002 \001(\0132%.google.cloud.datacatalo" + + "g.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.go" + + "ogle.cloud.datacatalog.v1.TableSpecH\000B\013\n" + + "\ttype_spec\"#\n\010ViewSpec\022\027\n\nview_query\030\001 \001" + + "(\tB\003\340A\003\"L\n\tTableSpec\022?\n\rgrouped_entry\030\001 " + + "\001(\tB(\340A\003\372A\"\n datacatalog.googleapis.com/" + + "Entry\"\255\001\n\027BigQueryDateShardedSpec\0229\n\007dat" + + "aset\030\001 \001(\tB(\340A\003\372A\"\n datacatalog.googleap" + + "is.com/Entry\022\031\n\014table_prefix\030\002 \001(\tB\003\340A\003\022" + + "\030\n\013shard_count\030\003 \001(\003B\003\340A\003\022\"\n\025latest_shar" + + "d_resource\030\004 \001(\tB\003\340A\003*{\n\017TableSourceType" + + "\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rB" + + "IGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BI" + + "GQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.googl" + + "e.cloud.datacatalog.v1P\001ZFgoogle.golang." + + "org/genproto/googleapis/cloud/datacatalo" + + "g/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataC" + + "atalog.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.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 68% 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 58190002890c..2c6ee92d236a 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.
@@ -31,16 +14,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_ = "";
@@ -49,52 +31,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -110,29 +89,25 @@ 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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -141,7 +116,6 @@ public ScopeCase getScopeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -150,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 where tag ID is a
    * system-generated identifier.
@@ -167,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,8 +160,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TEMPLATE_FIELD_NUMBER = 2; private volatile java.lang.Object template_; /** - * - * *
    * Required. The resource name of the tag template this tag uses. Example:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ @java.lang.Override @@ -204,15 +175,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -220,15 +190,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 { @@ -239,14 +210,11 @@ public com.google.protobuf.ByteString getTemplateBytes() { public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; 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 @@ -255,29 +223,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 { @@ -287,8 +255,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.
@@ -297,15 +263,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.
@@ -314,7 +277,6 @@ public boolean hasColumn() {
    * 
* * string column = 4; - * * @return The column. */ public java.lang.String getColumn() { @@ -325,7 +287,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; @@ -334,8 +297,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.
@@ -344,17 +305,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; } @@ -365,28 +327,24 @@ 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()); } - - 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() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } @@ -395,8 +353,6 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * Required. Maps the ID of a tag field to its value and additional information
    * about that field.
@@ -404,26 +360,24 @@ 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.
@@ -431,17 +385,14 @@ 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.
@@ -449,23 +400,19 @@ 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 getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
@@ -473,15 +420,13 @@ public 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)) { @@ -491,7 +436,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; @@ -503,15 +447,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(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_); } @@ -533,16 +482,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_); @@ -558,21 +506,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: @@ -611,103 +564,97 @@ 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.
@@ -718,52 +665,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();
@@ -780,9 +730,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
@@ -820,39 +770,38 @@ public com.google.cloud.datacatalog.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -873,19 +822,18 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Tag other) {
         templateDisplayName_ = other.templateDisplayName_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       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();
@@ -913,51 +861,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                template_ = input.readStringRequireUtf8();
-
-                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());
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                scopeCase_ = 4;
-                scope_ = s;
-                break;
-              } // case 34
-            case 42:
-              {
-                templateDisplayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              template_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              scopeCase_ = 4;
+              scope_ = s;
+              break;
+            } // case 34
+            case 42: {
+              templateDisplayName_ = input.readStringRequireUtf8();
+
+              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) {
@@ -967,12 +905,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() {
@@ -986,8 +924,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.
@@ -996,13 +932,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; @@ -1011,8 +947,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1021,14 +955,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 { @@ -1036,8 +971,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1046,22 +979,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1070,18 +1001,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1090,16 +1018,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1107,8 +1035,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:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1116,13 +1042,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; @@ -1131,8 +1057,6 @@ public java.lang.String getTemplate() { } } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1140,14 +1064,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 { @@ -1155,8 +1080,6 @@ public com.google.protobuf.ByteString getTemplateBytes() { } } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1164,22 +1087,20 @@ 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) { + public Builder setTemplate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + template_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1187,18 +1108,15 @@ public Builder setTemplate(java.lang.String value) {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTemplate() { - + template_ = getDefaultInstance().getTemplate(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1206,16 +1124,16 @@ 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) { + public Builder setTemplateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + template_ = value; onChanged(); return this; @@ -1223,20 +1141,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; @@ -1245,21 +1161,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 { @@ -1267,69 +1182,60 @@ 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) { + public Builder setTemplateDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateDisplayName_ = value; 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() { - + templateDisplayName_ = getDefaultInstance().getTemplateDisplayName(); onChanged(); 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) { + public Builder setTemplateDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateDisplayName_ = 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.
@@ -1338,7 +1244,6 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value)
      * 
* * string column = 4; - * * @return Whether the column field is set. */ @java.lang.Override @@ -1346,8 +1251,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.
@@ -1356,7 +1259,6 @@ public boolean hasColumn() {
      * 
* * string column = 4; - * * @return The column. */ @java.lang.Override @@ -1366,7 +1268,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; @@ -1377,8 +1280,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.
@@ -1387,18 +1288,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; } @@ -1408,8 +1310,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.
@@ -1418,22 +1318,20 @@ 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) { + public Builder setColumn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - scopeCase_ = 4; + 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.
@@ -1442,7 +1340,6 @@ public Builder setColumn(java.lang.String value) {
      * 
* * string column = 4; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1454,8 +1351,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.
@@ -1464,38 +1359,37 @@ 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) { + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); scopeCase_ = 4; scope_ = value; onChanged(); 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() { + 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() { - onChanged(); - ; + internalGetMutableFields() { + onChanged();; 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(); @@ -1507,8 +1401,6 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional information
      * about that field.
@@ -1516,26 +1408,24 @@ 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.
@@ -1543,18 +1433,14 @@ 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.
@@ -1562,23 +1448,19 @@ 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 getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
@@ -1586,15 +1468,13 @@ public 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)) { @@ -1604,12 +1484,11 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow(java.lang.Strin } public Builder clearFields() { - 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.
@@ -1617,26 +1496,25 @@ 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() { + getMutableFields() { return internalGetMutableFields().getMutableMap(); } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional information
      * about that field.
@@ -1644,24 +1522,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableFields().getMutableMap().put(key, value); + internalGetMutableFields().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Required. Maps the ID of a tag field to its value and additional information
      * about that field.
@@ -1669,18 +1544,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); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1690,12 +1565,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(); } @@ -1704,27 +1579,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; @@ -1739,4 +1614,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 05d89373a543..b893fc281b01 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,136 +11,121 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object displayName_; /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -166,29 +134,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 { @@ -197,7 +165,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -233,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -261,93 +229,87 @@ 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 @@ -357,41 +319,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(); @@ -401,9 +361,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 @@ -422,8 +382,7 @@ 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); + com.google.cloud.datacatalog.v1.TagField.EnumValue result = new com.google.cloud.datacatalog.v1.TagField.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -433,41 +392,38 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -475,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_; onChanged(); @@ -507,19 +462,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + 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,20 +485,18 @@ public Builder mergeFrom( 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; @@ -554,21 +505,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 { @@ -576,66 +526,58 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -648,12 +590,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(); } @@ -662,28 +604,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; @@ -698,14 +639,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int kindCase_ = 0; 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), @@ -715,7 +655,6 @@ public enum KindCase RICHTEXT_VALUE(8), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -731,45 +670,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 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; 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 @@ -778,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 { @@ -810,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 @@ -825,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 @@ -845,30 +768,24 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * 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.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * string string_value = 3; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -879,7 +796,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; @@ -888,25 +806,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * 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; } @@ -918,14 +835,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 @@ -933,14 +847,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 @@ -953,14 +864,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 @@ -968,26 +876,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.
    * 
@@ -997,22 +900,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; /** - * - * *
    * The value of a tag field with an enum type.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -1020,27 +920,22 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** - * - * *
    * The value of a tag field with an enum type.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .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.
    * This value must be one of the allowed values listed in this enum.
@@ -1051,15 +946,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -1068,15 +961,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -1085,7 +975,6 @@ public boolean hasRichtextValue() {
    * 
* * string richtext_value = 8; - * * @return The richtextValue. */ public java.lang.String getRichtextValue() { @@ -1096,7 +985,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; @@ -1105,8 +995,6 @@ public java.lang.String getRichtextValue() { } } /** - * - * *
    * The value of a tag field with a rich text type.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -1115,17 +1003,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; } @@ -1138,8 +1027,6 @@ public com.google.protobuf.ByteString getRichtextValueBytes() { public static final int ORDER_FIELD_NUMBER = 7; private int order_; /** - * - * *
    * Output only. The order of this field with respect to other fields in this tag. Can be
    * set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -1149,7 +1036,6 @@ public com.google.protobuf.ByteString getRichtextValueBytes() {
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -1158,7 +1044,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1170,18 +1055,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_); @@ -1208,30 +1096,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_); @@ -1244,35 +1131,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: @@ -1295,10 +1190,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; @@ -1306,7 +1199,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; @@ -1328,104 +1222,97 @@ 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].
@@ -1433,32 +1320,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();
@@ -1478,9 +1366,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
@@ -1499,8 +1387,7 @@ 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);
+      com.google.cloud.datacatalog.v1.TagField result = new com.google.cloud.datacatalog.v1.TagField(this);
       result.displayName_ = displayName_;
       if (kindCase_ == 2) {
         result.kind_ = kind_;
@@ -1538,39 +1425,38 @@ public com.google.cloud.datacatalog.v1.TagField buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1587,44 +1473,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();
@@ -1652,63 +1531,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
 
-                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();
+              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();
 
-                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:
+              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) {
@@ -1718,12 +1592,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() {
@@ -1733,22 +1607,21 @@ public Builder clearKind() {
       return this;
     }
 
+
     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; @@ -1757,21 +1630,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 { @@ -1779,89 +1651,76 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } /** - * - * *
      * 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() { @@ -1871,14 +1730,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. */ @@ -1889,14 +1745,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() { @@ -1909,15 +1762,12 @@ public Builder clearDoubleValue() { } /** - * - * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1925,15 +1775,12 @@ public boolean hasStringValue() { return kindCase_ == 3; } /** - * - * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; - * * @return The stringValue. */ @java.lang.Override @@ -1943,7 +1790,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; @@ -1954,26 +1802,25 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * 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; } @@ -1983,37 +1830,32 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 3; + throw new NullPointerException(); + } + kindCase_ = 3; kind_ = value; onChanged(); return this; } /** - * - * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -2025,23 +1867,21 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; onChanged(); @@ -2049,28 +1889,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() { @@ -2080,14 +1914,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. */ @@ -2098,14 +1929,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() { @@ -2118,19 +1946,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 @@ -2138,14 +1960,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 @@ -2163,8 +1982,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2185,15 +2002,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(); @@ -2204,8 +2020,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2214,11 +2028,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; } @@ -2234,8 +2047,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2259,8 +2070,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2271,8 +2080,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2291,8 +2098,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2300,43 +2105,33 @@ 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; - onChanged(); - ; + onChanged();; return timestampValueBuilder_; } 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.
      * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -2344,15 +2139,12 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** - * - * *
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; - * * @return The enumValue. */ @java.lang.Override @@ -2370,8 +2162,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { } } /** - * - * *
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2393,8 +2183,6 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue v
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2414,8 +2202,6 @@ public Builder setEnumValue(
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2425,13 +2211,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;
         }
@@ -2447,8 +2230,6 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2473,8 +2254,6 @@ public Builder clearEnumValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2486,8 +2265,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder getEnumValueBu
       return getEnumValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2507,8 +2284,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
       }
     }
     /**
-     *
-     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2517,33 +2292,25 @@ 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());
         kind_ = null;
       }
       kindCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return enumValueBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2552,7 +2319,6 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
      * 
* * string richtext_value = 8; - * * @return Whether the richtextValue field is set. */ @java.lang.Override @@ -2560,8 +2326,6 @@ public boolean hasRichtextValue() { return kindCase_ == 8; } /** - * - * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2570,7 +2334,6 @@ public boolean hasRichtextValue() {
      * 
* * string richtext_value = 8; - * * @return The richtextValue. */ @java.lang.Override @@ -2580,7 +2343,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; @@ -2591,8 +2355,6 @@ public java.lang.String getRichtextValue() { } } /** - * - * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2601,18 +2363,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; } @@ -2622,8 +2385,6 @@ public com.google.protobuf.ByteString getRichtextValueBytes() { } } /** - * - * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2632,22 +2393,20 @@ 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) { + public Builder setRichtextValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 8; + throw new NullPointerException(); + } + kindCase_ = 8; kind_ = value; onChanged(); return this; } /** - * - * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2656,7 +2415,6 @@ public Builder setRichtextValue(java.lang.String value) {
      * 
* * string richtext_value = 8; - * * @return This builder for chaining. */ public Builder clearRichtextValue() { @@ -2668,8 +2426,6 @@ public Builder clearRichtextValue() { return this; } /** - * - * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2678,25 +2434,23 @@ 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) { + public Builder setRichtextValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 8; kind_ = value; onChanged(); 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 [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -2706,7 +2460,6 @@ public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -2714,8 +2467,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 [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -2725,19 +2476,16 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The order of this field with respect to other fields in this tag. Can be
      * set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -2747,18 +2495,17 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -2768,12 +2515,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(); } @@ -2782,27 +2529,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; @@ -2817,4 +2564,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 83% 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 fd26af126dc7..b1d5d6f77eef 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,170 +1,121 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * string string_value = 3; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * 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.
    * 
@@ -174,34 +125,26 @@ public interface TagFieldOrBuilder com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** - * - * *
    * The value of a tag field with an enum type.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .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.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .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.
    * This value must be one of the allowed values listed in this enum.
@@ -212,8 +155,6 @@ public interface TagFieldOrBuilder
   com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * The value of a tag field with a rich text type.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -222,13 +163,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -237,13 +175,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -252,14 +187,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 [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -269,7 +202,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 f38fe5430158..d5ad783ffe81 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.
@@ -34,13 +16,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.
@@ -49,14 +28,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -64,13 +41,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -78,39 +52,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.
@@ -119,13 +86,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.
@@ -134,13 +98,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.
@@ -149,14 +110,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.
@@ -164,14 +123,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.
@@ -179,17 +134,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.
@@ -197,14 +152,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.
@@ -212,19 +164,15 @@ 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.
@@ -232,11 +180,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); public 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 67% 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 a0cdb19bf707..056b9c900855 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.
  * The template is used to create tags that are attached to GCP resources.
@@ -34,16 +17,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_ = "";
@@ -51,46 +33,44 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
@@ -98,7 +78,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -107,15 +86,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.
    * Note: The tag template itself and its child resources might not be
@@ -123,15 +101,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 { @@ -142,8 +121,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Display name for this template. Defaults to an empty string.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -152,7 +129,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -161,15 +137,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -178,15 +153,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 { @@ -197,8 +173,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int IS_PUBLICLY_READABLE_FIELD_NUMBER = 5; private boolean isPubliclyReadable_; /** - * - * *
    * Indicates whether tags created with this template are public. Public tags
    * do not require tag template access to appear in
@@ -208,7 +182,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * bool is_publicly_readable = 5; - * * @return The isPubliclyReadable. */ @java.lang.Override @@ -217,31 +190,24 @@ 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()); } - - 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_; } @@ -250,8 +216,6 @@ 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
@@ -264,27 +228,24 @@ 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
@@ -297,18 +258,14 @@ 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
@@ -321,23 +278,19 @@ 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 getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -350,15 +303,13 @@ public 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)) { @@ -368,7 +319,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; @@ -380,15 +330,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_); } @@ -407,20 +362,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; @@ -430,18 +384,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -458,7 +415,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(); @@ -468,104 +426,97 @@ 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.
    * The template is used to create tags that are attached to GCP resources.
@@ -579,52 +530,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();
@@ -639,9 +593,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
@@ -660,8 +614,7 @@ 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);
+      com.google.cloud.datacatalog.v1.TagTemplate result = new com.google.cloud.datacatalog.v1.TagTemplate(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -676,39 +629,38 @@ public com.google.cloud.datacatalog.v1.TagTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -728,7 +680,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());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -755,44 +708,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                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());
-                break;
-              } // case 26
-            case 40:
-              {
-                isPubliclyReadable_ = input.readBool();
-
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              break;
+            } // case 26
+            case 40: {
+              isPubliclyReadable_ = input.readBool();
+
+              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) {
@@ -802,13 +746,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.
      * Note: The tag template itself and its child resources might not be
@@ -816,13 +757,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; @@ -831,8 +772,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -840,14 +779,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 { @@ -855,8 +795,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -864,22 +802,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -887,18 +823,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -906,16 +839,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -923,8 +856,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -933,13 +864,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; @@ -948,8 +879,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -958,14 +887,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 { @@ -973,8 +903,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -983,22 +911,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1007,18 +933,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1027,25 +950,23 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - private 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
@@ -1055,7 +976,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool is_publicly_readable = 5; - * * @return The isPubliclyReadable. */ @java.lang.Override @@ -1063,8 +983,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
@@ -1074,19 +992,16 @@ public boolean getIsPubliclyReadable() {
      * 
* * bool is_publicly_readable = 5; - * * @param value The isPubliclyReadable to set. * @return This builder for chaining. */ public Builder setIsPubliclyReadable(boolean value) { - + isPubliclyReadable_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1096,36 +1011,31 @@ public Builder setIsPubliclyReadable(boolean value) {
      * 
* * bool is_publicly_readable = 5; - * * @return This builder for chaining. */ public Builder clearIsPubliclyReadable() { - + isPubliclyReadable_ = false; onChanged(); return this; } 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> - internalGetMutableFields() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableFields() { + onChanged();; 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(); @@ -1137,8 +1047,6 @@ 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
@@ -1151,27 +1059,24 @@ 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
@@ -1184,18 +1089,14 @@ 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
@@ -1208,23 +1109,19 @@ 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 getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -1237,15 +1134,13 @@ public 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)) { @@ -1255,12 +1150,11 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow(java.la } public Builder clearFields() { - 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
@@ -1273,26 +1167,25 @@ 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() { + getMutableFields() { 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
@@ -1305,25 +1198,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableFields().getMutableMap().put(key, value); + internalGetMutableFields().getMutableMap() + .put(key, value); 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
@@ -1336,18 +1225,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); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,12 +1246,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(); } @@ -1371,27 +1260,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; @@ -1406,4 +1295,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 d9ffccffb03b..cb8db2803bb7 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,35 +27,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the tag template field in URL format. Example:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -85,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 @@ -94,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -114,15 +91,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 { @@ -133,8 +111,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name for this field. Defaults to an empty string.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -143,7 +119,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -152,15 +127,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -169,15 +143,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 { @@ -188,16 +163,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 @@ -205,16 +175,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 @@ -222,15 +187,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() { @@ -240,14 +201,11 @@ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_; /** - * - * *
    * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; - * * @return The isRequired. */ @java.lang.Override @@ -258,14 +216,11 @@ public boolean getIsRequired() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -274,29 +229,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 { @@ -307,8 +262,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ORDER_FIELD_NUMBER = 5; private int order_; /** - * - * *
    * The order of this field with respect to other fields in this tag
    * template.
@@ -318,7 +271,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -327,7 +279,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -371,16 +323,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_); @@ -393,23 +348,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; } @@ -430,7 +390,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; @@ -440,136 +401,130 @@ 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(); @@ -593,9 +548,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 @@ -614,8 +569,7 @@ 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); + com.google.cloud.datacatalog.v1.TagTemplateField result = new com.google.cloud.datacatalog.v1.TagTemplateField(this); result.name_ = name_; result.displayName_ = displayName_; if (typeBuilder_ == null) { @@ -634,39 +588,38 @@ public com.google.cloud.datacatalog.v1.TagTemplateField buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -674,8 +627,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_; onChanged(); @@ -723,49 +675,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 24: - { - isRequired_ = input.readBool(); - - break; - } // case 24 - case 34: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: - { - order_ = input.readInt32(); - - break; - } // case 40 - case 50: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 24: { + isRequired_ = input.readBool(); + + break; + } // case 24 + case 34: { + description_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: { + order_ = input.readInt32(); + + break; + } // case 40 + case 50: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -778,8 +725,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -791,13 +736,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; @@ -806,8 +751,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -819,14 +762,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 { @@ -834,8 +778,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -847,22 +789,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -874,18 +814,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -897,16 +834,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -914,8 +851,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.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -924,13 +859,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; @@ -939,8 +874,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -949,14 +882,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 { @@ -964,8 +898,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -974,22 +906,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -998,18 +928,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1018,16 +945,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1035,58 +962,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 typeBuilder_ != null || 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. */ 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) { @@ -1102,17 +1010,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(); onChanged(); @@ -1123,23 +1028,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 (type_ != null) { type_ = - com.google.cloud.datacatalog.v1.FieldType.newBuilder(type_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.FieldType.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1151,15 +1050,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() { if (typeBuilder_ == null) { @@ -1173,79 +1068,60 @@ 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() { - + onChanged(); 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 @@ -1253,36 +1129,30 @@ 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. */ public Builder setIsRequired(boolean value) { - + isRequired_ = value; onChanged(); return this; } /** - * - * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; - * * @return This builder for chaining. */ public Builder clearIsRequired() { - + isRequired_ = false; onChanged(); return this; @@ -1290,20 +1160,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; @@ -1312,21 +1180,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 { @@ -1334,70 +1201,61 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private int order_; + private int order_ ; /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1407,7 +1265,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -1415,8 +1272,6 @@ public int getOrder() { return order_; } /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1426,19 +1281,16 @@ public int getOrder() {
      * 
* * int32 order = 5; - * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; onChanged(); return this; } /** - * - * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1448,18 +1300,17 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; - * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -1469,12 +1320,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(); } @@ -1483,27 +1334,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; @@ -1518,4 +1369,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 f5fe48ce6907..1b1ddeaa5d31 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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -37,13 +19,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -55,14 +34,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -71,13 +48,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -86,93 +60,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.
@@ -182,7 +132,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 72% 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 dc35c2b47c70..7edf2cc15695 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.
    * Note: The tag template itself and its child resources might not be
@@ -33,13 +15,10 @@ public interface TagTemplateOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
@@ -47,14 +26,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -63,13 +40,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -78,14 +52,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
@@ -95,14 +67,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
@@ -115,14 +84,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
@@ -135,17 +100,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
@@ -158,14 +123,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
@@ -178,19 +140,15 @@ 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
@@ -203,9 +161,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/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..a58e0e0ae10e --- /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,211 @@ +// 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\"\206\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010template\030\002 \001" + + "(\tB\003\340A\002\022\"\n\025template_display_name\030\005 \001(\tB\003" + + "\340A\003\022\020\n\006column\030\004 \001(\tH\000\022A\n\006fields\030\003 \003(\0132,." + + "google.cloud.datacatalog.v1.Tag.FieldsEn" + + "tryB\003\340A\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\0224\n\005" + + "value\030\002 \001(\0132%.google.cloud.datacatalog.v" + + "1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.google" + + "apis.com/Tag\022\\projects/{project}/locatio" + + "ns/{location}/entryGroups/{entry_group}/" + + "entries/{entry}/tags/{tag}B\007\n\005scope\"\302\002\n\010" + + "TagField\022\031\n\014display_name\030\001 \001(\tB\003\340A\003\022\026\n\014d" + + "ouble_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\017timestamp_v" + + "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" + + "\022E\n\nenum_value\030\006 \001(\0132/.google.cloud.data" + + "catalog.v1.TagField.EnumValueH\000\022\030\n\016richt" + + "ext_value\030\010 \001(\tH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n" + + "\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind" + + "\"\352\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" + + "y_name\030\002 \001(\t\022\034\n\024is_publicly_readable\030\005 \001" + + "(\010\022I\n\006fields\030\003 \003(\01324.google.cloud.dataca" + + "talog.v1.TagTemplate.FieldsEntryB\003\340A\002\032\\\n" + + "\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + + "2-.google.cloud.datacatalog.v1.TagTempla" + + "teField:\0028\001:p\352Am\n&datacatalog.googleapis" + + ".com/TagTemplate\022Cprojects/{project}/loc" + + "ations/{location}/tagTemplates/{tag_temp" + + "late}\"\267\002\n\020TagTemplateField\022\021\n\004name\030\006 \001(\t" + + "B\003\340A\003\022\024\n\014display_name\030\001 \001(\t\0229\n\004type\030\002 \001(" + + "\0132&.google.cloud.datacatalog.v1.FieldTyp" + + "eB\003\340A\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013descripti" + + "on\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacata" + + "log.googleapis.com/TagTemplateField\022Rpro" + + "jects/{project}/locations/{location}/tag" + + "Templates/{tag_template}/fields/{field}\"" + + "\246\003\n\tFieldType\022N\n\016primitive_type\030\001 \001(\01624." + + "google.cloud.datacatalog.v1.FieldType.Pr" + + "imitiveTypeH\000\022D\n\tenum_type\030\002 \001(\0132/.googl" + + "e.cloud.datacatalog.v1.FieldType.EnumTyp" + + "eH\000\032\205\001\n\010EnumType\022Q\n\016allowed_values\030\001 \003(\013" + + "29.google.cloud.datacatalog.v1.FieldType" + + ".EnumType.EnumValue\032&\n\tEnumValue\022\031\n\014disp" + + "lay_name\030\001 \001(\tB\003\340A\002\"n\n\rPrimitiveType\022\036\n\032" + + "PRIMITIVE_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\tTIMESTAMP\020\004\022\014\n" + + "\010RICHTEXT\020\005B\013\n\ttype_declB\313\001\n\037com.google." + + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" + + "g/genproto/googleapis/cloud/datacatalog/" + + "v1;datacatalog\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[] { + 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 02e6475540aa..66e8d2c4a87d 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.
@@ -46,16 +29,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_ = "";
@@ -65,43 +47,39 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -110,8 +88,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.
@@ -124,8 +100,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified policy type.
      * 
@@ -134,8 +108,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.
@@ -145,6 +117,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(
@@ -169,47 +142,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;
@@ -229,15 +203,12 @@ private PolicyType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. Resource name of this taxonomy in URL format.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -246,30 +217,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 in URL format.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * 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 { @@ -280,8 +251,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. User-defined name of this taxonomy.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -291,7 +260,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -300,15 +268,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.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -318,15 +285,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 { @@ -337,8 +305,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -347,7 +313,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -356,15 +321,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.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -373,15 +337,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 { @@ -392,14 +357,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; 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 @@ -410,16 +372,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 @@ -427,91 +384,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() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder() { return getTaxonomyTimestamps(); } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; 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) { + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(from); - return result == null - ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(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 @@ -519,17 +447,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. */ @@ -538,35 +461,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. */ @@ -574,11 +488,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; @@ -590,7 +502,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -633,24 +546,24 @@ 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; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -660,20 +573,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -708,104 +626,97 @@ 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.
@@ -831,32 +742,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();
@@ -880,9 +792,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
@@ -901,8 +813,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -926,39 +837,38 @@ public com.google.cloud.datacatalog.v1.Taxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1021,63 +931,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 32:
-              {
-                policyTagCount_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(
-                    getTaxonomyTimestampsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 48:
-              {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 32: {
+              policyTagCount_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getTaxonomyTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              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) {
@@ -1087,26 +990,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * 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; @@ -1115,22 +1015,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * 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 { @@ -1138,64 +1037,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1203,8 +1095,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1214,13 +1104,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; @@ -1229,8 +1119,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1240,14 +1128,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 { @@ -1255,8 +1144,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1266,22 +1153,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1291,18 +1176,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1312,16 +1194,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1329,8 +1211,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.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1339,13 +1219,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; @@ -1354,8 +1234,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1364,14 +1242,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 { @@ -1379,8 +1258,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1389,22 +1266,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1413,18 +1288,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1433,31 +1305,28 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private 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 @@ -1465,36 +1334,30 @@ 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. */ public Builder setPolicyTagCount(int value) { - + policyTagCount_ = value; onChanged(); 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() { - + policyTagCount_ = 0; onChanged(); return this; @@ -1502,58 +1365,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 taxonomyTimestampsBuilder_ != null || 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. */ 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) { @@ -1569,15 +1413,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) { @@ -1591,23 +1431,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 (taxonomyTimestamps_ != null) { taxonomyTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(taxonomyTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(taxonomyTimestamps_).mergeFrom(value).buildPartial(); } else { taxonomyTimestamps_ = value; } @@ -1619,15 +1453,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() { if (taxonomyTimestampsBuilder_ == null) { @@ -1641,73 +1471,55 @@ 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() { - + onChanged(); 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_ & 0x00000001) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1715,54 +1527,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. */ @@ -1770,17 +1565,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. @@ -1796,22 +1586,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(); } @@ -1821,17 +1605,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. */ @@ -1845,17 +1624,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() { @@ -1865,34 +1639,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. */ @@ -1900,39 +1665,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. */ @@ -1943,21 +1699,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); @@ -1965,9 +1717,9 @@ public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable 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; @@ -2026,4 +1778,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 071e829c5ecd..0b1a45bd9202 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,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * 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.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * 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.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -62,13 +39,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.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -78,14 +52,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.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -94,13 +66,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.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -109,138 +78,97 @@ 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. */ 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..e39d9480f6e6 --- /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\"\252\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\0224\n\013expire_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003B\313\001\n\037c" + + "om.google.cloud.datacatalog.v1P\001ZFgoogle" + + ".golang.org/genproto/googleapis/cloud/da" + + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" + + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" + + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" + + "b\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_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 61% 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 b8188a32c320..a55b6509e70e 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,103 +160,96 @@ 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].
@@ -290,32 +257,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();
@@ -325,9 +293,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
@@ -346,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UnstarEntryRequest result = new com.google.cloud.datacatalog.v1.UnstarEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -357,39 +324,38 @@ public com.google.cloud.datacatalog.v1.UnstarEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -397,8 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -478,23 +437,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 { @@ -502,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +522,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(); } @@ -593,27 +536,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; @@ -628,4 +571,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 9ec5c807c02d..da708c1245a4 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,46 +12,44 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
@@ -80,7 +61,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -98,13 +80,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;
@@ -123,103 +104,96 @@ 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].
@@ -228,32 +202,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();
@@ -261,9 +236,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
@@ -282,8 +257,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;
     }
@@ -292,39 +266,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;
@@ -332,8 +305,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;
@@ -360,13 +332,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) {
@@ -376,9 +347,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);
     }
 
@@ -388,12 +359,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();
   }
@@ -402,27 +373,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;
@@ -437,4 +408,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 67%
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 af8a449eaba2..c63c80385396 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,57 +11,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -86,34 +63,23 @@ 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() { @@ -123,8 +89,6 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde 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.
    * If this parameter is absent or empty, all modifiable fields
@@ -133,7 +97,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 @@ -141,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Names of fields whose values to overwrite on an entry group.
    * If this parameter is absent or empty, all modifiable fields
@@ -151,7 +112,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -159,8 +119,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -176,7 +134,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,7 +145,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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 +163,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 +178,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 +220,96 @@ 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();
@@ -409,9 +363,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
@@ -430,8 +384,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result = new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest(this);
       if (entryGroupBuilder_ == null) {
         result.entryGroup_ = entryGroup_;
       } else {
@@ -450,39 +403,38 @@ public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -490,8 +442,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());
       }
@@ -524,25 +475,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -555,58 +507,39 @@ public Builder mergeFrom(
 
     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 entryGroupBuilder_ != null || 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. */ 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) { @@ -622,15 +555,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) { @@ -644,23 +573,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 (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); } else { entryGroup_ = value; } @@ -672,15 +595,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() { if (entryGroupBuilder_ == null) { @@ -694,64 +613,48 @@ 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() { - + onChanged(); 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_; @@ -759,13 +662,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -774,15 +672,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -791,21 +686,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -829,8 +719,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -840,7 +728,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();
         onChanged();
@@ -851,8 +740,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -866,7 +753,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -878,8 +765,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -901,8 +786,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -913,13 +796,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -933,14 +814,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -951,24 +829,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);
     }
 
@@ -978,12 +853,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();
   }
@@ -992,27 +867,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;
@@ -1027,4 +902,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 65%
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 e2ec8a6c32f6..661d67b745ca 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.
    * If this parameter is absent or empty, all modifiable fields
@@ -75,13 +43,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -90,13 +55,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.
    * If this parameter is absent or empty, all modifiable fields
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 f66a22bbc866..317864d1b41f 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,56 +11,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,15 +63,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 @@ -101,14 +75,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() { @@ -118,8 +89,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -145,7 +114,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 @@ -153,8 +121,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Names of fields whose values to overwrite on an entry.
    * If this parameter is absent or empty, all modifiable fields
@@ -180,7 +146,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -188,8 +153,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -222,7 +185,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -234,7 +196,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -251,10 +214,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;
@@ -264,21 +229,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;
@@ -305,103 +271,96 @@ 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].
@@ -409,32 +368,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();
@@ -454,9 +414,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
@@ -475,8 +435,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateEntryRequest result = new com.google.cloud.datacatalog.v1.UpdateEntryRequest(this);
       if (entryBuilder_ == null) {
         result.entry_ = entry_;
       } else {
@@ -495,39 +454,38 @@ public com.google.cloud.datacatalog.v1.UpdateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -535,8 +493,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());
       }
@@ -569,25 +526,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,35 +558,24 @@ public Builder mergeFrom(
 
     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 entryBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -639,14 +586,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) { @@ -662,16 +606,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(); onChanged(); @@ -682,22 +624,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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); } else { entry_ = value; } @@ -709,14 +646,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() { if (entryBuilder_ == null) { @@ -730,59 +664,48 @@ 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() { - + onChanged(); 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_; @@ -790,13 +713,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -822,15 +740,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -856,21 +771,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -911,8 +821,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -939,7 +847,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();
         onChanged();
@@ -950,8 +859,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -982,7 +889,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -994,8 +901,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -1034,8 +939,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -1063,13 +966,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -1100,14 +1001,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -1135,24 +1033,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);
     }
 
@@ -1162,12 +1057,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();
   }
@@ -1176,27 +1071,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;
@@ -1211,4 +1106,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 eff16bdcdcbb..8987eb67e34e 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.
    * If this parameter is absent or empty, all modifiable fields
@@ -89,13 +60,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -121,13 +89,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.
    * If this parameter is absent or empty, all modifiable fields
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 c6c415495d6f..be021c55e428 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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,26 +64,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.
@@ -120,8 +92,6 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -131,7 +101,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 @@ -139,8 +108,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -150,7 +117,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -158,8 +124,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -176,7 +140,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,7 +151,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (policyTag_ != null) {
       output.writeMessage(1, getPolicyTag());
     }
@@ -205,10 +169,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 +184,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 +226,96 @@ 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();
@@ -409,9 +369,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
@@ -430,8 +390,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result = new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest(this);
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
       } else {
@@ -450,39 +409,38 @@ public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -490,8 +448,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());
       }
@@ -524,25 +481,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getPolicyTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -555,49 +513,36 @@ public Builder mergeFrom(
 
     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 policyTagBuilder_ != null || 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. */ 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.
@@ -619,8 +564,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.
@@ -628,7 +571,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();
         onChanged();
@@ -639,8 +583,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.
@@ -652,9 +594,7 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       if (policyTagBuilder_ == null) {
         if (policyTag_ != null) {
           policyTag_ =
-              com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial();
         } else {
           policyTag_ = value;
         }
@@ -666,8 +606,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.
@@ -687,8 +625,6 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -697,13 +633,11 @@ public Builder clearPolicyTag() {
      * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;
      */
     public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() {
-
+      
       onChanged();
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -715,14 +649,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.
@@ -731,17 +662,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_;
@@ -749,13 +677,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.
      * You can update only display name, description, and parent policy tag.
@@ -765,15 +688,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -783,21 +703,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.
      * You can update only display name, description, and parent policy tag.
@@ -822,8 +737,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -834,7 +747,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();
         onChanged();
@@ -845,8 +759,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -861,7 +773,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -873,8 +785,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -897,8 +807,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -910,13 +818,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -931,14 +837,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.
      * You can update only display name, description, and parent policy tag.
@@ -950,24 +853,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);
     }
 
@@ -977,12 +877,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();
   }
@@ -991,27 +891,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;
@@ -1026,4 +926,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 c3a8b092e9bd..67bfe54280f5 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.
    * You can update only display name, description, and parent policy tag.
@@ -73,13 +47,10 @@ public interface UpdatePolicyTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -89,13 +60,10 @@ public interface UpdatePolicyTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
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 eeb4507cbdb3..26946ca6d093 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,56 +11,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,15 +63,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 @@ -101,14 +75,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() { @@ -118,8 +89,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`.
@@ -129,7 +98,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 @@ -137,8 +105,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`.
@@ -148,7 +114,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -156,8 +121,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`.
@@ -174,7 +137,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -186,7 +148,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -203,10 +166,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;
@@ -216,21 +181,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;
@@ -256,104 +222,97 @@ 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].
@@ -361,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();
@@ -406,9 +366,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
@@ -427,8 +387,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateTagRequest result = new com.google.cloud.datacatalog.v1.UpdateTagRequest(this);
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
       } else {
@@ -447,39 +406,38 @@ public com.google.cloud.datacatalog.v1.UpdateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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 +445,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 +478,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -552,35 +510,24 @@ public Builder mergeFrom(
 
     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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -591,14 +538,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) { @@ -614,16 +558,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(); onChanged(); @@ -634,20 +576,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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -659,14 +598,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() { if (tagBuilder_ == null) { @@ -680,59 +616,48 @@ 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() { - + onChanged(); 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_; @@ -740,13 +665,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`.
@@ -756,15 +676,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -774,21 +691,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`.
@@ -813,8 +725,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`.
@@ -825,7 +735,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();
         onChanged();
@@ -836,8 +747,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`.
@@ -852,7 +761,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -864,8 +773,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`.
@@ -888,8 +795,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`.
@@ -901,13 +806,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       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`.
@@ -922,14 +825,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`.
@@ -941,24 +841,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);
     }
 
@@ -968,12 +865,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();
   }
@@ -982,27 +879,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;
@@ -1017,4 +914,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 5f97b0318f8b..34b8b554c68d 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`.
@@ -73,13 +44,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`.
@@ -89,13 +57,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 68%
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 ab27f94fca40..b8b57da008a0 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,16 +98,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 @@ -141,34 +110,23 @@ 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() { @@ -178,8 +136,6 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF 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:
@@ -196,9 +152,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 @@ -206,8 +160,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:
@@ -224,9 +176,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 @@ -234,8 +184,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:
@@ -252,8 +200,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() { @@ -261,7 +208,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -296,10 +243,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; @@ -309,22 +258,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; @@ -353,104 +304,96 @@ 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].
@@ -458,32 +401,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();
@@ -505,14 +449,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();
     }
 
@@ -527,8 +470,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(this);
       result.name_ = name_;
       if (tagTemplateFieldBuilder_ == null) {
         result.tagTemplateField_ = tagTemplateField_;
@@ -548,39 +490,38 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -588,9 +529,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_;
         onChanged();
@@ -627,32 +566,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -665,22 +603,18 @@ public Builder mergeFrom(
 
     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; @@ -689,23 +623,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 { @@ -713,67 +644,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -781,58 +699,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 tagTemplateFieldBuilder_ != null || 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. */ 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) { @@ -848,15 +747,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) { @@ -870,23 +765,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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); } else { tagTemplateField_ = value; } @@ -898,15 +787,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() { if (tagTemplateFieldBuilder_ == null) { @@ -920,65 +805,48 @@ 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() { - + onChanged(); 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_; @@ -986,13 +854,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:
@@ -1009,17 +872,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field of a tag
      * template. The following fields are modifiable:
@@ -1036,23 +895,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:
@@ -1069,8 +922,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) { @@ -1086,8 +938,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:
@@ -1104,10 +954,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(); onChanged(); @@ -1118,8 +968,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:
@@ -1136,14 +984,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1155,8 +1002,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:
@@ -1173,8 +1018,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() { if (updateMaskBuilder_ == null) { @@ -1188,8 +1032,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:
@@ -1206,17 +1048,14 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Names of fields whose values to overwrite on an individual field of a tag
      * template. The following fields are modifiable:
@@ -1233,21 +1072,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:
@@ -1264,28 +1099,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); } @@ -1295,13 +1126,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(); } @@ -1310,27 +1140,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; @@ -1345,4 +1175,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 371e2855e812..fb395933babf 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:
@@ -112,15 +71,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:
@@ -137,15 +92,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:
@@ -162,8 +113,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 69% 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 6acde50f134a..74d24382e7f5 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,57 +11,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -86,34 +63,23 @@ 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() { @@ -123,8 +89,6 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil 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.
@@ -136,7 +100,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 @@ -144,8 +107,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.
@@ -157,7 +118,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -165,8 +125,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.
@@ -185,7 +143,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -197,7 +154,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tagTemplate_ != null) {
       output.writeMessage(1, getTagTemplate());
     }
@@ -214,10 +172,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;
@@ -227,21 +187,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;
@@ -268,104 +229,96 @@ 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].
@@ -373,32 +326,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();
@@ -418,9 +372,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
@@ -439,8 +393,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result = new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest(this);
       if (tagTemplateBuilder_ == null) {
         result.tagTemplate_ = tagTemplate_;
       } else {
@@ -459,39 +412,38 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -499,8 +451,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());
       }
@@ -533,25 +484,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,58 +516,39 @@ public Builder mergeFrom(
 
     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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -631,15 +564,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) { @@ -653,23 +582,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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); } else { tagTemplate_ = value; } @@ -681,15 +604,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() { if (tagTemplateBuilder_ == null) { @@ -703,64 +622,48 @@ 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() { - + onChanged(); 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_; @@ -768,13 +671,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.
@@ -786,15 +684,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -806,21 +701,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.
@@ -847,8 +737,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.
@@ -861,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();
         onChanged();
@@ -872,8 +761,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.
@@ -890,7 +777,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -902,8 +789,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.
@@ -928,8 +813,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.
@@ -943,13 +826,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       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.
@@ -966,14 +847,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.
@@ -987,24 +865,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);
     }
 
@@ -1014,12 +889,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();
   }
@@ -1028,27 +903,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;
@@ -1063,4 +938,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 1a74ed7067c2..05e150b2922f 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.
@@ -78,13 +46,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.
@@ -96,13 +61,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 72%
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 e1a05f2d558a..4d18d8c97907 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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,26 +64,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.
@@ -120,8 +92,6 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
   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.
@@ -130,7 +100,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 @@ -138,8 +107,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -148,7 +115,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -156,8 +122,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 +137,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +148,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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 +166,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 +181,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 +223,96 @@ 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();
@@ -406,9 +366,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
@@ -427,8 +387,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result = new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest(this);
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
       } else {
@@ -447,39 +406,38 @@ public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -487,8 +445,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());
       }
@@ -521,25 +478,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -552,49 +510,36 @@ public Builder mergeFrom(
 
     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 taxonomyBuilder_ != null || 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. */ 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.
@@ -616,8 +561,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.
@@ -625,7 +568,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();
         onChanged();
@@ -636,8 +580,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.
@@ -649,9 +591,7 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       if (taxonomyBuilder_ == null) {
         if (taxonomy_ != null) {
           taxonomy_ =
-              com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial();
         } else {
           taxonomy_ = value;
         }
@@ -663,8 +603,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.
@@ -684,8 +622,6 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -694,13 +630,11 @@ public Builder clearTaxonomy() {
      * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1;
      */
     public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() {
-
+      
       onChanged();
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -712,14 +646,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.
@@ -728,17 +659,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_;
@@ -746,13 +674,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.
@@ -761,15 +684,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -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(); } } /** - * - * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -816,8 +731,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.
@@ -827,7 +740,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();
         onChanged();
@@ -838,8 +752,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.
@@ -853,7 +765,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -865,8 +777,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.
@@ -888,8 +798,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -900,13 +808,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -920,14 +826,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.
@@ -938,24 +841,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 +865,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();
   }
@@ -979,27 +879,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;
@@ -1014,4 +914,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 4fa3626df9b3..20fb4b28f40e 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.
@@ -72,13 +46,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.
@@ -87,13 +58,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..c67cd12d7f21
--- /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,96 @@
+// 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_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;
+
+  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\"\216\002\n\013UsageSignal\022/\n\013update_time\030\001 \001(" +
+      "\0132\032.google.protobuf.Timestamp\022h\n\027usage_w" +
+      "ithin_time_range\030\002 \003(\0132B.google.cloud.da" +
+      "tacatalog.v1.UsageSignal.UsageWithinTime" +
+      "RangeEntryB\003\340A\003\032d\n\031UsageWithinTimeRangeE" +
+      "ntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.googl" +
+      "e.cloud.datacatalog.v1.UsageStats:\0028\001B\313\001" +
+      "\n\037com.google.cloud.datacatalog.v1P\001ZFgoo" +
+      "gle.golang.org/genproto/googleapis/cloud" +
+      "/datacatalog/v1;datacatalog\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.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_UsageSignal_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    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", });
+    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", });
+    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 61%
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 9cf19c3e930b..1012929a3c58 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.
  * Note: Usually, these signals are updated daily. In rare cases, an update may
@@ -29,66 +12,63 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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();
       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);
   }
 
   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 @@ -96,14 +76,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 @@ -111,8 +88,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.
    * 
@@ -125,26 +100,21 @@ 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()); - } - - private com.google.protobuf.MapField - usageWithinTimeRange_; - + .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()); + } + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> usageWithinTimeRange_; private com.google.protobuf.MapField - internalGetUsageWithinTimeRange() { + internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); @@ -156,84 +126,72 @@ public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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(); } /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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(); } /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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 getUsageWithinTimeRangeOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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; } /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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)) { @@ -243,7 +201,6 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,11 +212,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 (updateTime_ != null) { output.writeMessage(1, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetUsageWithinTimeRange(), UsageWithinTimeRangeDefaultEntryHolder.defaultEntry, @@ -274,18 +233,18 @@ 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__); + usageWithinTimeRange__ = UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, usageWithinTimeRange__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,20 +254,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.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 (!internalGetUsageWithinTimeRange().equals( + other.internalGetUsageWithinTimeRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -333,104 +292,97 @@ public int hashCode() { 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.
    * Note: Usually, these signals are updated daily. In rare cases, an update may
@@ -439,52 +391,55 @@ 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();
         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.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();
@@ -499,9 +454,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
@@ -520,8 +475,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UsageSignal result = new com.google.cloud.datacatalog.v1.UsageSignal(this);
       int from_bitField0_ = bitField0_;
       if (updateTimeBuilder_ == null) {
         result.updateTime_ = updateTime_;
@@ -538,39 +492,38 @@ public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -582,7 +535,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageSignal other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange());
+      internalGetMutableUsageWithinTimeRange().mergeFrom(
+          other.internalGetUsageWithinTimeRange());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -609,32 +563,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                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());
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              usageWithinTimeRange__ = input.readMessage(
+                  UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableUsageWithinTimeRange().getMutableMap().put(
+                  usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue());
+              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) {
@@ -644,52 +593,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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -710,15 +645,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(); onChanged(); @@ -729,8 +663,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -741,7 +673,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -753,8 +685,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -773,8 +703,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -782,13 +710,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 1; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -799,14 +725,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.
      * 
@@ -814,45 +737,35 @@ 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> - internalGetUsageWithinTimeRange() { + 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( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return usageWithinTimeRange_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> - internalGetMutableUsageWithinTimeRange() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableUsageWithinTimeRange() { + onChanged();; 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(); @@ -864,84 +777,72 @@ public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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(); } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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(); } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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 getUsageWithinTimeRangeOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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; } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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)) { @@ -951,75 +852,72 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } public Builder clearUsageWithinTimeRange() { - internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); + internalGetMutableUsageWithinTimeRange().getMutableMap() + .clear(); return this; } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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() { + getMutableUsageWithinTimeRange() { return internalGetMutableUsageWithinTimeRange().getMutableMap(); } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); + internalGetMutableUsageWithinTimeRange().getMutableMap() + .put(key, value); return this; } /** - * - * *
-     * Usage statistics over each of the predefined time ranges.
+     * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * Supported time ranges are `{"24H", "7D", "30D"}`.
      * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1029,12 +927,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(); } @@ -1043,27 +941,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; @@ -1078,4 +976,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 56% 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 02fb12742cfc..211a10a35548 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,73 +35,63 @@ public interface UsageSignalOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getUsageWithinTimeRangeCount(); /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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(); /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getUsageWithinTimeRangeMap(); + getUsageWithinTimeRangeMap(); /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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); /** - * - * *
-   * Usage statistics over each of the predefined time ranges.
+   * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * Supported time ranges are `{"24H", "7D", "30D"}`.
    * 
* - * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; - * + * 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); } 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 68% 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 971000acdde5..694d825d7b77 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.
  * Usage statistics have the following limitations:
@@ -34,55 +17,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * The number of successful uses of the underlying entry.
    * 
* * float total_completions = 1; - * * @return The totalCompletions. */ @java.lang.Override @@ -93,14 +72,11 @@ public float getTotalCompletions() { public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; private float totalFailures_; /** - * - * *
    * The number of failed attempts to use the underlying entry.
    * 
* * float total_failures = 2; - * * @return The totalFailures. */ @java.lang.Override @@ -111,14 +87,11 @@ public float getTotalFailures() { public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; private float totalCancellations_; /** - * - * *
    * The number of cancelled attempts to use the underlying entry.
    * 
* * float total_cancellations = 3; - * * @return The totalCancellations. */ @java.lang.Override @@ -129,14 +102,11 @@ public float getTotalCancellations() { public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; 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 @@ -145,7 +115,6 @@ public float getTotalExecutionTimeForCompletionsMillis() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,7 +126,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -180,18 +150,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; @@ -201,23 +173,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; } @@ -230,117 +204,113 @@ 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.
    * Usage statistics have the following limitations:
@@ -354,32 +324,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();
@@ -395,9 +366,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
@@ -416,8 +387,7 @@ 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);
+      com.google.cloud.datacatalog.v1.UsageStats result = new com.google.cloud.datacatalog.v1.UsageStats(this);
       result.totalCompletions_ = totalCompletions_;
       result.totalFailures_ = totalFailures_;
       result.totalCancellations_ = totalCancellations_;
@@ -430,39 +400,38 @@ public com.google.cloud.datacatalog.v1.UsageStats buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -481,8 +450,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();
@@ -510,37 +478,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 13:
-              {
-                totalCompletions_ = input.readFloat();
-
-                break;
-              } // case 13
-            case 21:
-              {
-                totalFailures_ = input.readFloat();
-
-                break;
-              } // case 21
-            case 29:
-              {
-                totalCancellations_ = input.readFloat();
-
-                break;
-              } // case 29
-            case 37:
-              {
-                totalExecutionTimeForCompletionsMillis_ = input.readFloat();
-
-                break;
-              } // case 37
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 13: {
+              totalCompletions_ = input.readFloat();
+
+              break;
+            } // case 13
+            case 21: {
+              totalFailures_ = input.readFloat();
+
+              break;
+            } // case 21
+            case 29: {
+              totalCancellations_ = input.readFloat();
+
+              break;
+            } // case 29
+            case 37: {
+              totalExecutionTimeForCompletionsMillis_ = input.readFloat();
+
+              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) {
@@ -551,16 +514,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -568,51 +528,42 @@ 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. */ public Builder setTotalCompletions(float value) { - + totalCompletions_ = value; onChanged(); return this; } /** - * - * *
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; - * * @return This builder for chaining. */ public Builder clearTotalCompletions() { - + totalCompletions_ = 0F; onChanged(); 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 @@ -620,51 +571,42 @@ 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. */ public Builder setTotalFailures(float value) { - + totalFailures_ = value; onChanged(); return this; } /** - * - * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; - * * @return This builder for chaining. */ public Builder clearTotalFailures() { - + totalFailures_ = 0F; onChanged(); 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 @@ -672,51 +614,42 @@ 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. */ public Builder setTotalCancellations(float value) { - + totalCancellations_ = value; onChanged(); return this; } /** - * - * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; - * * @return This builder for chaining. */ public Builder clearTotalCancellations() { - + totalCancellations_ = 0F; onChanged(); 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 @@ -724,43 +657,37 @@ 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. */ public Builder setTotalExecutionTimeForCompletionsMillis(float value) { - + totalExecutionTimeForCompletionsMillis_ = value; onChanged(); 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() { - + totalExecutionTimeForCompletionsMillis_ = 0F; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -770,12 +697,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(); } @@ -784,27 +711,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; @@ -819,4 +746,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 885f526ba2d8..95b9deed7b68 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,83 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -86,29 +64,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 { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getViewQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,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(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -153,14 +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.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; } @@ -179,136 +158,130 @@ 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(); @@ -318,9 +291,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 @@ -339,8 +312,7 @@ 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); + com.google.cloud.datacatalog.v1.ViewSpec result = new com.google.cloud.datacatalog.v1.ViewSpec(this); result.viewQuery_ = viewQuery_; onBuilt(); return result; @@ -350,39 +322,38 @@ public com.google.cloud.datacatalog.v1.ViewSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -421,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - viewQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + viewQuery_ = input.readStringRequireUtf8(); + + 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) { @@ -446,20 +415,18 @@ public Builder mergeFrom( 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; @@ -468,21 +435,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 { @@ -490,68 +456,61 @@ 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) { + public Builder setViewQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + viewQuery_ = value; 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() { - + viewQuery_ = getDefaultInstance().getViewQuery(); onChanged(); 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) { + public Builder setViewQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + viewQuery_ = 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); } @@ -561,12 +520,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(); } @@ -575,27 +534,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; @@ -610,4 +569,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 98% 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 index f9ce234648d6..4be42ebba3d3 100644 --- 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 @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.datacatalog.v1; +import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; 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 7c33ca94793e..4508e076634e 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 @@ -1035,16 +1035,16 @@ message Entry { // for entries with the `FILESET` type. GcsFilesetSpec gcs_fileset_spec = 6; - // Specification that applies to a BigQuery table. Valid only for - // entries with the `TABLE` type. - BigQueryTableSpec bigquery_table_spec = 12; + // Output only. Specification that applies to a BigQuery table. Valid only + // for entries with the `TABLE` type. + BigQueryTableSpec bigquery_table_spec = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` - // name pattern. + // Output only. Specification for a group of BigQuery tables with + // the `[prefix]YYYYMMDD` name pattern. // // For more information, see [Introduction to partitioned tables] // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). - BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; + BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Type- and system-specific information. Specifications for types contain @@ -1098,13 +1098,13 @@ message Entry { // Timestamps from the underlying resource, not from the Data Catalog // entry. // - // Output only when the entry has a type listed in the `EntryType` enum. - // For entries with `user_specified_type`, this field is optional and defaults - // to an empty timestamp. + // Output only when the entry has a system listed in the `IntegratedSystem` + // enum. For entries with `user_specified_system`, this field is optional + // and defaults to an empty timestamp. SystemTimestamps source_system_timestamps = 7; - // Output only. Resource usage statistics. - UsageSignal usage_signal = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Resource usage statistics. + UsageSignal usage_signal = 13; // Cloud labels attached to the entry. // @@ -1138,9 +1138,9 @@ message DatabaseTableSpec { // Type of this table. TableType type = 1; - // Fields specific to a Dataplex table and present only in the Dataplex table - // entries. - DataplexTableSpec dataplex_table = 2; + // Output only. Fields specific to a Dataplex table and present only in the + // Dataplex table entries. + DataplexTableSpec dataplex_table = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specification that applies to a fileset. Valid only for entries with the @@ -1153,8 +1153,10 @@ message FilesetSpec { // Specification that applies to a data source connection. Valid only for // entries with the `DATA_SOURCE_CONNECTION` type. +// Only one of internal specs can be set at the time, and cannot +// be changed later. message DataSourceConnectionSpec { - // Fields specific to BigQuery connections. + // Output only. Fields specific to BigQuery connections. BigQueryConnectionSpec bigquery_connection_spec = 1; } @@ -1667,7 +1669,7 @@ enum EntryType { // Default unknown type. ENTRY_TYPE_UNSPECIFIED = 0; - // Output only. The entry type that has a GoogleSQL schema, including + // The entry type that has a GoogleSQL schema, including // logical views. TABLE = 2; 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/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 91% 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 index 781004267e8a..d778e5121450 100644 --- 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 @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.datacatalog.v1; +import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; @@ -58,8 +59,8 @@ message UsageSignal { // The end timestamp of the duration of usage statistics. google.protobuf.Timestamp update_time = 1; - // Usage statistics over each of the predefined time ranges. + // Output only. BigQuery usage statistics over each of the predefined time ranges. // // Supported time ranges are `{"24H", "7D", "30D"}`. - map usage_within_time_range = 2; + map usage_within_time_range = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } 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/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/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 100% 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 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 99% 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 b943b02a5d6e..5165130295b5 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; 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 100% 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 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 38bf3045e2d6..01ef812324ae 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 e1bf5d3eb4a8..2a90b492668a 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 100% 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 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 100% 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 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 100% 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 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 99% 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 9bd0bfdb78bb..e8766ed1dd62 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 @@ -72,6 +72,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/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 9e99d3bfed33..43b36f346961 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 78b142f4a7f9..8953d1e042f8 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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..5324543d4199 --- /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,3000 @@ +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 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 static abstract class DataCatalogImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.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).
+     * 
+ */ + public 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).
+     * 
+ */ + public void updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryGroupMethod(), responseObserver); + } + + /** + *
+     * Gets an EntryGroup.
+     * 
+ */ + public 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).
+     * 
+ */ + public void deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); + } + + /** + *
+     * Lists entry groups.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public void deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); + } + + /** + *
+     * Gets an entry.
+     * 
+ */ + public 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.
+     * 
+ */ + public void lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); + } + + /** + *
+     * Lists entries.
+     * 
+ */ + public 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).
+     * 
+ */ + public 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.
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_SEARCH_CATALOG))) + .addMethod( + getCreateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + this, 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>( + this, 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>( + this, METHODID_GET_ENTRY_GROUP))) + .addMethod( + getDeleteEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, + com.google.protobuf.Empty>( + this, 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>( + this, 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>( + this, METHODID_CREATE_ENTRY))) + .addMethod( + getUpdateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + this, METHODID_UPDATE_ENTRY))) + .addMethod( + getDeleteEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ENTRY))) + .addMethod( + getGetEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + this, METHODID_GET_ENTRY))) + .addMethod( + getLookupEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>( + this, METHODID_LOOKUP_ENTRY))) + .addMethod( + getListEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( + this, METHODID_LIST_ENTRIES))) + .addMethod( + getCreateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + this, 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>( + this, 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>( + this, METHODID_UPDATE_TAG_TEMPLATE))) + .addMethod( + getDeleteTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, + com.google.protobuf.Empty>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_RENAME_TAG_TEMPLATE_FIELD))) + .addMethod( + getDeleteTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty>( + this, 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>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 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); + } + + /** + *
+     * 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 the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * 
+ */ + 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_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 DataCatalogImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataCatalogImplBase 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_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(); + } + } + } + + 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(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..0fac9f865773 --- /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,1352 @@ +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 static abstract class PolicyTagManagerImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaxonomyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaxonomyMethod(), responseObserver); + } + + /** + *
+     * Updates a taxonomy.
+     * 
+ */ + public 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.
+     * 
+ */ + public void listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); + } + + /** + *
+     * Gets a taxonomy.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + this, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( + this, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + this, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + this, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, + com.google.protobuf.Empty>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_GET_POLICY_TAG))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 PolicyTagManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(PolicyTagManagerImplBase 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(); + } + } + } + + 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 50% 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 d6d1ba0d5f6c..e8c170ac63e1 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,167 +16,124 @@ 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.
    * 
*/ - public abstract static class PolicyTagManagerSerializationImplBase - implements io.grpc.BindableService { + public static abstract class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService { /** - * - * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -201,62 +141,50 @@ public abstract static class PolicyTagManagerSerializationImplBase
      * proto structure.
      * 
*/ - public void importTaxonomies( - com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportTaxonomiesMethod(), responseObserver); + public 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.
      * 
*/ - public void exportTaxonomies( - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportTaxonomiesMethod(), responseObserver); + public void exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>( + this, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( - this, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( + this, METHODID_EXPORT_TAXONOMIES))) .build(); } } /** - * - * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static final class PolicyTagManagerSerializationStub - extends io.grpc.stub.AbstractAsyncStub { + public static final class PolicyTagManagerSerializationStub extends io.grpc.stub.AbstractAsyncStub { private PolicyTagManagerSerializationStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -269,8 +197,6 @@ protected PolicyTagManagerSerializationStub build( } /** - * - * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -278,46 +204,33 @@ 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); } } /** - * - * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static final class PolicyTagManagerSerializationBlockingStub - extends io.grpc.stub.AbstractBlockingStub { + public static final class PolicyTagManagerSerializationBlockingStub extends io.grpc.stub.AbstractBlockingStub { private PolicyTagManagerSerializationBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -330,8 +243,6 @@ protected PolicyTagManagerSerializationBlockingStub build( } /** - * - * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -339,38 +250,31 @@ 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); } } /** - * - * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static final class PolicyTagManagerSerializationFutureStub - extends io.grpc.stub.AbstractFutureStub { + public static final class PolicyTagManagerSerializationFutureStub extends io.grpc.stub.AbstractFutureStub { private PolicyTagManagerSerializationFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -383,8 +287,6 @@ protected PolicyTagManagerSerializationFutureStub build( } /** - * - * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -392,25 +294,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); } @@ -419,11 +317,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 PolicyTagManagerSerializationImplBase serviceImpl; private final int methodId; @@ -437,18 +335,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,15 +358,13 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -511,14 +401,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 68% 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 ecd253336846..b749a9d17f3d 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,45 +28,39 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -93,33 +69,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,
    * `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,8 +104,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object tablePrefix_; /** - * - * *
    * 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
@@ -139,7 +111,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The tablePrefix. */ @java.lang.Override @@ -148,15 +119,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. The name of any given shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -164,15 +134,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 { @@ -183,14 +154,11 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; 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 @@ -199,7 +167,6 @@ public long getShardCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -237,7 +205,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; @@ -247,17 +216,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; } @@ -274,111 +245,104 @@ 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:
@@ -387,32 +351,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();
@@ -426,14 +391,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();
     }
 
@@ -448,8 +412,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result = new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(this);
       result.dataset_ = dataset_;
       result.tablePrefix_ = tablePrefix_;
       result.shardCount_ = shardCount_;
@@ -461,39 +424,38 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -501,9 +463,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_;
         onChanged();
@@ -541,31 +501,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                dataset_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                tablePrefix_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                shardCount_ = input.readInt64();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              dataset_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              tablePrefix_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              shardCount_ = input.readInt64();
+
+              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) {
@@ -578,24 +534,20 @@ public Builder mergeFrom(
 
     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; @@ -604,25 +556,22 @@ 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 { @@ -630,73 +579,60 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * 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) { + public Builder setDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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() { - + dataset_ = getDefaultInstance().getDataset(); 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) = { ... } * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -704,8 +640,6 @@ 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
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -713,13 +647,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; @@ -728,8 +662,6 @@ public java.lang.String getTablePrefix() { } } /** - * - * *
      * 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
@@ -737,14 +669,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 { @@ -752,8 +685,6 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } } /** - * - * *
      * 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
@@ -761,22 +692,20 @@ 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) { + public Builder setTablePrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** - * - * *
      * 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
@@ -784,18 +713,15 @@ 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() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** - * - * *
      * 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
@@ -803,31 +729,28 @@ 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) { + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); 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 @@ -835,43 +758,37 @@ 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. */ public Builder setShardCount(long value) { - + shardCount_ = value; onChanged(); 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() { - + shardCount_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -881,13 +798,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(); } @@ -896,27 +812,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; @@ -931,4 +847,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 63% 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..a0f5ba168f6f 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,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/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
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -66,13 +39,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. The name of any given shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -80,20 +50,17 @@ 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(); 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 0ee6c0dbd117..728cfd15cf96 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,84 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -94,79 +72,58 @@ 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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.TableSourceType result = - com.google.cloud.datacatalog.v1beta1.TableSourceType.valueOf(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.valueOf(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 @@ -174,27 +131,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`.
@@ -205,22 +157,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 @@ -228,27 +177,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`.
@@ -259,13 +203,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;
@@ -277,10 +220,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) {
@@ -298,20 +240,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;
@@ -321,22 +260,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:
@@ -372,136 +312,129 @@ 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(); @@ -519,9 +452,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 @@ -540,8 +473,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result = new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec(this); result.tableSourceType_ = tableSourceType_; if (typeSpecCase_ == 2) { if (viewSpecBuilder_ == null) { @@ -566,39 +498,38 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -606,26 +537,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(); @@ -653,31 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - tableSourceType_ = input.readEnum(); + case 8: { + tableSourceType_ = input.readEnum(); - 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: + 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) { @@ -687,12 +614,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() { @@ -702,77 +629,54 @@ public Builder clearTypeSpec() { return this; } + 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. */ public Builder setTableSourceTypeValue(int value) { - + tableSourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.TableSourceType result = - com.google.cloud.datacatalog.v1beta1.TableSourceType.valueOf(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.valueOf(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. */ @@ -780,46 +684,35 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1beta1.TableSour if (value == null) { throw new NullPointerException(); } - + tableSourceType_ = value.getNumber(); onChanged(); 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() { - + tableSourceType_ = 0; onChanged(); return this; } 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 @@ -827,15 +720,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 @@ -853,8 +743,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`.
@@ -876,8 +764,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`.
@@ -897,8 +783,6 @@ public Builder setViewSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -908,13 +792,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;
         }
@@ -930,8 +811,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`.
@@ -956,8 +835,6 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -969,8 +846,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`.
@@ -990,8 +865,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`.
@@ -1000,45 +873,33 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return viewSpecBuilder_;
     }
 
     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 @@ -1046,15 +907,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 @@ -1072,8 +930,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`.
@@ -1095,8 +951,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`.
@@ -1116,8 +970,6 @@ public Builder setTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1127,13 +979,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;
         }
@@ -1149,8 +998,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`.
@@ -1175,8 +1022,6 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1188,8 +1033,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`.
@@ -1209,8 +1052,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`.
@@ -1219,32 +1060,26 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 3;
-      onChanged();
-      ;
+      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);
     }
 
@@ -1254,12 +1089,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();
   }
@@ -1268,27 +1103,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;
@@ -1303,4 +1138,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 b1bf13fa62f2..77612c900fec 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 69%
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 3c63ceab2130..ed79236f8ac1 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,41 +30,37 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,29 +69,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 { @@ -124,14 +102,11 @@ public com.google.protobuf.ByteString getColumnBytes() { public static final int TYPE_FIELD_NUMBER = 1; 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 @@ -140,29 +115,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 { @@ -173,14 +148,11 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -189,29 +161,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 { @@ -222,8 +194,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MODE_FIELD_NUMBER = 3; 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.
@@ -231,7 +201,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The mode. */ @java.lang.Override @@ -240,15 +209,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 the values in this column are required,
    * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
@@ -256,15 +224,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 { @@ -275,76 +244,56 @@ public com.google.protobuf.ByteString getModeBytes() { public static final int SUBCOLUMNS_FIELD_NUMBER = 7; 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( @@ -353,7 +302,6 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -403,7 +352,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; @@ -413,19 +363,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; } @@ -455,103 +409,96 @@ 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.
@@ -559,32 +506,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();
@@ -607,9 +555,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
@@ -628,8 +576,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.column_ = column_;
       result.type_ = type_;
@@ -652,39 +599,38 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -692,8 +638,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_;
         onChanged();
@@ -728,10 +673,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ColumnSchema other
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subcolumnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSubcolumnsFieldBuilder()
-                    : null;
+            subcolumnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSubcolumnsFieldBuilder() : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -763,51 +707,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                type_ = input.readStringRequireUtf8();
+            case 10: {
+              type_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                mode_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              mode_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 50:
-              {
-                column_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 50: {
+              column_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -817,25 +755,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; @@ -844,21 +779,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 { @@ -866,61 +800,54 @@ 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) { + public Builder setColumn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + column_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = getDefaultInstance().getColumn(); onChanged(); 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) { + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + column_ = value; onChanged(); return this; @@ -928,20 +855,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; @@ -950,21 +875,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 { @@ -972,61 +896,54 @@ 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) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); 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) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -1034,20 +951,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; @@ -1056,21 +971,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 { @@ -1078,61 +992,54 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1140,8 +1047,6 @@ 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.
@@ -1149,13 +1054,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; @@ -1164,8 +1069,6 @@ 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.
@@ -1173,14 +1076,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 { @@ -1188,8 +1092,6 @@ 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.
@@ -1197,22 +1099,20 @@ 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) { + public Builder setMode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mode_ = value; 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.
@@ -1220,18 +1120,15 @@ public Builder setMode(java.lang.String value) {
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = getDefaultInstance().getMode(); 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.
@@ -1239,48 +1136,39 @@ 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) { + public Builder setModeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mode_ = value; onChanged(); return this; } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - subcolumns_ = - new java.util.ArrayList(subcolumns_); + subcolumns_ = new java.util.ArrayList(subcolumns_); 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> - 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) { @@ -1290,15 +1178,11 @@ 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) { @@ -1308,15 +1192,11 @@ 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) { @@ -1326,15 +1206,11 @@ 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) { @@ -1351,15 +1227,11 @@ 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) { @@ -1373,15 +1245,11 @@ 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) { @@ -1397,15 +1265,11 @@ 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) { @@ -1422,15 +1286,11 @@ 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) { @@ -1444,15 +1304,11 @@ 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) { @@ -1466,21 +1322,18 @@ 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); @@ -1488,15 +1341,11 @@ 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) { @@ -1509,15 +1358,11 @@ 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) { @@ -1530,52 +1375,39 @@ 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 { @@ -1583,72 +1415,56 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1658,12 +1474,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(); } @@ -1672,27 +1488,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; @@ -1707,4 +1523,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 64% 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..aac91533af99 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,106 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -108,13 +75,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 the values in this column are required,
    * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
@@ -122,70 +86,52 @@ 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. 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/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..d7c902a12e0b --- /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,45 @@ +// 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\344\001\n$com.google.cloud.datacatalo" + + "g.v1beta1P\001ZKgoogle.golang.org/genproto/" + + "googleapis/cloud/datacatalog/v1beta1;dat" + + "acatalog\370\001\001\252\002 Google.Cloud.DataCatalog.V" + + "1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1beta" + + "1\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 88ed88a2f591..2188a9c0c479 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the project this entry group is in. Example:
    * * projects/{project_id}/locations/{location}
@@ -81,10 +60,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 @@ -93,15 +69,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:
    * * projects/{project_id}/locations/{location}
@@ -109,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 { @@ -131,8 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; 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
@@ -140,7 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The entryGroupId. */ @java.lang.Override @@ -149,15 +120,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
@@ -165,15 +135,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 { @@ -184,14 +155,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 @@ -199,25 +167,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.
    * 
@@ -230,7 +191,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -265,7 +226,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_); @@ -278,19 +240,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; @@ -317,104 +281,96 @@ 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].
@@ -422,32 +378,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();
@@ -465,14 +422,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();
     }
 
@@ -487,8 +443,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(this);
       result.parent_ = parent_;
       result.entryGroupId_ = entryGroupId_;
       if (entryGroupBuilder_ == null) {
@@ -504,39 +459,38 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -544,9 +498,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_;
         onChanged();
@@ -584,31 +536,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryGroupFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                entryGroupId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              entryGroupId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -621,8 +571,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -630,16 +578,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; @@ -648,8 +594,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -657,17 +601,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 { @@ -675,8 +618,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -684,25 +625,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -710,21 +647,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -732,19 +664,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -752,8 +682,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
@@ -761,13 +689,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; @@ -776,8 +704,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
@@ -785,14 +711,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 { @@ -800,8 +727,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
@@ -809,22 +734,20 @@ 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) { + public Builder setEntryGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryGroupId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -832,18 +755,15 @@ 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() { - + entryGroupId_ = getDefaultInstance().getEntryGroupId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -851,16 +771,16 @@ 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) { + public Builder setEntryGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryGroupId_ = value; onChanged(); return this; @@ -868,47 +788,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 entryGroupBuilder_ != null || entryGroup_ != null; } /** - * - * *
      * 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.
      * 
@@ -929,8 +836,6 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup val return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -949,8 +854,6 @@ public Builder setEntryGroup( return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -961,9 +864,7 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v if (entryGroupBuilder_ == null) { if (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); } else { entryGroup_ = value; } @@ -975,8 +876,6 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -995,8 +894,6 @@ public Builder clearEntryGroup() { return this; } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -1004,13 +901,11 @@ public Builder clearEntryGroup() { * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuilder() { - + onChanged(); return getEntryGroupFieldBuilder().getBuilder(); } /** - * - * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -1021,14 +916,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.
      * 
@@ -1036,24 +928,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); } @@ -1063,13 +952,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(); } @@ -1078,27 +966,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; @@ -1113,4 +1001,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 179d77adeff8..c78aa0699531 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:
    * * projects/{project_id}/locations/{location}
@@ -33,16 +15,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:
    * * projects/{project_id}/locations/{location}
@@ -50,17 +27,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
@@ -68,13 +41,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
@@ -82,38 +52,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 363615b19ccb..f9c90b93c184 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the entry group this entry is in. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -81,10 +60,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 @@ -93,15 +69,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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -109,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 { @@ -131,14 +105,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ENTRY_ID_FIELD_NUMBER = 3; 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 @@ -147,29 +118,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 { @@ -180,16 +151,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 @@ -197,34 +163,23 @@ 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() { @@ -232,7 +187,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -267,7 +222,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_); @@ -280,19 +236,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; @@ -319,104 +277,96 @@ 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].
@@ -424,32 +374,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();
@@ -467,9 +418,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
@@ -488,8 +439,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateEntryRequest result = new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(this);
       result.parent_ = parent_;
       result.entryId_ = entryId_;
       if (entryBuilder_ == null) {
@@ -505,39 +455,38 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -545,8 +494,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_;
         onChanged();
@@ -584,31 +532,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                entryId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              entryId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -621,8 +567,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -630,16 +574,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; @@ -648,8 +590,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -657,17 +597,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 { @@ -675,8 +614,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -684,25 +621,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -710,21 +643,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -732,19 +660,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -752,20 +678,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; @@ -774,21 +698,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 { @@ -796,61 +719,54 @@ 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) { + public Builder setEntryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryId_ = value; 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() { - + entryId_ = getDefaultInstance().getEntryId(); onChanged(); 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) { + public Builder setEntryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryId_ = value; onChanged(); return this; @@ -858,58 +774,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 entryBuilder_ != null || 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. */ 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) { @@ -925,17 +822,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(); onChanged(); @@ -946,23 +840,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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); } else { entry_ = value; } @@ -974,15 +862,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() { if (entryBuilder_ == null) { @@ -996,71 +880,55 @@ 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() { - + onChanged(); 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); } @@ -1070,12 +938,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(); } @@ -1084,27 +952,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; @@ -1119,4 +987,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 55% 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 8e245ca79fc9..20a4c9f40551 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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -33,16 +15,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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -50,77 +27,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 66% 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 29835cedab6d..747c10f849f8 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,14 +98,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 @@ -139,25 +110,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.
    * 
@@ -170,7 +134,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -202,7 +166,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; @@ -212,18 +177,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; @@ -248,104 +214,96 @@ 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].
@@ -353,32 +311,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();
@@ -394,9 +353,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
@@ -415,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(this);
       result.parent_ = parent_;
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
@@ -431,39 +389,38 @@ public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -471,8 +428,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_;
         onChanged();
@@ -506,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getPolicyTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -561,23 +512,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 { @@ -585,67 +533,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -653,47 +588,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 policyTagBuilder_ != null || policyTag_ != null; } /** - * - * *
      * 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.
      * 
@@ -714,8 +636,6 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -734,8 +654,6 @@ public Builder setPolicyTag( return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -746,9 +664,7 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val if (policyTagBuilder_ == null) { if (policyTag_ != null) { policyTag_ = - com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial(); } else { policyTag_ = value; } @@ -760,8 +676,6 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -780,8 +694,6 @@ public Builder clearPolicyTag() { return this; } /** - * - * *
      * The policy tag to be created.
      * 
@@ -789,13 +701,11 @@ public Builder clearPolicyTag() { * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; */ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilder() { - + onChanged(); return getPolicyTagFieldBuilder().getBuilder(); } /** - * - * *
      * The policy tag to be created.
      * 
@@ -806,14 +716,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.
      * 
@@ -821,24 +728,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); } @@ -848,12 +752,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(); } @@ -862,27 +766,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; @@ -897,4 +801,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 63% 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 700dfa9122d4..718cb1ee95e2 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,47 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the resource to attach this tag to. Tags can be attached to
    * Entries. Example:
@@ -81,10 +60,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 @@ -93,15 +69,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. Tags can be attached to
    * Entries. Example:
@@ -110,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 { @@ -132,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 @@ -148,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 @@ -164,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() { @@ -179,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; @@ -191,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_); } @@ -211,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; @@ -221,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; @@ -257,104 +222,96 @@ 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].
@@ -362,32 +319,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 +361,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,8 +382,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateTagRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(this);
       result.parent_ = parent_;
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
@@ -440,39 +397,38 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -480,8 +436,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_;
         onChanged();
@@ -515,25 +470,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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,8 +500,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -556,16 +508,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; @@ -574,8 +524,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -584,17 +532,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 { @@ -602,8 +549,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -612,25 +557,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -639,21 +580,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -662,19 +598,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -682,37 +616,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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -723,15 +644,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) { @@ -747,17 +664,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(); onChanged(); @@ -768,23 +682,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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -796,15 +704,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() { if (tagBuilder_ == null) { @@ -818,69 +722,55 @@ 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() { - + onChanged(); 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); } @@ -890,12 +780,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(); } @@ -904,27 +794,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; @@ -939,4 +829,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 59% 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 22819f153a99..56af6059d9de 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,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 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:
@@ -34,16 +16,11 @@ 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:
@@ -52,49 +29,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 63% 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 98ac044dd572..bed33629171c 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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).
@@ -81,10 +60,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 @@ -93,15 +69,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).
@@ -109,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 { @@ -131,8 +105,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; 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
@@ -142,7 +114,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -151,15 +122,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
@@ -169,15 +139,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 { @@ -188,16 +159,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 @@ -205,43 +171,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() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { return getTagTemplateField(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +233,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; @@ -289,19 +244,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; @@ -328,105 +285,96 @@ 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].
@@ -434,33 +382,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();
@@ -478,16 +426,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
@@ -501,8 +447,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(this);
       result.parent_ = parent_;
       result.tagTemplateFieldId_ = tagTemplateFieldId_;
       if (tagTemplateFieldBuilder_ == null) {
@@ -518,51 +463,46 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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_;
         onChanged();
@@ -600,32 +540,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                tagTemplateFieldId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              tagTemplateFieldId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,8 +575,6 @@ public Builder mergeFrom(
 
     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).
@@ -647,16 +582,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; @@ -665,8 +598,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).
@@ -674,17 +605,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 { @@ -692,8 +622,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).
@@ -701,25 +629,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -727,21 +651,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -749,19 +668,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -769,8 +686,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
@@ -780,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; @@ -795,8 +710,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
@@ -806,14 +719,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 { @@ -821,8 +735,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
@@ -832,22 +744,20 @@ 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) { + public Builder setTagTemplateFieldId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateFieldId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -857,18 +767,15 @@ 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() { - + tagTemplateFieldId_ = getDefaultInstance().getTagTemplateFieldId(); onChanged(); return this; } /** - * - * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -878,16 +785,16 @@ 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) { + public Builder setTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateFieldId_ = value; onChanged(); return this; @@ -895,61 +802,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 tagTemplateFieldBuilder_ != null || 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. */ 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(); @@ -963,15 +850,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) { @@ -985,24 +868,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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); } else { tagTemplateField_ = value; } @@ -1014,15 +890,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() { if (tagTemplateFieldBuilder_ == null) { @@ -1036,73 +908,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() { + 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); } @@ -1112,43 +966,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; @@ -1160,8 +1012,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 61% 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 733d98ec6cc5..fe98eaaf2a38 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).
@@ -33,16 +15,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).
@@ -50,17 +27,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
@@ -70,13 +43,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
@@ -86,49 +56,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 cfdb3c38250c..4d5da910e551 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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.
@@ -81,10 +60,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 @@ -93,15 +69,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.
@@ -109,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 { @@ -131,14 +105,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; 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 @@ -147,29 +118,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 { @@ -180,16 +151,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 @@ -197,34 +163,23 @@ 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() { @@ -232,7 +187,6 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -267,7 +222,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_); @@ -280,19 +236,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; @@ -319,104 +277,96 @@ 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].
@@ -424,32 +374,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();
@@ -467,14 +418,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();
     }
 
@@ -489,8 +439,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(this);
       result.parent_ = parent_;
       result.tagTemplateId_ = tagTemplateId_;
       if (tagTemplateBuilder_ == null) {
@@ -506,39 +455,38 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -546,9 +494,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_;
         onChanged();
@@ -586,31 +532,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                tagTemplateId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              tagTemplateId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -623,8 +567,6 @@ public Builder mergeFrom(
 
     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.
@@ -632,16 +574,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; @@ -650,8 +590,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.
@@ -659,17 +597,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 { @@ -677,8 +614,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.
@@ -686,25 +621,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -712,21 +643,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -734,19 +660,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -754,20 +678,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; @@ -776,21 +698,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 { @@ -798,61 +719,54 @@ 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) { + public Builder setTagTemplateId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateId_ = value; 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() { - + tagTemplateId_ = getDefaultInstance().getTagTemplateId(); onChanged(); 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) { + public Builder setTagTemplateIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateId_ = value; onChanged(); return this; @@ -860,58 +774,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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -927,15 +822,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) { @@ -949,23 +840,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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); } else { tagTemplate_ = value; } @@ -977,15 +862,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() { if (tagTemplateBuilder_ == null) { @@ -999,71 +880,55 @@ 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() { - + onChanged(); 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); } @@ -1073,13 +938,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(); } @@ -1088,27 +952,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; @@ -1123,4 +987,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 9489c4aab579..4a00bc30f542 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.
@@ -33,16 +15,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.
@@ -50,77 +27,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 66% 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 925617d3b9d0..5fd5c7e8034e 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -124,14 +98,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 @@ -139,25 +110,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.
    * 
@@ -170,7 +134,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -202,7 +166,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; @@ -212,18 +177,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; @@ -248,104 +214,96 @@ 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].
@@ -353,32 +311,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();
@@ -394,9 +353,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
@@ -415,8 +374,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(this);
       result.parent_ = parent_;
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
@@ -431,39 +389,38 @@ public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -471,8 +428,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_;
         onChanged();
@@ -506,25 +462,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTaxonomyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,22 +492,18 @@ public Builder mergeFrom(
 
     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; @@ -561,23 +512,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 { @@ -585,67 +533,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -653,47 +588,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 taxonomyBuilder_ != null || taxonomy_ != null; } /** - * - * *
      * 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.
      * 
@@ -714,8 +636,6 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -734,8 +654,6 @@ public Builder setTaxonomy( return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -746,9 +664,7 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value if (taxonomyBuilder_ == null) { if (taxonomy_ != null) { taxonomy_ = - com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial(); } else { taxonomy_ = value; } @@ -760,8 +676,6 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -780,8 +694,6 @@ public Builder clearTaxonomy() { return this; } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -789,13 +701,11 @@ public Builder clearTaxonomy() { * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder() { - + onChanged(); return getTaxonomyFieldBuilder().getBuilder(); } /** - * - * *
      * The taxonomy to be created.
      * 
@@ -806,14 +716,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.
      * 
@@ -821,24 +728,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); } @@ -848,12 +752,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(); } @@ -862,27 +766,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; @@ -897,4 +801,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..dd6cddfaadc8 --- /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,730 @@ +// 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\"\236\002\n\024Search" + + "CatalogRequest\022P\n\005scope\030\006 \001(\0132<.google.c" + + "loud.datacatalog.v1beta1.SearchCatalogRe" + + "quest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\002\022\021\n\t" + + "page_size\030\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + + "\022\020\n\010order_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017include_o" + + "rg_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(\013" + + "25.google.cloud.datacatalog.v1beta1.Sear" + + "chCatalogResult\022\027\n\017next_page_token\030\003 \001(\t" + + "\"\270\001\n\027CreateEntryGroupRequest\022=\n\006parent\030\001" + + " \001(\tB-\340A\002\372A\'\022%datacatalog.googleapis.com" + + "/EntryGroup\022\033\n\016entry_group_id\030\003 \001(\tB\003\340A\002" + + "\022A\n\013entry_group\030\002 \001(\0132,.google.cloud.dat" + + "acatalog.v1beta1.EntryGroup\"\222\001\n\027UpdateEn" + + "tryGroupRequest\022F\n\013entry_group\030\001 \001(\0132,.g" + + "oogle.cloud.datacatalog.v1beta1.EntryGro" + + "upB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMask\"\202\001\n\024GetEntryGroupReques" + + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.goo" + + "gleapis.com/EntryGroup\022-\n\tread_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"j\n\027DeleteE" + + "ntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + + "datacatalog.googleapis.com/EntryGroup\022\022\n" + + "\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGroupsReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" + + "g.googleapis.com/EntryGroup\022\026\n\tpage_size" + + "\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"v\n\027" + + "ListEntryGroupsResponse\022B\n\014entry_groups\030" + + "\001 \003(\0132,.google.cloud.datacatalog.v1beta1" + + ".EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n" + + "\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A\002" + + "\372A\'\n%datacatalog.googleapis.com/EntryGro" + + "up\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\022;\n\005entry\030\002 \001(\013" + + "2\'.google.cloud.datacatalog.v1beta1.Entr" + + "yB\003\340A\002\"\202\001\n\022UpdateEntryRequest\022;\n\005entry\030\001" + + " \001(\0132\'.google.cloud.datacatalog.v1beta1." + + "EntryB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\"L\n\022DeleteEntryReques" + + "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.goo" + + "gleapis.com/Entry\"I\n\017GetEntryRequest\0226\n\004" + + "name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleap" + + "is.com/Entry\"V\n\022LookupEntryRequest\022\031\n\017li" + + "nked_resource\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 " + + "\001(\tH\000B\r\n\013target_name\"\217\007\n\005Entry\0228\n\004name\030\001" + + " \001(\tB*\372A\'\n%datacatalog.googleapis.com/En" + + "tryGroup\022\027\n\017linked_resource\030\t \001(\t\022;\n\004typ" + + "e\030\002 \001(\0162+.google.cloud.datacatalog.v1bet" + + "a1.EntryTypeH\000\022\035\n\023user_specified_type\030\020 " + + "\001(\tH\000\022T\n\021integrated_system\030\021 \001(\01622.googl" + + "e.cloud.datacatalog.v1beta1.IntegratedSy" + + "stemB\003\340A\003H\001\022\037\n\025user_specified_system\030\022 \001" + + "(\tH\001\022L\n\020gcs_fileset_spec\030\006 \001(\01320.google." + + "cloud.datacatalog.v1beta1.GcsFilesetSpec" + + "H\002\022R\n\023bigquery_table_spec\030\014 \001(\01323.google" + + ".cloud.datacatalog.v1beta1.BigQueryTable" + + "SpecH\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" + + "(\01329.google.cloud.datacatalog.v1beta1.Bi" + + "gQueryDateShardedSpecH\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.datacatalog.v1beta1.Sc" + + "hema\022Y\n\030source_system_timestamps\030\007 \001(\01322" + + ".google.cloud.datacatalog.v1beta1.System" + + "TimestampsB\003\340A\003:x\352Au\n datacatalog.google" + + "apis.com/Entry\022Qprojects/{project}/locat" + + "ions/{location}/entryGroups/{entry_group" + + "}/entries/{entry}B\014\n\nentry_typeB\010\n\006syste" + + "mB\013\n\ttype_spec\"\216\002\n\nEntryGroup\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\022X\n\027data_catalog_timestamps\030\004 \001(\0132" + + "2.google.cloud.datacatalog.v1beta1.Syste" + + "mTimestampsB\003\340A\003:m\352Aj\n%datacatalog.googl" + + "eapis.com/EntryGroup\022Aprojects/{project}" + + "/locations/{location}/entryGroups/{entry" + + "_group}\"\302\001\n\030CreateTagTemplateRequest\022>\n\006" + + "parent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.google" + + "apis.com/TagTemplate\022\034\n\017tag_template_id\030" + + "\003 \001(\tB\003\340A\002\022H\n\014tag_template\030\002 \001(\0132-.googl" + + "e.cloud.datacatalog.v1beta1.TagTemplateB" + + "\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004name\030\001 " + + "\001(\tB.\340A\002\372A(\n&datacatalog.googleapis.com/" + + "TagTemplate\"\225\001\n\030UpdateTagTemplateRequest" + + "\022H\n\014tag_template\030\001 \001(\0132-.google.cloud.da" + + "tacatalog.v1beta1.TagTemplateB\003\340A\002\022/\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" + + "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" + + "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"\203\001\n\020Cr" + + "eateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036" + + "datacatalog.googleapis.com/Tag\0227\n\003tag\030\002 " + + "\001(\0132%.google.cloud.datacatalog.v1beta1.T" + + "agB\003\340A\002\"|\n\020UpdateTagRequest\0227\n\003tag\030\001 \001(\013" + + "2%.google.cloud.datacatalog.v1beta1.TagB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"H\n\020DeleteTagRequest\0224\n\004nam" + + "e\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.googleapis." + + "com/Tag\"\330\001\n\035CreateTagTemplateFieldReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.g" + + "oogleapis.com/TagTemplate\022\"\n\025tag_templat" + + "e_field_id\030\002 \001(\tB\003\340A\002\022S\n\022tag_template_fi" + + "eld\030\003 \001(\01322.google.cloud.datacatalog.v1b" + + "eta1.TagTemplateFieldB\003\340A\002\"\355\001\n\035UpdateTag" + + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022S\n\022tag_template_field\030\002 \001(\01322.go" + + "ogle.cloud.datacatalog.v1beta1.TagTempla" + + "teFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035RenameTag" + + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022&\n\031new_tag_template_field_id\030\002 \001" + + "(\tB\003\340A\002\"v\n\035DeleteTagTemplateFieldRequest" + + "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.goog" + + "leapis.com/TagTemplateField\022\022\n\005force\030\002 \001" + + "(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006parent\030\001 \001" + + "(\tB&\340A\002\372A \022\036datacatalog.googleapis.com/T" + + "ag\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%.go" + + "ogle.cloud.datacatalog.v1beta1.Tag\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\251\001\n\022ListEntriesReque" + + "st\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog." + + "googleapis.com/EntryGroup\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mask\030\004 " + + "\001(\0132\032.google.protobuf.FieldMask\"h\n\023ListE" + + "ntriesResponse\0228\n\007entries\030\001 \003(\0132\'.google" + + ".cloud.datacatalog.v1beta1.Entry\022\027\n\017next" + + "_page_token\030\002 \001(\t*[\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\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2742\n\013DataC" + + "atalog\022\262\001\n\rSearchCatalog\0226.google.cloud." + + "datacatalog.v1beta1.SearchCatalogRequest" + + "\0327.google.cloud.datacatalog.v1beta1.Sear" + + "chCatalogResponse\"0\202\323\344\223\002\034\"\027/v1beta1/cata" + + "log:search:\001*\332A\013scope,query\022\352\001\n\020CreateEn" + + "tryGroup\0229.google.cloud.datacatalog.v1be" + + "ta1.CreateEntryGroupRequest\032,.google.clo" + + "ud.datacatalog.v1beta1.EntryGroup\"m\202\323\344\223\002" + + "C\"4/v1beta1/{parent=projects/*/locations" + + "/*}/entryGroups:\013entry_group\332A!parent,en" + + "try_group_id,entry_group\022\372\001\n\020UpdateEntry" + + "Group\0229.google.cloud.datacatalog.v1beta1" + + ".UpdateEntryGroupRequest\032,.google.cloud." + + "datacatalog.v1beta1.EntryGroup\"}\202\323\344\223\002O2@" + + "/v1beta1/{entry_group.name=projects/*/lo" + + "cations/*/entryGroups/*}:\013entry_group\332A\013" + + "entry_group\332A\027entry_group,update_mask\022\313\001" + + "\n\rGetEntryGroup\0226.google.cloud.datacatal" + + "og.v1beta1.GetEntryGroupRequest\032,.google" + + ".cloud.datacatalog.v1beta1.EntryGroup\"T\202" + + "\323\344\223\0026\0224/v1beta1/{name=projects/*/locatio" + + "ns/*/entryGroups/*}\332A\004name\332A\016name,read_m" + + "ask\022\252\001\n\020DeleteEntryGroup\0229.google.cloud." + + "datacatalog.v1beta1.DeleteEntryGroupRequ" + + "est\032\026.google.protobuf.Empty\"C\202\323\344\223\0026*4/v1" + + "beta1/{name=projects/*/locations/*/entry" + + "Groups/*}\332A\004name\022\315\001\n\017ListEntryGroups\0228.g" + + "oogle.cloud.datacatalog.v1beta1.ListEntr" + + "yGroupsRequest\0329.google.cloud.datacatalo" + + "g.v1beta1.ListEntryGroupsResponse\"E\202\323\344\223\002" + + "6\0224/v1beta1/{parent=projects/*/locations" + + "/*}/entryGroups\332A\006parent\022\323\001\n\013CreateEntry" + + "\0224.google.cloud.datacatalog.v1beta1.Crea" + + "teEntryRequest\032\'.google.cloud.datacatalo" + + "g.v1beta1.Entry\"e\202\323\344\223\002G\">/v1beta1/{paren" + + "t=projects/*/locations/*/entryGroups/*}/" + + "entries:\005entry\332A\025parent,entry_id,entry\022\335" + + "\001\n\013UpdateEntry\0224.google.cloud.datacatalo" + + "g.v1beta1.UpdateEntryRequest\032\'.google.cl" + + "oud.datacatalog.v1beta1.Entry\"o\202\323\344\223\002M2D/" + + "v1beta1/{entry.name=projects/*/locations" + + "/*/entryGroups/*/entries/*}:\005entry\332A\005ent" + + "ry\332A\021entry,update_mask\022\252\001\n\013DeleteEntry\0224" + + ".google.cloud.datacatalog.v1beta1.Delete" + + "EntryRequest\032\026.google.protobuf.Empty\"M\202\323" + + "\344\223\002@*>/v1beta1/{name=projects/*/location" + + "s/*/entryGroups/*/entries/*}\332A\004name\022\265\001\n\010" + + "GetEntry\0221.google.cloud.datacatalog.v1be" + + "ta1.GetEntryRequest\032\'.google.cloud.datac" + + "atalog.v1beta1.Entry\"M\202\323\344\223\002@\022>/v1beta1/{" + + "name=projects/*/locations/*/entryGroups/" + + "*/entries/*}\332A\004name\022\215\001\n\013LookupEntry\0224.go" + + "ogle.cloud.datacatalog.v1beta1.LookupEnt" + + "ryRequest\032\'.google.cloud.datacatalog.v1b" + + "eta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries:loo" + + "kup\022\313\001\n\013ListEntries\0224.google.cloud.datac" + + "atalog.v1beta1.ListEntriesRequest\0325.goog" + + "le.cloud.datacatalog.v1beta1.ListEntries" + + "Response\"O\202\323\344\223\002@\022>/v1beta1/{parent=proje" + + "cts/*/locations/*/entryGroups/*}/entries" + + "\332A\006parent\022\361\001\n\021CreateTagTemplate\022:.google" + + ".cloud.datacatalog.v1beta1.CreateTagTemp" + + "lateRequest\032-.google.cloud.datacatalog.v" + + "1beta1.TagTemplate\"q\202\323\344\223\002E\"5/v1beta1/{pa" + + "rent=projects/*/locations/*}/tagTemplate" + + "s:\014tag_template\332A#parent,tag_template_id" + + ",tag_template\022\276\001\n\016GetTagTemplate\0227.googl" + + "e.cloud.datacatalog.v1beta1.GetTagTempla" + + "teRequest\032-.google.cloud.datacatalog.v1b" + + "eta1.TagTemplate\"D\202\323\344\223\0027\0225/v1beta1/{name" + + "=projects/*/locations/*/tagTemplates/*}\332" + + "A\004name\022\203\002\n\021UpdateTagTemplate\022:.google.cl" + + "oud.datacatalog.v1beta1.UpdateTagTemplat" + + "eRequest\032-.google.cloud.datacatalog.v1be" + + "ta1.TagTemplate\"\202\001\202\323\344\223\002R2B/v1beta1/{tag_" + + "template.name=projects/*/locations/*/tag" + + "Templates/*}:\014tag_template\332A\014tag_templat" + + "e\332A\030tag_template,update_mask\022\263\001\n\021DeleteT" + + "agTemplate\022:.google.cloud.datacatalog.v1" + + "beta1.DeleteTagTemplateRequest\032\026.google." + + "protobuf.Empty\"J\202\323\344\223\0027*5/v1beta1/{name=p" + + "rojects/*/locations/*/tagTemplates/*}\332A\n" + + "name,force\022\234\002\n\026CreateTagTemplateField\022?." + + "google.cloud.datacatalog.v1beta1.CreateT" + + "agTemplateFieldRequest\0322.google.cloud.da" + + "tacatalog.v1beta1.TagTemplateField\"\214\001\202\323\344" + + "\223\002T\">/v1beta1/{parent=projects/*/locatio" + + "ns/*/tagTemplates/*}/fields:\022tag_templat" + + "e_field\332A/parent,tag_template_field_id,t" + + "ag_template_field\022\252\002\n\026UpdateTagTemplateF" + + "ield\022?.google.cloud.datacatalog.v1beta1." + + "UpdateTagTemplateFieldRequest\0322.google.c" + + "loud.datacatalog.v1beta1.TagTemplateFiel" + + "d\"\232\001\202\323\344\223\002T2>/v1beta1/{name=projects/*/lo" + + "cations/*/tagTemplates/*/fields/*}:\022tag_" + + "template_field\332A\027name,tag_template_field" + + "\332A#name,tag_template_field,update_mask\022\200" + + "\002\n\026RenameTagTemplateField\022?.google.cloud" + + ".datacatalog.v1beta1.RenameTagTemplateFi" + + "eldRequest\0322.google.cloud.datacatalog.v1" + + "beta1.TagTemplateField\"q\202\323\344\223\002J\"E/v1beta1" + + "/{name=projects/*/locations/*/tagTemplat" + + "es/*/fields/*}:rename:\001*\332A\036name,new_tag_" + + "template_field_id\022\306\001\n\026DeleteTagTemplateF" + + "ield\022?.google.cloud.datacatalog.v1beta1." + + "DeleteTagTemplateFieldRequest\032\026.google.p" + + "rotobuf.Empty\"S\202\323\344\223\002@*>/v1beta1/{name=pr" + + "ojects/*/locations/*/tagTemplates/*/fiel" + + "ds/*}\332A\nname,force\022\215\002\n\tCreateTag\0222.googl" + + "e.cloud.datacatalog.v1beta1.CreateTagReq" + + "uest\032%.google.cloud.datacatalog.v1beta1." + + "Tag\"\244\001\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects" + + "/*/locations/*/entryGroups/*/entries/*}/" + + "tags:\003tagZB\";/v1beta1/{parent=projects/*" + + "/locations/*/entryGroups/*}/tags:\003tag\332A\n" + + "parent,tag\022\240\002\n\tUpdateTag\0222.google.cloud." + + "datacatalog.v1beta1.UpdateTagRequest\032%.g" + + "oogle.cloud.datacatalog.v1beta1.Tag\"\267\001\202\323" + + "\344\223\002\230\0012I/v1beta1/{tag.name=projects/*/loc" + + "ations/*/entryGroups/*/entries/*/tags/*}" + + ":\003tagZF2?/v1beta1/{tag.name=projects/*/l" + + "ocations/*/entryGroups/*/tags/*}:\003tag\332A\003" + + "tag\332A\017tag,update_mask\022\356\001\n\tDeleteTag\0222.go" + + "ogle.cloud.datacatalog.v1beta1.DeleteTag" + + "Request\032\026.google.protobuf.Empty\"\224\001\202\323\344\223\002\206" + + "\001*E/v1beta1/{name=projects/*/locations/*" + + "/entryGroups/*/entries/*/tags/*}Z=*;/v1b" + + "eta1/{name=projects/*/locations/*/entryG" + + "roups/*/tags/*}\332A\004name\022\212\002\n\010ListTags\0221.go" + + "ogle.cloud.datacatalog.v1beta1.ListTagsR" + + "equest\0322.google.cloud.datacatalog.v1beta" + + "1.ListTagsResponse\"\226\001\202\323\344\223\002\206\001\022E/v1beta1/{" + + "parent=projects/*/locations/*/entryGroup" + + "s/*/entries/*}/tagsZ=\022;/v1beta1/{parent=" + + "projects/*/locations/*/entryGroups/*}/ta" + + "gs\332A\006parent\022\374\001\n\014SetIamPolicy\022\".google.ia" + + "m.v1.SetIamPolicyRequest\032\025.google.iam.v1" + + ".Policy\"\260\001\202\323\344\223\002\227\001\"F/v1beta1/{resource=pr" + + "ojects/*/locations/*/tagTemplates/*}:set" + + "IamPolicy:\001*ZJ\"E/v1beta1/{resource=proje" + + "cts/*/locations/*/entryGroups/*}:setIamP" + + "olicy:\001*\332A\017resource,policy\022\313\002\n\014GetIamPol" + + "icy\022\".google.iam.v1.GetIamPolicyRequest\032" + + "\025.google.iam.v1.Policy\"\377\001\202\323\344\223\002\355\001\"F/v1bet" + + "a1/{resource=projects/*/locations/*/tagT" + + "emplates/*}:getIamPolicy:\001*ZJ\"E/v1beta1/" + + "{resource=projects/*/locations/*/entryGr" + + "oups/*}:getIamPolicy:\001*ZT\"O/v1beta1/{res" + + "ource=projects/*/locations/*/entryGroups" + + "/*/entries/*}:getIamPolicy:\001*\332A\010resource" + + "\022\362\002\n\022TestIamPermissions\022(.google.iam.v1." + + "TestIamPermissionsRequest\032).google.iam.v" + + "1.TestIamPermissionsResponse\"\206\002\202\323\344\223\002\377\001\"L" + + "/v1beta1/{resource=projects/*/locations/" + + "*/tagTemplates/*}:testIamPermissions:\001*Z" + + "P\"K/v1beta1/{resource=projects/*/locatio" + + "ns/*/entryGroups/*}:testIamPermissions:\001" + + "*ZZ\"U/v1beta1/{resource=projects/*/locat" + + "ions/*/entryGroups/*/entries/*}:testIamP" + + "ermissions:\001*\032N\312A\032datacatalog.googleapis" + + ".com\322A.https://www.googleapis.com/auth/c" + + "loud-platformB\344\001\n$com.google.cloud.datac" + + "atalog.v1beta1P\001ZKgoogle.golang.org/genp" + + "roto/googleapis/cloud/datacatalog/v1beta" + + "1;datacatalog\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.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/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 08c58c368b0b..28977f7cae48 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 { @@ -126,14 +100,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; 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 @@ -142,7 +113,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,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_); } @@ -174,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; @@ -184,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.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; } @@ -208,111 +181,104 @@ 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].
@@ -320,32 +286,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();
@@ -357,14 +324,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();
     }
 
@@ -379,8 +345,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -391,39 +356,38 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -431,9 +395,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_;
         onChanged();
@@ -467,25 +429,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              force_ = input.readBool();
+
+              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) {
@@ -498,23 +457,19 @@ public Builder mergeFrom(
 
     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; @@ -523,24 +478,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 { @@ -548,85 +500,69 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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 @@ -634,43 +570,37 @@ 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. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -680,13 +610,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(); } @@ -695,27 +624,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; @@ -730,4 +659,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 b0c2ab744dc2..19496fd2e476 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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. 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,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();
@@ -328,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,21 @@ 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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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..3b64223a69b7 --- /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,31 @@ +// 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 63% 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 750c6b7e2cd1..d9c029e2ea06 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,32 +259,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();
@@ -328,9 +295,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,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.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -507,77 +462,64 @@ 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.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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..7d07f213f0b7 --- /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 62% 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 f0ab73203d1c..bd2a4ee5adeb 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,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();
@@ -328,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTagRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,21 @@ 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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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..d4945c8bc0fe --- /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,31 @@ +// 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 2602c9f32879..5bf12a992206 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -126,8 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; 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.
@@ -135,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -144,7 +115,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,7 +126,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,7 +147,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; @@ -186,16 +158,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; } @@ -210,112 +183,104 @@ 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].
@@ -323,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();
@@ -361,16 +326,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
@@ -384,8 +347,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -396,51 +358,46 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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_;
         onChanged();
@@ -474,25 +431,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              force_ = input.readBool();
+
+              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) {
@@ -505,23 +459,19 @@ public Builder mergeFrom(
 
     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; @@ -530,24 +480,21 @@ 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 { @@ -555,79 +502,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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.
@@ -635,7 +567,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -643,8 +574,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.
@@ -652,19 +581,16 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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.
@@ -672,18 +598,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -693,43 +618,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; @@ -741,8 +664,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 d9867f76ac5e..98d2ad383a82 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,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/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.
@@ -64,7 +37,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 544ed187d21b..86e484207869 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -126,8 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * Required. Currently, this field must always be set to `true`.
    * This confirms the deletion of any possible tags using this template.
@@ -135,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -144,7 +115,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,7 +126,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,7 +147,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; @@ -186,16 +158,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; } @@ -210,111 +183,104 @@ 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].
@@ -322,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();
@@ -359,14 +326,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();
     }
 
@@ -381,8 +347,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -393,39 +358,38 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -433,9 +397,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_;
         onChanged();
@@ -469,25 +431,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                force_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              force_ = input.readBool();
+
+              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) {
@@ -500,23 +459,19 @@ public Builder mergeFrom(
 
     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; @@ -525,24 +480,21 @@ 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 { @@ -550,79 +502,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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.
@@ -630,7 +567,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The force. */ @java.lang.Override @@ -638,8 +574,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.
@@ -647,19 +581,16 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -667,18 +598,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -688,13 +618,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(); } @@ -703,27 +632,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; @@ -738,4 +667,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 52% 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 635c7e721aea..f57ffbc0afda 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,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/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.
@@ -64,7 +37,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 63% 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 fc2c32d5a5ef..adf5cba7d596 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,32 +259,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();
@@ -328,9 +295,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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 74% 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 026e4e7aec00..e0db4beb1dc5 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
@@ -35,16 +18,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_ = "";
@@ -54,42 +36,38 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Entry();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -105,38 +83,32 @@ 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;
   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,39 +124,33 @@ 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;
   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;
     }
@@ -200,33 +166,27 @@ 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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The Data Catalog resource name of the entry in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -235,7 +195,6 @@ public TypeSpecCase getTypeSpecCase() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -244,15 +203,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 Data Catalog resource name of the entry in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -261,15 +219,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.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 { @@ -280,8 +239,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; private volatile java.lang.Object linkedResource_; /** - * - * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -295,7 +252,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ @java.lang.Override @@ -304,15 +260,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.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -326,15 +281,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 { @@ -344,30 +300,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() { @@ -377,22 +327,19 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.EntryType result = - com.google.cloud.datacatalog.v1beta1.EntryType.valueOf((java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.valueOf( + (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; @@ -400,8 +347,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
@@ -415,15 +360,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
@@ -437,7 +379,6 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -448,7 +389,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; @@ -457,8 +399,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
@@ -472,17 +412,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; } @@ -494,34 +435,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.
    * 
* - * - * .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() { @@ -531,36 +462,26 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = - com.google.cloud.datacatalog.v1beta1.IntegratedSystem.valueOf( - (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.valueOf( + (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
@@ -570,15 +491,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
@@ -588,7 +506,6 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -599,7 +516,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; @@ -608,8 +526,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
@@ -619,17 +535,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; } @@ -641,15 +558,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 @@ -657,27 +571,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.
@@ -688,22 +597,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 @@ -711,27 +617,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`.
@@ -740,28 +641,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 @@ -769,45 +664,35 @@ 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(); } @@ -815,8 +700,6 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryD public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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
@@ -824,7 +707,6 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec getBigqueryD
    * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -833,15 +715,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
@@ -849,15 +730,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 { @@ -868,15 +750,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -885,30 +764,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 { @@ -919,14 +798,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 @@ -934,25 +810,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.
    * 
@@ -967,8 +836,6 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() 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
@@ -976,10 +843,7 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
    * 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 @@ -987,8 +851,6 @@ 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
@@ -996,21 +858,14 @@ public boolean hasSourceSystemTimestamps() {
    * 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
@@ -1018,18 +873,14 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
    * 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() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder() { return getSourceSystemTimestamps(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1041,7 +892,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1070,8 +922,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); } 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_); @@ -1095,9 +946,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_); @@ -1106,36 +956,34 @@ 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 (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_); @@ -1148,33 +996,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.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 (!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: @@ -1182,10 +1037,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: @@ -1193,13 +1050,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: @@ -1276,104 +1136,97 @@ 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
@@ -1388,32 +1241,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();
@@ -1456,9 +1310,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
@@ -1477,8 +1331,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.Entry result = new com.google.cloud.datacatalog.v1beta1.Entry(this);
       result.name_ = name_;
       result.linkedResource_ = linkedResource_;
       if (entryTypeCase_ == 2) {
@@ -1537,39 +1390,38 @@ public com.google.cloud.datacatalog.v1beta1.Entry buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1601,61 +1453,51 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Entry other) {
         mergeSourceSystemTimestamps(other.getSourceSystemTimestamps());
       }
       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();
@@ -1683,98 +1525,91 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                int rawValue = input.readEnum();
-                entryTypeCase_ = 2;
-                entryType_ = rawValue;
-                break;
-              } // case 16
-            case 26:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 16: {
+              int rawValue = input.readEnum();
+              entryTypeCase_ = 2;
+              entryType_ = rawValue;
+              break;
+            } // case 16
+            case 26: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
-                typeSpecCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getGcsFilesetSpecFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              typeSpecCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 58
-            case 74:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
+              break;
+            } // case 58
+            case 74: {
+              linkedResource_ = input.readStringRequireUtf8();
 
-                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:
+              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:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1784,12 +1619,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() {
@@ -1801,9 +1636,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() {
@@ -1815,9 +1651,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() {
@@ -1827,10 +1664,9 @@ public Builder clearTypeSpec() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1839,13 +1675,13 @@ public Builder clearTypeSpec() {
      * 
* * string name = 1 [(.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; @@ -1854,8 +1690,6 @@ public java.lang.String getName() { } } /** - * - * *
      * 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 +1698,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.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 { @@ -1879,8 +1714,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1889,22 +1722,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1913,18 +1744,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1933,16 +1761,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1950,8 +1778,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object linkedResource_ = ""; /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1965,13 +1791,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; @@ -1980,8 +1806,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1995,14 +1819,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 { @@ -2010,8 +1835,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -2025,22 +1848,20 @@ 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) { + public Builder setLinkedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; onChanged(); return this; } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -2054,18 +1875,15 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 9; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); onChanged(); return this; } /** - * - * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -2079,31 +1897,28 @@ 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) { + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = value; onChanged(); 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 Whether the type field is set. */ @java.lang.Override @@ -2111,15 +1926,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 @@ -2130,15 +1942,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. */ @@ -2149,39 +1958,31 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.EntryType result = - com.google.cloud.datacatalog.v1beta1.EntryType.valueOf((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.valueOf( + (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. */ @@ -2195,15 +1996,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() { @@ -2216,8 +2014,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
@@ -2231,7 +2027,6 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; - * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -2239,8 +2034,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
@@ -2254,7 +2047,6 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; - * * @return The userSpecifiedType. */ @java.lang.Override @@ -2264,7 +2056,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; @@ -2275,8 +2068,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
@@ -2290,18 +2081,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; } @@ -2311,8 +2103,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
@@ -2326,22 +2116,20 @@ 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) { + public Builder setUserSpecifiedType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryTypeCase_ = 16; + 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
@@ -2355,7 +2143,6 @@ public Builder setUserSpecifiedType(java.lang.String value) {
      * 
* * string user_specified_type = 16; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -2367,8 +2154,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
@@ -2382,15 +2167,15 @@ 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) { + public Builder setUserSpecifiedTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; onChanged(); @@ -2398,17 +2183,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.
      * 
* - * - * .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 @@ -2416,17 +2196,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.
      * 
* - * - * .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 @@ -2437,17 +2212,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.
      * 
* - * - * .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. */ @@ -2458,49 +2228,35 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = - com.google.cloud.datacatalog.v1beta1.IntegratedSystem.valueOf( - (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.valueOf( + (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(); } @@ -2510,17 +2266,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.
      * 
* - * - * .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() { @@ -2533,8 +2284,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
@@ -2544,7 +2293,6 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; - * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -2552,8 +2300,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
@@ -2563,7 +2309,6 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; - * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -2573,7 +2318,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; @@ -2584,8 +2330,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
@@ -2595,18 +2339,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; } @@ -2616,8 +2361,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
@@ -2627,22 +2370,20 @@ 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) { + public Builder setUserSpecifiedSystem( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - systemCase_ = 18; + 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
@@ -2652,7 +2393,6 @@ public Builder setUserSpecifiedSystem(java.lang.String value) {
      * 
* * string user_specified_system = 18; - * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -2664,8 +2404,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
@@ -2675,15 +2413,15 @@ 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) { + public Builder setUserSpecifiedSystemBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; onChanged(); @@ -2691,20 +2429,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 @@ -2712,15 +2444,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 @@ -2738,8 +2467,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.
@@ -2761,8 +2488,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.
@@ -2782,8 +2507,6 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2793,14 +2516,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;
         }
@@ -2816,8 +2535,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.
@@ -2842,8 +2559,6 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2855,8 +2570,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.
@@ -2865,8 +2578,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 {
@@ -2877,8 +2589,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.
@@ -2887,45 +2597,33 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return gcsFilesetSpecBuilder_;
     }
 
     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 @@ -2933,15 +2631,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 @@ -2959,8 +2654,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`.
@@ -2968,8 +2661,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();
@@ -2983,8 +2675,6 @@ public Builder setBigqueryTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3004,8 +2694,6 @@ public Builder setBigqueryTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3013,17 +2701,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;
         }
@@ -3039,8 +2722,6 @@ public Builder mergeBigqueryTableSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3065,8 +2746,6 @@ public Builder clearBigqueryTableSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3074,13 +2753,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`.
@@ -3089,8 +2765,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 {
@@ -3101,8 +2776,6 @@ public Builder clearBigqueryTableSpec() {
       }
     }
     /**
-     *
-     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -3111,48 +2784,34 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 12;
-      onChanged();
-      ;
+      onChanged();;
       return bigqueryTableSpecBuilder_;
     }
 
     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 @@ -3160,23 +2819,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_; @@ -3190,20 +2843,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(); @@ -3217,17 +2865,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) { @@ -3241,30 +2885,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; } @@ -3280,17 +2914,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) { @@ -3309,38 +2939,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 { @@ -3351,48 +2971,35 @@ 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()); typeSpec_ = null; } typeSpecCase_ = 15; - onChanged(); - ; + onChanged();; return bigqueryDateShardedSpecBuilder_; } 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
@@ -3400,13 +3007,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; @@ -3415,8 +3022,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
@@ -3424,14 +3029,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 { @@ -3439,8 +3045,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
@@ -3448,22 +3052,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -3471,18 +3073,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -3490,16 +3089,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -3507,21 +3106,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; @@ -3530,22 +3127,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 { @@ -3553,64 +3149,57 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3618,47 +3207,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 schemaBuilder_ != null || 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. */ 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.
      * 
@@ -3679,15 +3255,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(); onChanged(); @@ -3698,8 +3273,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.
      * 
@@ -3710,9 +3283,7 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { if (schemaBuilder_ == null) { if (schema_ != null) { schema_ = - com.google.cloud.datacatalog.v1beta1.Schema.newBuilder(schema_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.Schema.newBuilder(schema_).mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -3724,8 +3295,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.
      * 
@@ -3744,8 +3313,6 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3753,13 +3320,11 @@ public Builder clearSchema() { * .google.cloud.datacatalog.v1beta1.Schema schema = 5; */ public com.google.cloud.datacatalog.v1beta1.Schema.Builder getSchemaBuilder() { - + onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3770,14 +3335,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.
      * 
@@ -3785,17 +3347,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_; @@ -3803,13 +3362,8 @@ 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
@@ -3817,18 +3371,13 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
      * 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 sourceSystemTimestampsBuilder_ != null || 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
@@ -3836,24 +3385,17 @@ public boolean hasSourceSystemTimestamps() {
      * 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
@@ -3861,12 +3403,9 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
      * 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(); @@ -3880,8 +3419,6 @@ 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
@@ -3889,9 +3426,7 @@ public Builder setSourceSystemTimestamps(
      * 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) { @@ -3905,8 +3440,6 @@ 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
@@ -3914,19 +3447,13 @@ public Builder setSourceSystemTimestamps(
      * 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 (sourceSystemTimestamps_ != null) { sourceSystemTimestamps_ = - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder( - sourceSystemTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(sourceSystemTimestamps_).mergeFrom(value).buildPartial(); } else { sourceSystemTimestamps_ = value; } @@ -3938,8 +3465,6 @@ 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
@@ -3947,9 +3472,7 @@ public Builder mergeSourceSystemTimestamps(
      * 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() { if (sourceSystemTimestampsBuilder_ == null) { @@ -3963,8 +3486,6 @@ 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
@@ -3972,19 +3493,14 @@ public Builder clearSourceSystemTimestamps() {
      * 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() { + 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
@@ -3992,23 +3508,17 @@ public Builder clearSourceSystemTimestamps() {
      * 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
@@ -4016,29 +3526,24 @@ public Builder clearSourceSystemTimestamps() {
      * 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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4048,12 +3553,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(); } @@ -4062,27 +3567,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; @@ -4097,4 +3602,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 68% 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 fb055070272a..929f7cda5a39 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,35 +29,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the entry group in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -84,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -93,15 +71,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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -110,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 { @@ -129,15 +107,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 +121,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 { @@ -180,8 +155,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -189,7 +162,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -198,15 +170,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
@@ -214,15 +185,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 { @@ -233,16 +205,11 @@ 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.
    * 
* - * - * .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 @@ -250,43 +217,30 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getDataCatalogTimestampsOrBuilder() { return getDataCatalogTimestamps(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -330,8 +285,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; @@ -341,20 +296,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; - - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + 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 (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; @@ -382,104 +340,97 @@ 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
@@ -488,32 +439,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();
@@ -533,9 +485,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
@@ -554,8 +506,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.EntryGroup result = new com.google.cloud.datacatalog.v1beta1.EntryGroup(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -572,39 +523,38 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -612,8 +562,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_;
         onChanged();
@@ -655,38 +604,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getDataCatalogTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDataCatalogTimestampsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -699,8 +644,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -709,13 +652,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; @@ -724,8 +667,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -734,14 +675,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 { @@ -749,8 +691,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -759,22 +699,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -783,18 +721,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -803,16 +738,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -820,21 +755,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; @@ -843,22 +776,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 { @@ -866,64 +798,57 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -931,8 +856,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
@@ -940,13 +863,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; @@ -955,8 +878,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
@@ -964,14 +885,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 { @@ -979,8 +901,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
@@ -988,22 +908,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -1011,18 +929,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -1030,16 +945,16 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1047,61 +962,41 @@ 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.
      * 
* - * - * .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 dataCatalogTimestampsBuilder_ != null || 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. */ 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(); @@ -1115,15 +1010,11 @@ 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 setDataCatalogTimestamps( com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { @@ -1137,25 +1028,17 @@ 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 (dataCatalogTimestamps_ != null) { dataCatalogTimestamps_ = - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder( - dataCatalogTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(dataCatalogTimestamps_).mergeFrom(value).buildPartial(); } else { dataCatalogTimestamps_ = value; } @@ -1167,15 +1050,11 @@ public Builder mergeDataCatalogTimestamps( 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() { if (dataCatalogTimestampsBuilder_ == null) { @@ -1189,73 +1068,55 @@ 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() { + 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); } @@ -1265,12 +1126,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(); } @@ -1279,27 +1140,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; @@ -1314,4 +1175,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 66% 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 038bc51a9ee7..4b9c5bb03d3b 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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -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. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -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, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -91,13 +63,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
@@ -105,50 +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 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/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 83% 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 88d58bcf9aa9..6df74135b557 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,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 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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -34,13 +16,10 @@ public interface EntryOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The Data Catalog resource name of the entry in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -49,14 +28,12 @@ public interface EntryOrBuilder
    * 
* * string name = 1 [(.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.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -70,13 +47,10 @@ public interface EntryOrBuilder
    * 
* * string linked_resource = 9; - * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** - * - * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -90,54 +64,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
@@ -151,13 +114,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
@@ -171,13 +131,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
@@ -191,60 +148,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.
    * 
* - * - * .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
@@ -254,13 +194,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
@@ -270,13 +207,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
@@ -286,40 +220,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.
@@ -330,34 +256,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`.
@@ -368,56 +286,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
@@ -425,13 +326,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
@@ -439,65 +337,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.
    * 
@@ -507,8 +392,6 @@ 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
@@ -516,16 +399,11 @@ public interface EntryOrBuilder
    * 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
@@ -533,16 +411,11 @@ public interface EntryOrBuilder
    * 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
@@ -550,12 +423,9 @@ public interface EntryOrBuilder
    * 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(); public 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 18b6a6c21297..343a9d4d1ab1 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,16 +11,15 @@
  *
  * 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.EMPTY;
@@ -45,41 +27,37 @@ private ExportTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -95,38 +73,31 @@ 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;
   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 @@ -135,32 +106,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 { @@ -171,48 +140,34 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAXONOMIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList 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 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. */ @@ -220,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 @@ -254,14 +202,11 @@ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** - * - * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; - * * @return The serializedTaxonomies. */ @java.lang.Override @@ -273,7 +218,6 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -285,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_); } @@ -293,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); } @@ -316,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; @@ -328,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: @@ -366,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: @@ -377,104 +326,96 @@ 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].
@@ -482,32 +423,33 @@ 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();
@@ -521,14 +463,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_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();
     }
 
@@ -543,8 +484,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -564,39 +504,38 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -604,9 +543,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_;
         onChanged();
@@ -622,15 +559,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();
@@ -658,32 +593,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -693,12 +624,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() {
@@ -712,23 +643,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; @@ -737,24 +664,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 { @@ -762,127 +686,98 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList taxonomies_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList taxonomies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -890,100 +785,80 @@ 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) { + public Builder setTaxonomies( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); 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 taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies(java.lang.String value) { + public Builder addTaxonomies( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.add(value); 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 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_); 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() { @@ -993,24 +868,20 @@ public Builder clearTaxonomies() { 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) { + public Builder addTaxonomiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); onChanged(); @@ -1018,28 +889,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() { @@ -1049,14 +914,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. */ @@ -1067,14 +929,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() { @@ -1085,9 +944,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); } @@ -1097,13 +956,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(); } @@ -1112,27 +970,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; @@ -1147,4 +1005,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 52% 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 23552979f869..d5a6b41caf68 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,143 +1,93 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); - public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.DestinationCase - getDestinationCase(); + public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.DestinationCase getDestinationCase(); } 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 04226d1a8eed..8304d6f2c367 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,51 +11,47 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -80,13 +59,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.
    * 
@@ -94,13 +70,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.
    * 
@@ -112,8 +86,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -125,8 +97,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int return taxonomies_.get(index); } /** - * - * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -140,7 +110,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,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 < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -166,7 +136,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; @@ -176,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.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; } @@ -206,104 +177,96 @@ 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].
@@ -311,32 +274,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();
@@ -351,14 +315,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();
     }
 
@@ -373,8 +336,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -393,39 +355,38 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -433,9 +394,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()) {
@@ -454,10 +413,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_);
           }
@@ -489,27 +447,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) {
@@ -519,38 +475,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 { @@ -558,8 +504,6 @@ private void ensureTaxonomiesIsMutable() { } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -574,8 +518,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -590,8 +532,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -613,8 +553,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -622,8 +560,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()); @@ -634,8 +571,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -656,8 +591,6 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxo return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -679,8 +612,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -699,8 +630,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -708,8 +637,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()); @@ -720,8 +648,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -729,11 +655,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); @@ -741,8 +667,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -760,8 +684,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -779,8 +701,6 @@ public Builder removeTaxonomies(int index) { return this; } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -792,8 +712,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxono return getTaxonomiesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -803,23 +721,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 { @@ -827,8 +741,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } } /** - * - * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -836,12 +748,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.
      * 
@@ -850,43 +760,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); } @@ -896,13 +800,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(); } @@ -911,27 +814,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; @@ -946,4 +849,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 70% 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 147a70b94662..54b1690842d8 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,67 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -70,8 +57,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A double precision number.
      * 
@@ -80,8 +65,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(1), /** - * - * *
      * An UTF-8 string.
      * 
@@ -90,8 +73,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(2), /** - * - * *
      * A boolean value.
      * 
@@ -100,8 +81,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(3), /** - * - * *
      * A timestamp.
      * 
@@ -113,8 +92,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is the default invalid value for a type.
      * 
@@ -123,8 +100,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A double precision number.
      * 
@@ -133,8 +108,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 1; /** - * - * *
      * An UTF-8 string.
      * 
@@ -143,8 +116,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 2; /** - * - * *
      * A boolean value.
      * 
@@ -153,8 +124,6 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 3; /** - * - * *
      * A timestamp.
      * 
@@ -163,6 +132,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( @@ -187,53 +157,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; @@ -250,14 +218,11 @@ 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
@@ -267,15 +232,11 @@ public interface EnumTypeOrBuilder
      * 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
@@ -285,14 +246,10 @@ public interface EnumTypeOrBuilder
      * 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
@@ -302,14 +259,10 @@ public interface EnumTypeOrBuilder
      * 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
@@ -319,16 +272,11 @@ public interface EnumTypeOrBuilder
      * 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
@@ -338,136 +286,125 @@ public interface EnumTypeOrBuilder
      * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -476,29 +413,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; } } /** - * - * *
        * 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 { @@ -507,7 +444,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,7 +455,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -543,15 +480,15 @@ public int getSerializedSize() { @java.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; } @@ -571,96 +508,87 @@ 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 @@ -669,35 +597,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(); @@ -707,16 +636,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 @@ -730,8 +657,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result = new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -741,53 +667,46 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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_; onChanged(); @@ -818,19 +737,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + 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) { @@ -843,20 +760,18 @@ public Builder mergeFrom( 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; @@ -865,21 +780,20 @@ 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 { @@ -887,66 +801,58 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
          * 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -959,44 +865,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,18 +911,15 @@ 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; - 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
@@ -1029,18 +929,13 @@ public com.google.protobuf.Parser getParserForType() {
      * 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
@@ -1050,19 +945,14 @@ public com.google.protobuf.Parser getParserForType() {
      * 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
@@ -1072,17 +962,13 @@ public com.google.protobuf.Parser getParserForType() {
      * 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
@@ -1092,18 +978,13 @@ public int getAllowedValuesCount() {
      * 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
@@ -1113,18 +994,15 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo
      * 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; @@ -1136,7 +1014,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -1150,7 +1029,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; @@ -1160,15 +1040,15 @@ public int getSerializedSize() { @java.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; } @@ -1190,94 +1070,87 @@ 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 @@ -1286,34 +1159,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(); @@ -1328,9 +1203,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 @@ -1349,8 +1224,7 @@ 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); int from_bitField0_ = bitField0_; if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1369,41 +1243,38 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -1411,8 +1282,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()) { @@ -1431,10 +1301,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_); } @@ -1466,28 +1335,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) { @@ -1497,31 +1363,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< - 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
@@ -1531,12 +1387,9 @@ private void ensureAllowedValuesIsMutable() {
        * 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 { @@ -1544,8 +1397,6 @@ 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
@@ -1555,9 +1406,7 @@ private void ensureAllowedValuesIsMutable() {
        * 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) { @@ -1567,8 +1416,6 @@ 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
@@ -1578,12 +1425,9 @@ public int getAllowedValuesCount() {
        * 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 { @@ -1591,8 +1435,6 @@ 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
@@ -1602,9 +1444,7 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo
        * 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) { @@ -1621,8 +1461,6 @@ 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
@@ -1632,14 +1470,10 @@ public Builder setAllowedValues(
        * 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()); @@ -1650,8 +1484,6 @@ 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
@@ -1661,12 +1493,9 @@ public Builder setAllowedValues(
        * 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(); @@ -1680,8 +1509,6 @@ 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
@@ -1691,9 +1518,7 @@ public Builder addAllowedValues(
        * 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) { @@ -1710,8 +1535,6 @@ 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
@@ -1721,13 +1544,10 @@ public Builder addAllowedValues(
        * 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()); @@ -1738,8 +1558,6 @@ 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
@@ -1749,14 +1567,10 @@ public Builder addAllowedValues(
        * 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()); @@ -1767,8 +1581,6 @@ 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
@@ -1778,17 +1590,14 @@ public Builder addAllowedValues(
        * 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); @@ -1796,8 +1605,6 @@ 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
@@ -1807,9 +1614,7 @@ public Builder addAllAllowedValues(
        * 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) { @@ -1822,8 +1627,6 @@ 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
@@ -1833,9 +1636,7 @@ public Builder clearAllowedValues() {
        * 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) { @@ -1848,8 +1649,6 @@ 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
@@ -1859,17 +1658,13 @@ public Builder removeAllowedValues(int index) {
        * 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
@@ -1879,21 +1674,16 @@ public Builder removeAllowedValues(int index) {
        * 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
@@ -1903,13 +1693,10 @@ public Builder removeAllowedValues(int index) {
        * 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 { @@ -1917,8 +1704,6 @@ 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
@@ -1928,20 +1713,13 @@ public Builder removeAllowedValues(int index) {
        * 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
@@ -1951,21 +1729,14 @@ public Builder removeAllowedValues(int index) {
        * 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
@@ -1975,27 +1746,18 @@ public Builder removeAllowedValues(int index) {
        * 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(), @@ -2004,7 +1766,6 @@ public Builder removeAllowedValues(int index) { } return allowedValuesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2017,12 +1778,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(); } @@ -2031,28 +1792,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; @@ -2067,20 +1827,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int typeDeclCase_ = 0; 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; } @@ -2096,50 +1854,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() { @@ -2149,39 +1898,30 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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 @@ -2189,26 +1929,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.
    * 
@@ -2218,13 +1953,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; @@ -2236,7 +1970,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_)); } @@ -2253,13 +1988,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; @@ -2269,21 +2003,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: @@ -2316,128 +2051,126 @@ 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(); @@ -2450,9 +2183,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 @@ -2471,8 +2204,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.FieldType result = new com.google.cloud.datacatalog.v1beta1.FieldType(this); if (typeDeclCase_ == 1) { result.typeDecl_ = typeDecl_; } @@ -2492,39 +2224,38 @@ public com.google.cloud.datacatalog.v1beta1.FieldType buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -2534,20 +2265,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(); @@ -2575,26 +2303,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) { @@ -2604,12 +2331,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() { @@ -2619,15 +2346,13 @@ public Builder clearTypeDecl() { return this; } + /** - * - * *
      * 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 @@ -2635,14 +2360,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 @@ -2653,14 +2375,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. */ @@ -2671,44 +2390,33 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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(); } @@ -2718,14 +2426,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() { @@ -2738,19 +2443,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 @@ -2758,14 +2457,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 @@ -2783,8 +2479,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { } } /** - * - * *
      * Represents an enum type.
      * 
@@ -2805,8 +2499,6 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2825,8 +2517,6 @@ public Builder setEnumType( return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2835,14 +2525,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; } @@ -2858,8 +2544,6 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.Enum return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2883,8 +2567,6 @@ public Builder clearEnumType() { return this; } /** - * - * *
      * Represents an enum type.
      * 
@@ -2895,8 +2577,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder getEnumTy return getEnumTypeFieldBuilder().getBuilder(); } /** - * - * *
      * Represents an enum type.
      * 
@@ -2915,8 +2595,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT } } /** - * - * *
      * Represents an enum type.
      * 
@@ -2924,32 +2602,26 @@ 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()); typeDecl_ = null; } typeDeclCase_ = 2; - onChanged(); - ; + 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); } @@ -2959,12 +2631,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(); } @@ -2973,27 +2645,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; @@ -3008,4 +2680,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 e456b8dd3cdf..bfee0b6eb9f9 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 96907b03bd78..6218990aeb1d 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,83 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -86,29 +64,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 { @@ -119,16 +97,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 @@ -136,52 +109,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() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getGcsTimestampsOrBuilder() { return getGcsTimestamps(); } public static final int SIZE_BYTES_FIELD_NUMBER = 4; 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 @@ -190,7 +148,6 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -225,10 +183,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; @@ -238,20 +198,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -270,142 +232,137 @@ 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(); @@ -423,9 +380,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 @@ -444,8 +401,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.GcsFileSpec result = new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(this); result.filePath_ = filePath_; if (gcsTimestampsBuilder_ == null) { result.gcsTimestamps_ = gcsTimestamps_; @@ -461,39 +417,38 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -501,8 +456,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_; onChanged(); @@ -539,31 +493,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - filePath_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 32: - { - sizeBytes_ = input.readInt64(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + filePath_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getGcsTimestampsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 32: { + sizeBytes_ = input.readInt64(); + + 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) { @@ -576,20 +528,18 @@ public Builder mergeFrom( 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; @@ -598,21 +548,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 { @@ -620,61 +569,54 @@ 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) { + public Builder setFilePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; 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() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); 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) { + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; @@ -682,58 +624,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 gcsTimestampsBuilder_ != null || 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. */ 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) { @@ -749,15 +672,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) { @@ -771,23 +690,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 (gcsTimestamps_ != null) { gcsTimestamps_ = - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(gcsTimestamps_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(gcsTimestamps_).mergeFrom(value).buildPartial(); } else { gcsTimestamps_ = value; } @@ -799,15 +712,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() { if (gcsTimestampsBuilder_ == null) { @@ -821,80 +730,60 @@ 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() { - + onChanged(); 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 @@ -902,43 +791,37 @@ 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. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); 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() { - + sizeBytes_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -948,12 +831,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(); } @@ -962,27 +845,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; @@ -997,4 +880,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 78% 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 2617472d5e8c..9f50177eadf3 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,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/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.EMPTY; sampleGcsFileSpecs_ = java.util.Collections.emptyList(); @@ -44,35 +26,32 @@ private GcsFilesetSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsFilesetSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private com.google.protobuf.LazyStringList filePatterns_; /** - * - * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -101,15 +80,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
@@ -138,15 +115,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
@@ -175,7 +149,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. */ @@ -183,8 +156,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
@@ -213,93 +184,72 @@ 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; 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( @@ -308,7 +258,6 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -345,8 +295,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; @@ -356,16 +306,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -391,135 +342,129 @@ 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(); @@ -536,9 +481,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 @@ -557,8 +502,7 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { filePatterns_ = filePatterns_.getUnmodifiableView(); @@ -582,39 +526,38 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -622,8 +565,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_; @@ -652,10 +594,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_); } @@ -687,34 +628,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) { @@ -724,21 +662,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList filePatterns_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList filePatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFilePatternsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -767,15 +700,13 @@ 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() { return filePatterns_.getUnmodifiableView(); } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -804,15 +735,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
@@ -841,7 +769,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. */ @@ -849,8 +776,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
@@ -879,16 +804,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
@@ -917,23 +840,21 @@ 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) { + public Builder setFilePatterns( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -962,22 +883,20 @@ 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) { + public Builder addFilePatterns( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1006,19 +925,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1047,7 +965,6 @@ 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() { @@ -1057,8 +974,6 @@ public Builder clearFilePatterns() { return this; } /** - * - * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1087,15 +1002,15 @@ 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) { + public Builder addFilePatternsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); @@ -1103,37 +1018,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.
      * 
* - * - * 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 { @@ -1141,16 +1045,12 @@ private void ensureSampleGcsFileSpecsIsMutable() { } } /** - * - * *
      * 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) { @@ -1160,16 +1060,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.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) { @@ -1179,16 +1075,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.
      * 
* - * - * 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) { @@ -1205,16 +1097,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.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) { @@ -1228,16 +1116,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.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) { @@ -1253,16 +1137,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.
      * 
* - * - * 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) { @@ -1279,16 +1159,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.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) { @@ -1302,16 +1178,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.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) { @@ -1325,22 +1197,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.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); @@ -1348,16 +1217,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.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) { @@ -1370,16 +1235,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.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) { @@ -1392,55 +1253,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.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 { @@ -1448,66 +1296,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.
      * 
* - * - * 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(), @@ -1516,9 +1346,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); } @@ -1528,12 +1358,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(); } @@ -1542,27 +1372,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; @@ -1577,4 +1407,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 83% 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 7f1e9f9ff8dc..d5515ef2585d 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
@@ -54,13 +36,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
@@ -89,13 +69,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
@@ -124,14 +101,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
@@ -160,76 +134,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.
    * 
* - * - * 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/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..a76e35f1dba9 --- /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\"\177\n\016GcsFilesetSpec\022\032\n\rfil" + + "e_patterns\030\001 \003(\tB\003\340A\002\022Q\n\025sample_gcs_file" + + "_specs\030\002 \003(\0132-.google.cloud.datacatalog." + + "v1beta1.GcsFileSpecB\003\340A\003\"\217\001\n\013GcsFileSpec" + + "\022\026\n\tfile_path\030\001 \001(\tB\003\340A\002\022O\n\016gcs_timestam" + + "ps\030\002 \001(\01322.google.cloud.datacatalog.v1be" + + "ta1.SystemTimestampsB\003\340A\003\022\027\n\nsize_bytes\030" + + "\004 \001(\003B\003\340A\003B\344\001\n$com.google.cloud.datacata" + + "log.v1beta1P\001ZKgoogle.golang.org/genprot" + + "o/googleapis/cloud/datacatalog/v1beta1;d" + + "atacatalog\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(), + 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 541711256839..a43558d4854b 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 { @@ -126,14 +100,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 @@ -141,14 +112,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 @@ -156,8 +124,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.
    * 
@@ -170,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -202,7 +168,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; @@ -212,18 +179,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; @@ -248,104 +216,96 @@ 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].
@@ -353,32 +313,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();
@@ -394,9 +355,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
@@ -415,8 +376,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(this);
       result.name_ = name_;
       if (readMaskBuilder_ == null) {
         result.readMask_ = readMask_;
@@ -431,39 +391,38 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -471,8 +430,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_;
         onChanged();
@@ -506,25 +464,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -537,23 +494,19 @@ public Builder mergeFrom(
 
     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; @@ -562,24 +515,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 { @@ -587,70 +537,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -658,33 +595,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 readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * 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() { @@ -695,8 +623,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -717,15 +643,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(); onChanged(); @@ -736,8 +661,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.
      * 
@@ -748,7 +671,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -760,8 +683,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -780,8 +701,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -789,13 +708,11 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -806,12 +723,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.
      * 
@@ -819,24 +735,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); } @@ -846,12 +759,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(); } @@ -860,27 +773,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; @@ -895,4 +808,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 62% 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 24606ae47f37..665507da4b35 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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. 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,103 +162,96 @@ 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].
@@ -292,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();
@@ -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_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
@@ -348,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.GetEntryRequest result = new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -359,39 +326,38 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -399,8 +365,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_;
         onChanged();
@@ -431,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -456,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -481,24 +440,21 @@ 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 { @@ -506,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +529,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(); } @@ -600,27 +543,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; @@ -635,4 +578,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..ee9242223858 --- /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,31 @@ +// 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 62% 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 835da810c7d9..bc2a65f67e2f 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,104 +160,96 @@ 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].
@@ -291,32 +257,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();
@@ -326,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_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
@@ -347,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -358,39 +324,38 @@ public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -398,8 +363,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_;
         onChanged();
@@ -430,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -455,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -479,23 +437,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 { @@ -503,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +522,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(); } @@ -594,27 +536,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; @@ -629,4 +571,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 62% 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 f4c56b332368..6d74348bd643 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -124,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +134,15 @@ public int getSerializedSize() { @java.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; } @@ -188,104 +162,96 @@ 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].
@@ -293,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();
@@ -328,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
@@ -349,8 +316,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -360,39 +326,38 @@ public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -400,8 +365,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_;
         onChanged();
@@ -432,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,23 +419,19 @@ public Builder mergeFrom(
 
     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; @@ -482,24 +440,21 @@ 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 { @@ -507,77 +462,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +529,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(); } @@ -601,27 +543,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; @@ -636,4 +578,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..ae5c0292b19f --- /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,31 @@ +// 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 62% 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 c65856117c17..03c32b584cf9 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,59 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,31 +65,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 { @@ -122,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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_); } @@ -158,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.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; } @@ -186,104 +160,96 @@ 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].
@@ -291,32 +257,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();
@@ -326,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_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
@@ -347,8 +314,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -358,39 +324,38 @@ public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -398,8 +363,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_;
         onChanged();
@@ -430,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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) {
@@ -455,22 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -479,23 +437,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 { @@ -503,74 +458,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +522,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(); } @@ -594,27 +536,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; @@ -629,4 +571,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 67% 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 27e2fae1fccb..b50403c191b2 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,57 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -94,38 +72,31 @@ 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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -134,32 +105,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.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -169,14 +138,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INLINE_SOURCE_FIELD_NUMBER = 2; /** - * - * *
    * Inline source used for taxonomies import
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -184,26 +150,21 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** - * - * *
    * Inline source used for taxonomies import
    * 
* * .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
    * 
@@ -213,13 +174,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; @@ -231,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -251,9 +212,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; @@ -263,19 +223,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: @@ -307,104 +268,96 @@ 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].
@@ -412,32 +365,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();
@@ -452,14 +406,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();
     }
 
@@ -474,8 +427,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(this);
       result.parent_ = parent_;
       if (sourceCase_ == 2) {
         if (inlineSourceBuilder_ == null) {
@@ -493,39 +445,38 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -533,23 +484,19 @@ 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_;
         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();
@@ -577,25 +524,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                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();
+
+              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) {
@@ -605,12 +551,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() {
@@ -620,25 +566,22 @@ public Builder clearSource() {
       return this;
     }
 
+
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -647,24 +590,21 @@ public 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) = { ... } - * - * + * 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,89 +612,70 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of project that the newly created 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.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
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -762,14 +683,11 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** - * - * *
      * Inline source used for taxonomies import
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; - * * @return The inlineSource. */ @java.lang.Override @@ -787,8 +705,6 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { } } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -809,8 +725,6 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource return this; } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -829,8 +743,6 @@ public Builder setInlineSource( return this; } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -839,13 +751,10 @@ 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; } @@ -861,8 +770,6 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSour return this; } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -886,8 +793,6 @@ public Builder clearInlineSource() { return this; } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -898,8 +803,6 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource.Builder getInlineSource return getInlineSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -918,8 +821,6 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc } } /** - * - * *
      * Inline source used for taxonomies import
      * 
@@ -927,32 +828,26 @@ 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()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + 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); } @@ -962,13 +857,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(); } @@ -977,27 +871,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; @@ -1012,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/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 similarity index 60% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java index 4eaad6dd63b4..200133affa49 100644 --- a/java-datacatalog/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 @@ -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/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 newly created 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 newly created 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 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
    * 
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 37e07a0fcdd9..8123596e13dc 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,51 +11,47 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Taxonomies that were imported.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTaxonomi return taxonomies_; } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Taxonomies that were imported.
    * 
@@ -133,12 +104,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; @@ -150,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 < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -164,7 +136,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; @@ -174,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.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; } @@ -204,104 +177,96 @@ 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].
@@ -309,32 +274,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();
@@ -349,14 +315,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();
     }
 
@@ -371,8 +336,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -391,39 +355,38 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -431,9 +394,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()) {
@@ -452,10 +413,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_);
           }
@@ -487,26 +447,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) {
@@ -516,29 +475,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.
      * 
@@ -553,8 +504,6 @@ public java.util.List getTaxonomi } } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -569,8 +518,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -585,15 +532,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(); @@ -607,8 +553,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -627,8 +571,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -649,15 +591,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(); @@ -671,8 +612,6 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -691,8 +630,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -711,8 +648,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -723,7 +658,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); @@ -731,8 +667,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -750,8 +684,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -769,20 +701,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.
      * 
@@ -792,22 +721,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 { @@ -815,8 +741,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** - * - * *
      * Taxonomies that were imported.
      * 
@@ -824,55 +748,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); } @@ -882,13 +800,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(); } @@ -897,27 +814,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; @@ -932,4 +849,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 ed6a3d04540c..f5992dc8a1d0 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,146 +1,106 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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( @@ -149,7 +109,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,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 { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -175,7 +135,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; @@ -185,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -215,135 +176,129 @@ 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(); @@ -358,9 +313,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 @@ -379,8 +334,7 @@ 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); int from_bitField0_ = bitField0_; if (taxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -399,39 +353,38 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -439,8 +392,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()) { @@ -459,10 +411,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_); } @@ -494,27 +445,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) { @@ -524,40 +473,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 { @@ -565,15 +502,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) { @@ -583,15 +516,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) { @@ -601,15 +530,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) { @@ -626,19 +551,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()); @@ -649,15 +569,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) { @@ -673,15 +589,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) { @@ -698,15 +610,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) { @@ -720,19 +628,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()); @@ -743,22 +646,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); @@ -766,15 +665,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) { @@ -787,15 +682,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) { @@ -808,53 +699,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 { @@ -862,72 +739,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); } @@ -937,12 +798,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(); } @@ -951,27 +812,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; @@ -986,4 +847,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 57a566458409..8dc9614caba2 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,45 +27,39 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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:
    * * 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 @@ -92,33 +68,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, which can
    * be provided in URL format. Example:
    * * 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 { @@ -129,15 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -148,15 +119,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -165,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; } } /** - * - * *
    * 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 { @@ -199,8 +167,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.
@@ -209,7 +175,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 +182,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -227,7 +190,6 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ @java.lang.Override @@ -235,8 +197,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.
@@ -252,7 +212,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -264,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_);
     }
@@ -290,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;
@@ -306,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.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;
@@ -348,104 +313,96 @@ 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].
@@ -453,32 +410,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();
@@ -498,9 +456,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
@@ -519,8 +477,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest result = new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,39 +494,38 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -577,8 +533,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_;
         onChanged();
@@ -619,37 +574,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getReadMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -662,24 +614,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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; @@ -688,25 +636,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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 { @@ -714,89 +659,73 @@ 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:
      * * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -804,38 +733,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -843,21 +766,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; @@ -866,22 +787,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 { @@ -889,64 +809,57 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -954,13 +867,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.
@@ -969,15 +877,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 readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -986,7 +891,6 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; - * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -997,8 +901,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1022,8 +924,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.
@@ -1033,7 +933,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();
         onChanged();
@@ -1044,8 +945,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.
@@ -1059,7 +958,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
         if (readMask_ != null) {
           readMask_ =
-              com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
         } else {
           readMask_ = value;
         }
@@ -1071,8 +970,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.
@@ -1094,8 +991,6 @@ public Builder clearReadMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1106,13 +1001,11 @@ public Builder clearReadMask() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
-
+      
       onChanged();
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1126,12 +1019,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.
@@ -1142,24 +1034,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);
     }
 
@@ -1169,12 +1058,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();
   }
@@ -1183,27 +1072,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;
@@ -1218,4 +1107,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 a97b5cf31ec6..1f59f81b04d3 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,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/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:
    * * 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:
    * * 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.
@@ -108,13 +73,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.
@@ -123,13 +85,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 5a974020c861..c562cd67e188 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Entry details.
    * 
@@ -85,8 +64,6 @@ public java.util.List getEntriesList return entries_; } /** - * - * *
    * Entry details.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Entry details.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Entry details.
    * 
@@ -134,22 +105,20 @@ 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; 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 +127,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 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,28 +546,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.
      * 
@@ -624,8 +575,6 @@ public java.util.List getEntriesList } } /** - * - * *
      * Entry details.
      * 
@@ -640,8 +589,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Entry details.
      * 
@@ -656,15 +603,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(); @@ -678,8 +624,6 @@ public Builder setEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry return this; } /** - * - * *
      * Entry details.
      * 
@@ -698,8 +642,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -720,15 +662,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(); @@ -742,15 +683,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()); @@ -761,8 +701,6 @@ public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry.Builder bui return this; } /** - * - * *
      * Entry details.
      * 
@@ -781,8 +719,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -793,7 +729,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); @@ -801,8 +738,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Entry details.
      * 
@@ -820,8 +755,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Entry details.
      * 
@@ -839,44 +772,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 { @@ -884,8 +812,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(i } } /** - * - * *
      * Entry details.
      * 
@@ -893,48 +819,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_; @@ -942,21 +862,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; @@ -965,22 +883,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 { @@ -988,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1062,12 +972,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(); } @@ -1076,27 +986,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; @@ -1111,4 +1021,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 67% 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 cd92dc6b5d76..2881133d07ef 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,45 +27,39 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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:
    * * 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 @@ -92,33 +68,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, 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 { @@ -129,15 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -148,15 +119,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -165,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; } } /** - * - * *
    * 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 { @@ -197,7 +165,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,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_); } @@ -232,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_); @@ -245,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.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; } @@ -279,104 +250,96 @@ 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].
@@ -384,32 +347,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();
@@ -423,9 +387,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
@@ -444,8 +408,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest result = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -457,39 +420,38 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -497,8 +459,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_;
         onChanged();
@@ -536,31 +497,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -573,24 +530,20 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * 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; @@ -599,25 +552,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * 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 { @@ -625,89 +575,73 @@ 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:
      * * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -715,38 +649,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -754,21 +682,19 @@ 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; @@ -777,22 +703,21 @@ 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 { @@ -800,71 +725,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - 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 +792,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(); } @@ -888,27 +806,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; @@ -923,4 +841,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 60% 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 01f2caf547cb..88eae942154d 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,99 +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/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:
    * * 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:
    * * 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/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 de05d1dccb48..066a3d3c2bc4 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List entryGroups_;
   /**
-   *
-   *
    * 
    * EntryGroup details.
    * 
@@ -85,8 +64,6 @@ public java.util.List getEntryG return entryGroups_; } /** - * - * *
    * EntryGroup details.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** - * - * *
    * EntryGroup details.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) return entryGroups_.get(index); } /** - * - * *
    * EntryGroup details.
    * 
@@ -142,15 +113,12 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -159,30 +127,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 { @@ -191,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -220,7 +188,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_); @@ -233,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -266,104 +236,96 @@ 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].
@@ -371,32 +333,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();
@@ -413,14 +376,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();
     }
 
@@ -435,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -456,39 +417,38 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -496,9 +456,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()) {
@@ -517,10 +475,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_);
           }
@@ -556,33 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,29 +546,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.
      * 
@@ -629,8 +575,6 @@ public java.util.List getEntryG } } /** - * - * *
      * EntryGroup details.
      * 
@@ -645,8 +589,6 @@ public int getEntryGroupsCount() { } } /** - * - * *
      * EntryGroup details.
      * 
@@ -661,8 +603,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) } } /** - * - * *
      * EntryGroup details.
      * 
@@ -684,8 +624,6 @@ public Builder setEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -704,8 +642,6 @@ public Builder setEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -726,8 +662,6 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1beta1.EntryGroup va return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -749,8 +683,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -769,8 +701,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -789,8 +719,6 @@ public Builder addEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -801,7 +729,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); @@ -809,8 +738,6 @@ public Builder addAllEntryGroups( return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -828,8 +755,6 @@ public Builder clearEntryGroups() { return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -847,8 +772,6 @@ public Builder removeEntryGroups(int index) { return this; } /** - * - * *
      * EntryGroup details.
      * 
@@ -860,8 +783,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBui return getEntryGroupsFieldBuilder().getBuilder(index); } /** - * - * *
      * EntryGroup details.
      * 
@@ -871,22 +792,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 { @@ -894,8 +812,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr } } /** - * - * *
      * EntryGroup details.
      * 
@@ -903,12 +819,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.
      * 
@@ -917,35 +831,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_; @@ -953,21 +862,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; @@ -976,22 +883,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 { @@ -999,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1073,13 +972,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(); } @@ -1088,27 +986,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; @@ -1123,4 +1021,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 27e0c213ff71..91d0dd29bbb5 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,43 +27,37 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,31 +66,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 { @@ -125,15 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -144,15 +115,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -161,30 +129,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 { @@ -193,7 +161,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -228,7 +196,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_); @@ -241,17 +210,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; } @@ -275,104 +246,96 @@ 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].
@@ -380,32 +343,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();
@@ -419,9 +383,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
@@ -440,8 +404,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest result = new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -453,39 +416,38 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -493,8 +455,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_;
         onChanged();
@@ -532,31 +493,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -569,22 +526,18 @@ public Builder mergeFrom(
 
     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; @@ -593,23 +546,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 { @@ -617,83 +567,67 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -701,38 +635,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -740,21 +668,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; @@ -763,22 +689,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 { @@ -786,71 +711,64 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +778,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(); } @@ -874,27 +792,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; @@ -909,4 +827,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 8d78a30dff3e..579c51d681dd 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List policyTags_;
   /**
-   *
-   *
    * 
    * The policy tags that are in the requested taxonomy.
    * 
@@ -85,8 +64,6 @@ public java.util.List getPolicyT return policyTags_; } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** - * - * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,29 +546,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.
      * 
@@ -625,8 +575,6 @@ public java.util.List getPolicyT } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -641,8 +589,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -657,15 +603,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(); @@ -679,8 +624,6 @@ public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.Pol return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -699,8 +642,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -721,15 +662,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(); @@ -743,8 +683,6 @@ public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1beta1.Pol return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -763,8 +701,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -783,8 +719,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -795,7 +729,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); @@ -803,8 +738,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -822,8 +755,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -841,20 +772,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.
      * 
@@ -864,22 +792,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 { @@ -887,8 +812,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBu } } /** - * - * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -896,48 +819,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_; @@ -945,21 +862,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; @@ -968,22 +883,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 { @@ -991,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +972,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(); } @@ -1079,27 +986,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; @@ -1114,4 +1021,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 68% 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 9715bfaf6dbe..798ed7896390 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,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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
@@ -83,10 +62,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 @@ -95,15 +71,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. The resource
    * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
@@ -113,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 { @@ -135,14 +109,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -153,15 +124,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -170,30 +138,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 { @@ -202,7 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -237,7 +205,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_); @@ -250,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -284,103 +255,96 @@ 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].
@@ -388,32 +352,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();
@@ -427,9 +392,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
@@ -448,8 +413,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ListTagsRequest result = new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -461,39 +425,38 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -501,8 +464,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_;
         onChanged();
@@ -540,31 +502,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -577,8 +535,6 @@ public Builder mergeFrom(
 
     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
@@ -588,16 +544,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; @@ -606,8 +560,6 @@ 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
@@ -617,17 +569,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 { @@ -635,8 +586,6 @@ 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
@@ -646,25 +595,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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
@@ -674,21 +619,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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
@@ -698,34 +638,29 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -733,36 +668,30 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -770,21 +699,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; @@ -793,22 +720,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 { @@ -816,71 +742,64 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -890,12 +809,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(); } @@ -904,27 +823,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; @@ -939,4 +858,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 64% 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 7811fa20e9dd..25fe19a4ca50 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,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 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
@@ -35,16 +17,11 @@ 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
@@ -54,51 +31,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 d1bb585fa176..6f4a5c7a34e4 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List tags_;
   /**
-   *
-   *
    * 
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -85,8 +64,6 @@ public java.util.List getTagsList() { return tags_; } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -134,22 +105,20 @@ 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; 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 +127,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 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,28 +546,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.
      * 
@@ -624,8 +575,6 @@ public java.util.List getTagsList() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -640,8 +589,6 @@ public int getTagsCount() { } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -656,15 +603,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(); @@ -678,8 +624,6 @@ public Builder setTags(int index, com.google.cloud.datacatalog.v1beta1.Tag value return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -698,8 +642,6 @@ public Builder setTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -720,15 +662,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(); @@ -742,15 +683,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()); @@ -761,8 +701,6 @@ public Builder addTags(com.google.cloud.datacatalog.v1beta1.Tag.Builder builderF return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -781,8 +719,6 @@ public Builder addTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -793,7 +729,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); @@ -801,8 +738,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -820,8 +755,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -839,44 +772,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 { @@ -884,8 +812,6 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder(int in } } /** - * - * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -893,47 +819,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_; @@ -941,21 +862,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; @@ -964,22 +883,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 { @@ -987,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1061,12 +972,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(); } @@ -1075,27 +986,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; @@ -1110,4 +1021,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 67% 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 24e0e45a06b4..1569cd855862 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,16 +11,15 @@
  *
  * 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_ = "";
@@ -45,43 +27,37 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,31 +66,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 { @@ -125,15 +99,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -144,15 +115,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -161,30 +129,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 { @@ -193,7 +161,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -228,7 +196,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_); @@ -241,17 +210,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,104 +246,96 @@ 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].
@@ -380,32 +343,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();
@@ -419,9 +383,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
@@ -440,8 +404,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest result = new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -453,39 +416,38 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -493,8 +455,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_;
         onChanged();
@@ -532,31 +493,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -569,22 +526,18 @@ public Builder mergeFrom(
 
     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; @@ -593,23 +546,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 { @@ -617,83 +567,67 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -701,38 +635,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -740,21 +668,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; @@ -763,22 +689,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 { @@ -786,71 +711,64 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +778,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(); } @@ -874,27 +792,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; @@ -909,4 +827,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 55% 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..e5b5ca8ca5d4 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,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 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(); } 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 65a266f07ae2..2c01424a9cb9 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,35 +27,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List taxonomies_;
   /**
-   *
-   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -85,8 +64,6 @@ public java.util.List getTaxonomi return taxonomies_; } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** - * - * *
    * Taxonomies that the project contains.
    * 
@@ -134,22 +105,20 @@ 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; 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 @@ -158,30 +127,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 { @@ -190,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -219,7 +188,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_); @@ -232,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -265,104 +236,96 @@ 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].
@@ -370,32 +333,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();
@@ -412,9 +376,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
@@ -433,8 +397,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -454,39 +417,38 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -494,8 +456,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()) {
@@ -514,10 +475,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_);
           }
@@ -553,32 +513,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,29 +546,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.
      * 
@@ -625,8 +575,6 @@ public java.util.List getTaxonomi } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -641,8 +589,6 @@ public int getTaxonomiesCount() { } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -657,15 +603,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(); @@ -679,8 +624,6 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -699,8 +642,6 @@ public Builder setTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -721,15 +662,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(); @@ -743,8 +683,6 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1beta1.Tax return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -763,8 +701,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -783,8 +719,6 @@ public Builder addTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -795,7 +729,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); @@ -803,8 +738,6 @@ public Builder addAllTaxonomies( return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -822,8 +755,6 @@ public Builder clearTaxonomies() { return this; } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -841,20 +772,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.
      * 
@@ -864,22 +792,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 { @@ -887,8 +812,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** - * - * *
      * Taxonomies that the project contains.
      * 
@@ -896,48 +819,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_; @@ -945,21 +862,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; @@ -968,22 +883,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 { @@ -991,71 +905,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +972,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(); } @@ -1079,27 +986,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; @@ -1114,4 +1021,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 73% 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 2ebb3f95320b..ffbd6cda5d4d 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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -93,30 +72,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:
@@ -128,15 +102,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:
@@ -148,7 +119,6 @@ public boolean hasLinkedResource() {
    * 
* * string linked_resource = 1; - * * @return The linkedResource. */ public java.lang.String getLinkedResource() { @@ -159,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; @@ -168,8 +139,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -181,17 +150,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; } @@ -203,8 +173,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.
    * Examples:
@@ -218,15 +186,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.
    * Examples:
@@ -240,7 +205,6 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; - * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -251,7 +215,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; @@ -260,8 +225,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
@@ -275,17 +238,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; } @@ -296,7 +260,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,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 (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -338,21 +302,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: @@ -386,104 +351,96 @@ 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].
@@ -491,32 +448,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();
@@ -526,9 +484,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
@@ -547,8 +505,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result = new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(this);
       if (targetNameCase_ == 1) {
         result.targetName_ = targetName_;
       }
@@ -564,39 +521,38 @@ public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -604,27 +560,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();
@@ -652,27 +604,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) {
@@ -682,12 +631,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() {
@@ -697,9 +646,8 @@ public Builder clearTargetName() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -711,7 +659,6 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; - * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -719,8 +666,6 @@ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -732,7 +677,6 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; - * * @return The linkedResource. */ @java.lang.Override @@ -742,7 +686,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; @@ -753,8 +698,6 @@ public java.lang.String getLinkedResource() { } } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -766,18 +709,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; } @@ -787,8 +731,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -800,22 +742,20 @@ 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) { + public Builder setLinkedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 1; + 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:
@@ -827,7 +767,6 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 1; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -839,8 +778,6 @@ public Builder clearLinkedResource() { return this; } /** - * - * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -852,15 +789,15 @@ 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) { + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; onChanged(); @@ -868,8 +805,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -883,7 +818,6 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string sql_resource = 3; - * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -891,8 +825,6 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -906,7 +838,6 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; - * * @return The sqlResource. */ @java.lang.Override @@ -916,7 +847,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; @@ -927,8 +859,6 @@ public java.lang.String getSqlResource() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -942,18 +872,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; } @@ -963,8 +894,6 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { } } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -978,22 +907,20 @@ 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) { + public Builder setSqlResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 3; + throw new NullPointerException(); + } + targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1007,7 +934,6 @@ public Builder setSqlResource(java.lang.String value) {
      * 
* * string sql_resource = 3; - * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -1019,8 +945,6 @@ public Builder clearSqlResource() { return this; } /** - * - * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1034,23 +958,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) { + public Builder setSqlResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -1060,12 +984,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(); } @@ -1074,27 +998,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; @@ -1109,4 +1033,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 82% 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 857bc998e0f7..a47d266afa11 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:
@@ -37,13 +19,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:
@@ -55,13 +34,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:
@@ -73,14 +49,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.
    * Examples:
@@ -94,13 +68,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.
    * Examples:
@@ -114,13 +85,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.
    * Examples:
@@ -134,10 +102,10 @@ public interface LookupEntryRequestOrBuilder
    * 
* * string sql_resource = 3; - * * @return The bytes for sqlResource. */ - com.google.protobuf.ByteString getSqlResourceBytes(); + com.google.protobuf.ByteString + getSqlResourceBytes(); public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest.TargetNameCase getTargetNameCase(); } 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 75% 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 6fa7ef250b1b..e30b37bdee9b 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,16 +13,15 @@
  *
  * 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_ = "";
@@ -50,42 +32,38 @@ private PolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PolicyTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -94,30 +72,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 { @@ -128,8 +106,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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
@@ -138,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -147,15 +122,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. It must: be unique within the parent
    * taxonomy; contain only unicode letters, numbers, underscores, dashes and
@@ -164,15 +138,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 { @@ -183,8 +158,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -193,7 +166,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -202,15 +174,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
@@ -219,15 +190,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,8 +210,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; 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
@@ -250,7 +220,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string parent_policy_tag = 4; - * * @return The parentPolicyTag. */ @java.lang.Override @@ -259,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
@@ -278,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 { @@ -297,45 +266,34 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList 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 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. */ @@ -343,24 +301,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; @@ -372,7 +326,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -425,19 +380,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; } @@ -466,104 +425,97 @@ 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:
@@ -573,32 +525,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();
@@ -616,9 +569,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_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
@@ -637,8 +590,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.PolicyTag result = new com.google.cloud.datacatalog.v1beta1.PolicyTag(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -657,39 +609,38 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -750,44 +701,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                parentPolicyTag_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              parentPolicyTag_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -797,26 +742,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; @@ -825,22 +767,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 { @@ -848,64 +789,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -913,8 +847,6 @@ 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
@@ -923,13 +855,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; @@ -938,8 +870,6 @@ 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
@@ -948,14 +878,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 { @@ -963,8 +894,6 @@ 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
@@ -973,22 +902,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -997,18 +924,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1017,16 +941,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1034,8 +958,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
@@ -1044,13 +966,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; @@ -1059,8 +981,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
@@ -1069,14 +989,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 { @@ -1084,8 +1005,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
@@ -1094,22 +1013,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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
@@ -1118,18 +1035,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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
@@ -1138,16 +1052,16 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1155,8 +1069,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
@@ -1167,13 +1079,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; @@ -1182,8 +1094,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
@@ -1194,14 +1104,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 { @@ -1209,8 +1120,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
@@ -1221,22 +1130,20 @@ 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) { + public Builder setParentPolicyTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentPolicyTag_ = value; 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
@@ -1247,18 +1154,15 @@ public Builder setParentPolicyTag(java.lang.String value) {
      * 
* * string parent_policy_tag = 4; - * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { - + parentPolicyTag_ = getDefaultInstance().getParentPolicyTag(); 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
@@ -1269,70 +1173,57 @@ 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) { + public Builder setParentPolicyTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentPolicyTag_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList childPolicyTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1340,95 +1231,80 @@ 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) { + public Builder setChildPolicyTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); 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 childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags(java.lang.String value) { + public Builder addChildPolicyTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); 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 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_); 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() { @@ -1438,31 +1314,28 @@ public Builder clearChildPolicyTags() { 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) { + public Builder addChildPolicyTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.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); } @@ -1472,12 +1345,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(); } @@ -1486,27 +1359,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; @@ -1521,4 +1394,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..4ea4d43a399e --- /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,357 @@ +// 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\"\343\002\n\010Taxonomy\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + + "\030\n\013description\030\003 \001(\tB\003\340A\001\022Z\n\026activated_p" + + "olicy_types\030\006 \003(\01625.google.cloud.datacat" + + "alog.v1beta1.Taxonomy.PolicyTypeB\003\340A\001\"J\n" + + "\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFIED\020\000" + + "\022\037\n\033FINE_GRAINED_ACCESS_CONTROL\020\001:g\352Ad\n#" + + "datacatalog.googleapis.com/Taxonomy\022=pro" + + "jects/{project}/locations/{location}/tax" + + "onomies/{taxonomy}\"\214\002\n\tPolicyTag\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023" + + "\n\013description\030\003 \001(\t\022\031\n\021parent_policy_tag" + + "\030\004 \001(\t\022\036\n\021child_policy_tags\030\005 \003(\tB\003\340A\003:\200" + + "\001\352A}\n$datacatalog.googleapis.com/PolicyT" + + "ag\022Uprojects/{project}/locations/{locati" + + "on}/taxonomies/{taxonomy}/policyTags/{po" + + "licy_tag}\"\222\001\n\025CreateTaxonomyRequest\022;\n\006p" + + "arent\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googlea" + + "pis.com/Taxonomy\022<\n\010taxonomy\030\002 \001(\0132*.goo" + + "gle.cloud.datacatalog.v1beta1.Taxonomy\"R" + + "\n\025DeleteTaxonomyRequest\0229\n\004name\030\001 \001(\tB+\340" + + "A\002\372A%\n#datacatalog.googleapis.com/Taxono" + + "my\"\206\001\n\025UpdateTaxonomyRequest\022<\n\010taxonomy" + + "\030\001 \001(\0132*.google.cloud.datacatalog.v1beta" + + "1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\"{\n\025ListTaxonomiesReq" + + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" + + "g.googleapis.com/Taxonomy\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\026ListTaxonomi" + + "esResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google." + + "cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"O\n\022GetTaxonomyReques" + + "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" + + "gleapis.com/Taxonomy\"\227\001\n\026CreatePolicyTag" + + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacat" + + "alog.googleapis.com/PolicyTag\022?\n\npolicy_" + + "tag\030\002 \001(\0132+.google.cloud.datacatalog.v1b" + + "eta1.PolicyTag\"T\n\026DeletePolicyTagRequest" + + "\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.goog" + + "leapis.com/PolicyTag\"\212\001\n\026UpdatePolicyTag" + + "Request\022?\n\npolicy_tag\030\001 \001(\0132+.google.clo" + + "ud.datacatalog.v1beta1.PolicyTag\022/\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "k\"|\n\025ListPolicyTagsRequest\022<\n\006parent\030\001 \001" + + "(\tB,\340A\002\372A&\022$datacatalog.googleapis.com/P" + + "olicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@\n\013pol" + + "icy_tags\030\001 \003(\0132+.google.cloud.datacatalo" + + "g.v1beta1.PolicyTag\022\027\n\017next_page_token\030\002" + + " \001(\t\"Q\n\023GetPolicyTagRequest\022:\n\004name\030\001 \001(" + + "\tB,\340A\002\372A&\n$datacatalog.googleapis.com/Po" + + "licyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016CreateT" + + "axonomy\0227.google.cloud.datacatalog.v1bet" + + "a1.CreateTaxonomyRequest\032*.google.cloud." + + "datacatalog.v1beta1.Taxonomy\"W\202\323\344\223\002?\"3/v" + + "1beta1/{parent=projects/*/locations/*}/t" + + "axonomies:\010taxonomy\332A\017parent,taxonomy\022\245\001" + + "\n\016DeleteTaxonomy\0227.google.cloud.datacata" + + "log.v1beta1.DeleteTaxonomyRequest\032\026.goog" + + "le.protobuf.Empty\"B\202\323\344\223\0025*3/v1beta1/{nam" + + "e=projects/*/locations/*/taxonomies/*}\332A" + + "\004name\022\320\001\n\016UpdateTaxonomy\0227.google.cloud." + + "datacatalog.v1beta1.UpdateTaxonomyReques" + + "t\032*.google.cloud.datacatalog.v1beta1.Tax" + + "onomy\"Y\202\323\344\223\002H2\n\ntaxonomies\030\001 \003(\013" + + "2*.google.cloud.datacatalog.v1beta1.Taxo" + + "nomy\"\307\001\n\027ExportTaxonomiesRequest\022;\n\006pare" + + "nt\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googleapis" + + ".com/Taxonomy\022?\n\ntaxonomies\030\002 \003(\tB+\340A\002\372A" + + "%\n#datacatalog.googleapis.com/Taxonomy\022\037" + + "\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013desti" + + "nation\"d\n\030ExportTaxonomiesResponse\022H\n\nta" + + "xonomies\030\001 \003(\01324.google.cloud.datacatalo" + + "g.v1beta1.SerializedTaxonomy2\222\004\n\035PolicyT" + + "agManagerSerialization\022\320\001\n\020ImportTaxonom" + + "ies\0229.google.cloud.datacatalog.v1beta1.I" + + "mportTaxonomiesRequest\032:.google.cloud.da" + + "tacatalog.v1beta1.ImportTaxonomiesRespon" + + "se\"E\202\323\344\223\002?\":/v1beta1/{parent=projects/*/" + + "locations/*}/taxonomies:import:\001*\022\315\001\n\020Ex" + + "portTaxonomies\0229.google.cloud.datacatalo" + + "g.v1beta1.ExportTaxonomiesRequest\032:.goog" + + "le.cloud.datacatalog.v1beta1.ExportTaxon" + + "omiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{parent=" + + "projects/*/locations/*}/taxonomies:expor" + + "t\032N\312A\032datacatalog.googleapis.com\322A.https" + + "://www.googleapis.com/auth/cloud-platfor" + + "mB\210\002\n$com.google.cloud.datacatalog.v1bet" + + "a1B\"PolicyTagManagerSerializationProtoP\001" + + "ZKgoogle.golang.org/genproto/googleapis/" + + "cloud/datacatalog/v1beta1;datacatalog\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.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/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 78% 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..9c371a8aa358 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,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -61,13 +38,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. It must: be unique within the parent
    * taxonomy; contain only unicode letters, numbers, underscores, dashes and
@@ -76,14 +50,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. 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/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 63% 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 236b551f22a4..b16b0ec33700 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,44 +27,38 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,32 +67,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 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 { @@ -127,14 +101,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; 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 @@ -143,29 +114,29 @@ 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 { @@ -174,7 +145,6 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -216,16 +187,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; } @@ -247,105 +219,96 @@ 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].
@@ -353,33 +316,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 +354,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,8 +375,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.newTagTemplateFieldId_ = newTagTemplateFieldId_;
       onBuilt();
@@ -426,51 +386,46 @@ public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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_;
         onChanged();
@@ -505,25 +460,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                newTagTemplateFieldId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              newTagTemplateFieldId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -536,23 +488,19 @@ public Builder mergeFrom(
 
     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; @@ -561,24 +509,21 @@ 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 { @@ -586,70 +531,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -657,20 +589,18 @@ 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; @@ -679,21 +609,20 @@ 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 { @@ -701,68 +630,61 @@ 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) { + public Builder setNewTagTemplateFieldId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newTagTemplateFieldId_ = value; 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() { - + newTagTemplateFieldId_ = getDefaultInstance().getNewTagTemplateFieldId(); 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]; - * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { + public Builder setNewTagTemplateFieldIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newTagTemplateFieldId_ = 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); } @@ -772,43 +694,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; @@ -820,8 +740,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 56% 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 97add7ba07e4..4fffde94e791 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,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/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/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 63% 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 d37f1e9221d5..0f949f4f28b8 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,158 +1,119 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; @@ -164,7 +125,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } @@ -178,7 +140,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; @@ -188,15 +151,15 @@ public int getSerializedSize() { @java.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; } @@ -217,136 +180,130 @@ 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(); @@ -361,9 +318,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 @@ -382,8 +339,7 @@ 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); int from_bitField0_ = bitField0_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -402,39 +358,38 @@ public com.google.cloud.datacatalog.v1beta1.Schema buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -461,10 +416,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_); } @@ -496,27 +450,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) { @@ -526,37 +478,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.
      * 
* - * - * 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) { @@ -566,16 +508,12 @@ 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) { @@ -585,16 +523,12 @@ 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) { @@ -604,18 +538,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.
      * 
* - * - * 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(); @@ -629,16 +560,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.
      * 
* - * - * 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) { @@ -652,16 +579,12 @@ 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) { @@ -677,18 +600,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.
      * 
* - * - * 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(); @@ -702,16 +622,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.
      * 
* - * - * 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) { @@ -725,16 +641,12 @@ 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) { @@ -748,22 +660,19 @@ 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); @@ -771,16 +680,12 @@ 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) { @@ -793,16 +698,12 @@ 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) { @@ -815,54 +716,42 @@ 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 { @@ -870,74 +759,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.
      * 
* - * - * 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); } @@ -947,12 +821,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(); } @@ -961,27 +835,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; @@ -996,4 +870,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..abdad69a2e44 --- /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..3a0c56e2cfe1 --- /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\"N\n\006Sc" + + "hema\022D\n\007columns\030\002 \003(\0132..google.cloud.dat" + + "acatalog.v1beta1.ColumnSchemaB\003\340A\002\"\254\001\n\014C" + + "olumnSchema\022\023\n\006column\030\006 \001(\tB\003\340A\002\022\021\n\004type" + + "\030\001 \001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\021\n" + + "\004mode\030\003 \001(\tB\003\340A\001\022G\n\nsubcolumns\030\007 \003(\0132..g" + + "oogle.cloud.datacatalog.v1beta1.ColumnSc" + + "hemaB\003\340A\001B\344\001\n$com.google.cloud.datacatal" + + "og.v1beta1P\001ZKgoogle.golang.org/genproto" + + "/googleapis/cloud/datacatalog/v1beta1;da" + + "tacatalog\370\001\001\252\002 Google.Cloud.DataCatalog." + + "V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1bet" + + "a1\352\002#Google::Cloud::DataCatalog::V1beta1" + + "b\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..4da3372ddd8b --- /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,64 @@ +// 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\344\001\n$com.google.cl" + + "oud.datacatalog.v1beta1P\001ZKgoogle.golang" + + ".org/genproto/googleapis/cloud/datacatal" + + "og/v1beta1;datacatalog\370\001\001\252\002 Google.Cloud" + + ".DataCatalog.V1Beta1\312\002 Google\\Cloud\\Data" + + "Catalog\\V1beta1\352\002#Google::Cloud::DataCat" + + "alog::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/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 74% 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 17e79124f736..5e8fa3d3d535 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,38 +28,34 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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
@@ -85,13 +63,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
@@ -99,13 +75,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
@@ -113,14 +86,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
@@ -128,15 +98,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
@@ -144,13 +112,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
@@ -158,13 +124,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
@@ -172,14 +135,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
@@ -187,15 +147,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 Platform (GCP) public datasets in the
      * search results. Info on GCP public datasets is available at
@@ -204,30 +162,26 @@ public interface ScopeOrBuilder
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); } /** - * - * *
    * 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.EMPTY; includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -235,35 +189,32 @@ private Scope() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Scope(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private com.google.protobuf.LazyStringList includeOrgIds_; /** - * - * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -271,15 +222,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
@@ -287,15 +236,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
@@ -303,7 +249,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. */ @@ -311,8 +256,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
@@ -320,19 +263,17 @@ 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; private com.google.protobuf.LazyStringList includeProjectIds_; /** - * - * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -340,15 +281,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
@@ -356,15 +295,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
@@ -372,7 +308,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. */ @@ -380,8 +315,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
@@ -389,19 +322,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_; /** - * - * *
      * If `true`, include Google Cloud Platform (GCP) public datasets in the
      * search results. Info on GCP public datasets is available at
@@ -410,7 +341,6 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) {
      * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -419,7 +349,6 @@ public boolean getIncludeGcpPublicDatasets() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -431,7 +360,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -467,7 +397,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_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -477,17 +408,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -508,102 +441,95 @@ 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()); 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 @@ -613,42 +539,39 @@ 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(); @@ -662,14 +585,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_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(); } @@ -684,8 +606,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = includeOrgIds_.getUnmodifiableView(); @@ -706,52 +627,46 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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_; @@ -801,33 +716,29 @@ 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(); - - 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(); + + 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) { @@ -837,21 +748,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList includeOrgIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncludeOrgIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -859,15 +765,13 @@ 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() { return includeOrgIds_.getUnmodifiableView(); } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -875,15 +779,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
@@ -891,7 +792,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. */ @@ -899,8 +799,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
@@ -908,16 +806,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
@@ -925,23 +821,21 @@ 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) { + public Builder setIncludeOrgIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -949,22 +843,20 @@ 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) { + public Builder addIncludeOrgIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -972,19 +864,18 @@ 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_); onChanged(); return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -992,7 +883,6 @@ public Builder addAllIncludeOrgIds(java.lang.Iterable values)
        * 
* * repeated string include_org_ids = 2; - * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { @@ -1002,8 +892,6 @@ public Builder clearIncludeOrgIds() { return this; } /** - * - * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -1011,33 +899,29 @@ 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) { + public Builder addIncludeOrgIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList includeProjectIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncludeProjectIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1045,15 +929,13 @@ 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() { return includeProjectIds_.getUnmodifiableView(); } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1061,15 +943,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
@@ -1077,7 +956,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. */ @@ -1085,8 +963,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
@@ -1094,16 +970,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
@@ -1111,23 +985,21 @@ 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) { + public Builder setIncludeProjectIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1135,22 +1007,20 @@ 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) { + public Builder addIncludeProjectIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1158,19 +1028,18 @@ 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_); onChanged(); return this; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1178,7 +1047,6 @@ public Builder addAllIncludeProjectIds(java.lang.Iterable valu
        * 
* * repeated string include_project_ids = 3; - * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { @@ -1188,8 +1056,6 @@ public Builder clearIncludeProjectIds() { return this; } /** - * - * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1197,25 +1063,23 @@ 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) { + public Builder addIncludeProjectIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } - private boolean includeGcpPublicDatasets_; + private boolean includeGcpPublicDatasets_ ; /** - * - * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in the
        * search results. Info on GCP public datasets is available at
@@ -1224,7 +1088,6 @@ public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) {
        * 
* * bool include_gcp_public_datasets = 7; - * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1232,8 +1095,6 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** - * - * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in the
        * search results. Info on GCP public datasets is available at
@@ -1242,19 +1103,16 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; - * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ public Builder setIncludeGcpPublicDatasets(boolean value) { - + includeGcpPublicDatasets_ = value; onChanged(); return this; } /** - * - * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in the
        * search results. Info on GCP public datasets is available at
@@ -1263,16 +1121,14 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; - * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { - + includeGcpPublicDatasets_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1285,44 +1141,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; @@ -1334,17 +1187,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
@@ -1352,10 +1203,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 @@ -1363,8 +1211,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
@@ -1372,21 +1218,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
@@ -1394,21 +1233,16 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { return getScope(); } public static final int QUERY_FIELD_NUMBER = 1; 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:
@@ -1422,7 +1256,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -1431,15 +1264,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; } } /** - * - * *
    * 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:
@@ -1453,15 +1285,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1472,15 +1305,12 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -1491,8 +1321,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -1503,7 +1331,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -1512,15 +1339,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 returned in an earlier
    * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
@@ -1531,15 +1357,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 { @@ -1550,8 +1377,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -1562,7 +1387,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -1571,15 +1395,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:
@@ -1590,15 +1413,16 @@ 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 { @@ -1607,7 +1431,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1619,7 +1442,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1648,7 +1472,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_); @@ -1657,7 +1482,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; @@ -1667,22 +1493,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; } @@ -1712,104 +1542,96 @@ 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].
@@ -1817,32 +1639,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();
@@ -1864,9 +1687,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
@@ -1885,8 +1708,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(this);
       if (scopeBuilder_ == null) {
         result.scope_ = scope_;
       } else {
@@ -1904,39 +1726,38 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1944,8 +1765,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());
       }
@@ -1990,43 +1810,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                query_ = input.readStringRequireUtf8();
+            case 10: {
+              query_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 42:
-              {
-                orderBy_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 42: {
+              orderBy_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getScopeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -2039,13 +1855,8 @@ public Builder mergeFrom(
 
     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
@@ -2053,18 +1864,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 scopeBuilder_ != null || scope_ != null; } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2072,24 +1878,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
@@ -2097,9 +1896,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) { @@ -2115,8 +1912,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
@@ -2124,9 +1919,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) { @@ -2140,8 +1933,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
@@ -2149,18 +1940,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 (scope_ != null) { scope_ = - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.newBuilder(scope_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.newBuilder(scope_).mergeFrom(value).buildPartial(); } else { scope_ = value; } @@ -2172,8 +1958,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
@@ -2181,9 +1965,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() { if (scopeBuilder_ == null) { @@ -2197,8 +1979,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
@@ -2206,19 +1986,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() { + onChanged(); return getScopeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2226,23 +2001,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
@@ -2250,22 +2019,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_; @@ -2273,8 +2037,6 @@ 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:
@@ -2288,13 +2050,13 @@ public Builder clearScope() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2303,8 +2065,6 @@ 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:
@@ -2318,14 +2078,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -2333,8 +2094,6 @@ 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:
@@ -2348,22 +2107,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; 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:
@@ -2377,18 +2134,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); 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:
@@ -2402,32 +2156,29 @@ public Builder clearQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); 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 @@ -2435,38 +2186,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -2474,8 +2219,6 @@ 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
@@ -2486,13 +2229,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; @@ -2501,8 +2244,6 @@ 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
@@ -2513,14 +2254,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 { @@ -2528,8 +2270,6 @@ 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
@@ -2540,22 +2280,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
@@ -2566,18 +2304,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
@@ -2588,16 +2323,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -2605,8 +2340,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:
@@ -2617,13 +2350,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -2632,8 +2365,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2644,14 +2375,15 @@ 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 { @@ -2659,8 +2391,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2671,22 +2401,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2697,18 +2425,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2719,23 +2444,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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2745,12 +2470,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(); } @@ -2759,27 +2484,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; @@ -2794,4 +2519,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 78% 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 6825848c4d0d..eff5428a1b9b 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,15 +39,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]; */ 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:
@@ -89,13 +57,10 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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:
@@ -109,28 +74,23 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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
@@ -141,13 +101,10 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * 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
@@ -158,14 +115,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 ordering of results, currently supported case-sensitive
    * choices are:
@@ -176,13 +131,10 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -193,8 +145,8 @@ public interface SearchCatalogRequestOrBuilder
    * 
* * 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 71% 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 bb0e73f42412..dd4a344da584 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,16 +11,15 @@
  *
  * 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_ = "";
@@ -45,35 +27,32 @@ private SearchCatalogResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List results_;
   /**
-   *
-   *
    * 
    * Search results.
    * 
@@ -85,8 +64,6 @@ public java.util.List return results_; } /** - * - * *
    * Search results.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * Search results.
    * 
@@ -125,8 +98,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i return results_.get(index); } /** - * - * *
    * Search results.
    * 
@@ -142,14 +113,11 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -158,29 +126,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 { @@ -189,7 +157,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -218,7 +186,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -231,16 +200,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,104 +234,96 @@ 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].
@@ -369,32 +331,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();
@@ -411,9 +374,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_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
@@ -432,8 +395,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -453,39 +415,38 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -493,8 +454,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()) {
@@ -513,10 +473,9 @@ 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_);
           }
@@ -552,33 +511,30 @@ 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();
+            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();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -588,38 +544,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 { @@ -627,8 +573,6 @@ private void ensureResultsIsMutable() { } } /** - * - * *
      * Search results.
      * 
@@ -643,8 +587,6 @@ public int getResultsCount() { } } /** - * - * *
      * Search results.
      * 
@@ -659,8 +601,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i } } /** - * - * *
      * Search results.
      * 
@@ -682,8 +622,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -691,8 +629,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()); @@ -703,8 +640,6 @@ public Builder setResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -725,8 +660,6 @@ public Builder addResults(com.google.cloud.datacatalog.v1beta1.SearchCatalogResu return this; } /** - * - * *
      * Search results.
      * 
@@ -748,8 +681,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -768,8 +699,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -777,8 +706,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()); @@ -789,8 +717,6 @@ public Builder addResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -798,11 +724,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); @@ -810,8 +736,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * Search results.
      * 
@@ -829,8 +753,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * Search results.
      * 
@@ -848,8 +770,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * Search results.
      * 
@@ -861,8 +781,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder getResul return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Search results.
      * 
@@ -872,23 +790,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 { @@ -896,8 +810,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu } } /** - * - * *
      * Search results.
      * 
@@ -905,13 +817,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.
      * 
@@ -920,36 +829,30 @@ 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_; @@ -957,20 +860,18 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResul 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; @@ -979,21 +880,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 { @@ -1001,68 +901,61 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +965,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(); } @@ -1086,27 +979,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; @@ -1121,4 +1014,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/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 similarity index 67% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java index a08d16948cdc..3048f22ed39f 100644 --- a/java-datacatalog/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 @@ -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 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.
    * 
@@ -44,8 +25,6 @@ public interface SearchCatalogResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int index); /** - * - * *
    * Search results.
    * 
@@ -54,49 +33,41 @@ public interface SearchCatalogResponseOrBuilder */ 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 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(); } 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 72% 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 cbc7f2bdff5d..8e60b2d92fe1 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,75 +29,61 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * 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() { + @java.lang.Override public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.SearchResultType result = - com.google.cloud.datacatalog.v1beta1.SearchResultType.valueOf(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.valueOf(searchResultType_); + return result == null ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; 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
@@ -124,7 +92,6 @@ public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType
    * 
* * string search_result_subtype = 2; - * * @return The searchResultSubtype. */ @java.lang.Override @@ -133,15 +100,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
@@ -150,15 +116,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 { @@ -169,8 +136,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object relativeResourceName_; /** - * - * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -179,7 +144,6 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() {
    * 
* * string relative_resource_name = 3; - * * @return The relativeResourceName. */ @java.lang.Override @@ -188,15 +152,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 +168,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 { @@ -224,8 +188,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; 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.
@@ -234,7 +196,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() {
    * 
* * string linked_resource = 4; - * * @return The linkedResource. */ @java.lang.Override @@ -243,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.
@@ -260,15 +220,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 { @@ -277,7 +238,6 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,10 +249,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_)) { @@ -313,10 +272,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_); @@ -335,18 +293,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,104 +332,96 @@ 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.
@@ -477,32 +429,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();
@@ -518,9 +471,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
@@ -539,8 +492,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult result = new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(this);
       result.searchResultType_ = searchResultType_;
       result.searchResultSubtype_ = searchResultSubtype_;
       result.relativeResourceName_ = relativeResourceName_;
@@ -553,39 +505,38 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -593,8 +544,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());
       }
@@ -636,37 +586,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                searchResultType_ = input.readEnum();
+            case 8: {
+              searchResultType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                searchResultSubtype_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              searchResultSubtype_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                relativeResourceName_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              relativeResourceName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                linkedResource_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              linkedResource_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -679,98 +624,78 @@ public Builder mergeFrom(
 
     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. */ public Builder setSearchResultTypeValue(int value) { - + searchResultType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.SearchResultType result = - com.google.cloud.datacatalog.v1beta1.SearchResultType.valueOf(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.valueOf(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(); } - + searchResultType_ = value.getNumber(); onChanged(); 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() { - + searchResultType_ = 0; onChanged(); return this; @@ -778,8 +703,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
@@ -788,13 +711,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; @@ -803,8 +726,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
@@ -813,14 +734,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 { @@ -828,8 +750,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
@@ -838,22 +758,20 @@ 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) { + public Builder setSearchResultSubtype( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchResultSubtype_ = value; 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
@@ -862,18 +780,15 @@ public Builder setSearchResultSubtype(java.lang.String value) {
      * 
* * string search_result_subtype = 2; - * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { - + searchResultSubtype_ = getDefaultInstance().getSearchResultSubtype(); 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,16 +797,16 @@ 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) { + public Builder setSearchResultSubtypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchResultSubtype_ = value; onChanged(); return this; @@ -899,8 +814,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:
@@ -909,13 +822,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; @@ -924,8 +837,6 @@ public java.lang.String getRelativeResourceName() { } } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -934,14 +845,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 { @@ -949,8 +861,6 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { } } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -959,22 +869,20 @@ 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) { + public Builder setRelativeResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeResourceName_ = value; onChanged(); return this; } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -983,18 +891,15 @@ public Builder setRelativeResourceName(java.lang.String value) {
      * 
* * string relative_resource_name = 3; - * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { - + relativeResourceName_ = getDefaultInstance().getRelativeResourceName(); onChanged(); return this; } /** - * - * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -1003,16 +908,16 @@ 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) { + public Builder setRelativeResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeResourceName_ = value; onChanged(); return this; @@ -1020,8 +925,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.
@@ -1030,13 +933,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; @@ -1045,8 +948,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.
@@ -1055,14 +956,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 { @@ -1070,8 +972,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.
@@ -1080,22 +980,20 @@ 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) { + public Builder setLinkedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; 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.
@@ -1104,18 +1002,15 @@ public Builder setLinkedResource(java.lang.String value) {
      * 
* * string linked_resource = 4; - * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); 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.
@@ -1124,23 +1019,23 @@ 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) { + public Builder setLinkedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = 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); } @@ -1150,12 +1045,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(); } @@ -1164,27 +1059,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; @@ -1199,4 +1094,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 0c4fdfa48cf2..7b571125391f 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:
@@ -92,13 +63,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:
@@ -107,14 +75,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.
@@ -123,13 +89,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.
@@ -138,8 +101,8 @@ public interface SearchCatalogResultOrBuilder
    * 
* * string linked_resource = 4; - * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString getLinkedResourceBytes(); + com.google.protobuf.ByteString + getLinkedResourceBytes(); } 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 70% 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 8377f758b488..9b52c054b47e 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,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/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() { displayName_ = ""; description_ = ""; @@ -45,41 +27,37 @@ private SerializedPolicyTag() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SerializedPolicyTag(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -88,29 +66,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; } } /** - * - * *
    * 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 { @@ -121,8 +99,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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,
@@ -130,7 +106,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -139,15 +114,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,
@@ -155,15 +129,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 { @@ -174,81 +149,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; 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; @@ -260,7 +218,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } @@ -286,7 +245,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; @@ -296,17 +256,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.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 (!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; } @@ -332,136 +294,129 @@ 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(); @@ -480,9 +435,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 @@ -501,8 +456,7 @@ 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); int from_bitField0_ = bitField0_; result.displayName_ = displayName_; result.description_ = description_; @@ -523,39 +477,38 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -563,8 +516,7 @@ 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.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -591,10 +543,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTa childPolicyTagsBuilder_ = null; childPolicyTags_ = other.childPolicyTags_; bitField0_ = (bitField0_ & ~0x00000001); - childPolicyTagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChildPolicyTagsFieldBuilder() - : null; + childPolicyTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChildPolicyTagsFieldBuilder() : null; } else { childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_); } @@ -626,39 +577,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - displayName_ = input.readStringRequireUtf8(); + case 18: { + displayName_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - description_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + description_ = input.readStringRequireUtf8(); - 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: + 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) { @@ -668,25 +615,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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; @@ -695,21 +639,20 @@ 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 { @@ -717,61 +660,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -779,8 +715,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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,
@@ -788,13 +722,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; @@ -803,8 +737,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,
@@ -812,14 +744,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 { @@ -827,8 +760,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,
@@ -836,22 +767,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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,
@@ -859,18 +788,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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,
@@ -878,51 +804,41 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List - childPolicyTags_ = java.util.Collections.emptyList(); - + private java.util.List childPolicyTags_ = + java.util.Collections.emptyList(); private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - childPolicyTags_ = - new java.util.ArrayList( - childPolicyTags_); + childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -930,14 +846,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) { @@ -947,14 +860,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) { @@ -964,14 +874,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) { @@ -988,18 +895,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()); @@ -1010,17 +913,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(); @@ -1034,14 +933,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) { @@ -1058,14 +954,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) { @@ -1079,18 +972,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()); @@ -1101,21 +990,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); @@ -1123,14 +1009,11 @@ 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) { @@ -1143,14 +1026,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) { @@ -1163,50 +1043,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 { @@ -1214,63 +1083,45 @@ 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1279,9 +1130,9 @@ public Builder removeChildPolicyTags(int index) { } 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); } @@ -1291,12 +1142,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(); } @@ -1305,27 +1156,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; @@ -1340,4 +1191,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 69% 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..8ebc0f1e8891 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,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/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 { /** - * - * *
    * 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,
@@ -58,13 +35,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 +46,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 73% 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 929a17e425c5..10c07e35a474 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,16 +11,15 @@
  *
  * 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_ = "";
@@ -46,41 +28,37 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -89,29 +67,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; } } /** - * - * *
    * 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 { @@ -122,8 +100,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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,
@@ -131,7 +107,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -140,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,
@@ -156,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 { @@ -175,8 +150,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int POLICY_TAGS_FIELD_NUMBER = 3; private java.util.List policyTags_; /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -184,13 +157,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.
    * 
@@ -198,13 +168,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.
    * 
@@ -216,8 +184,6 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** - * - * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -229,8 +195,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,7 +208,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -282,7 +246,8 @@ 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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -292,17 +257,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,104 +295,96 @@ 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.
@@ -433,32 +392,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();
@@ -477,9 +437,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
@@ -498,8 +458,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -520,39 +479,38 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -560,8 +518,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_;
         onChanged();
@@ -588,10 +545,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy
             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_);
           }
@@ -623,39 +579,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
 
-                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:
+              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:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -665,25 +617,22 @@ 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; @@ -692,21 +641,20 @@ 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 { @@ -714,61 +662,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -776,8 +717,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,
@@ -785,13 +724,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; @@ -800,8 +739,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,
@@ -809,14 +746,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 { @@ -824,8 +762,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,
@@ -833,22 +769,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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,
@@ -856,18 +790,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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,
@@ -875,50 +806,41 @@ public Builder clearDescription() {
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } 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.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 { @@ -926,8 +848,6 @@ private void ensurePolicyTagsIsMutable() { } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -942,8 +862,6 @@ public int getPolicyTagsCount() { } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -958,8 +876,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -981,8 +897,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -990,8 +904,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()); @@ -1002,8 +915,6 @@ public Builder setPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1024,8 +935,6 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1beta1.SerializedPoli return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1047,8 +956,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1067,8 +974,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1076,8 +981,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()); @@ -1088,8 +992,6 @@ public Builder addPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1097,11 +999,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); @@ -1109,8 +1011,6 @@ public Builder addAllPolicyTags( return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1128,8 +1028,6 @@ public Builder clearPolicyTags() { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1147,8 +1045,6 @@ public Builder removePolicyTags(int index) { return this; } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1160,8 +1056,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getPolic return getPolicyTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1171,23 +1065,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 { @@ -1195,8 +1085,6 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } } /** - * - * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1204,13 +1092,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.
      * 
@@ -1219,43 +1104,37 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); policyTags_ = null; } return policyTagsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1144,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(); } @@ -1279,27 +1158,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; @@ -1314,4 +1193,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 75% 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..b479c7feddf0 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,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/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,
@@ -58,13 +35,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 +46,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 +69,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 +77,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.
    * 
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 e0dc83149eb3..ca307cc4e84b 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,81 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,14 +62,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 @@ -98,8 +74,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.
    * 
@@ -114,14 +88,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 @@ -129,14 +100,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 @@ -144,8 +112,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.
    * 
@@ -160,16 +126,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 @@ -177,16 +139,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 @@ -194,15 +152,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() { @@ -210,7 +165,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,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 (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -242,13 +197,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; @@ -258,25 +216,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; @@ -307,136 +267,129 @@ 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(); @@ -462,9 +415,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 @@ -483,8 +436,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps result = new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -508,39 +460,38 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -548,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()); } @@ -585,31 +535,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -622,47 +574,34 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -683,15 +622,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(); onChanged(); @@ -702,8 +640,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -714,7 +650,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -726,8 +662,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -746,8 +680,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -755,13 +687,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the resource within the given system.
      * 
@@ -772,14 +702,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.
      * 
@@ -787,17 +714,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_; @@ -805,47 +729,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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -866,15 +777,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(); onChanged(); @@ -885,8 +795,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -897,7 +805,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -909,8 +817,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -929,8 +835,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -938,13 +842,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 2; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last-modified time of the resource within the given system.
      * 
@@ -955,14 +857,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.
      * 
@@ -970,17 +869,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_; @@ -988,61 +884,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 expireTimeBuilder_ != null || 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. */ 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) { @@ -1058,18 +935,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(); onChanged(); @@ -1080,22 +954,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1107,16 +977,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() { if (expireTimeBuilder_ == null) { @@ -1130,74 +996,58 @@ 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() { - + onChanged(); 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); } @@ -1207,12 +1057,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(); } @@ -1221,27 +1071,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; @@ -1256,4 +1106,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..28e46c651df8 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.
    * 
@@ -62,8 +40,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default unknown type.
    * 
@@ -72,8 +48,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Table view.
    * 
@@ -82,8 +56,6 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_VIEW_VALUE = 2; /** - * - * *
    * BigQuery native table.
    * 
@@ -92,6 +64,7 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGQUERY_TABLE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,51 +89,49 @@ 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; + 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 +147,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 66% 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 781d4f95aa2b..de6abdceb694 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,77 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
@@ -80,10 +59,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 @@ -92,15 +68,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 a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
    * `grouped_entry` is the Data Catalog resource name of the date sharded
@@ -109,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 { @@ -129,7 +103,6 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,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_); } @@ -165,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.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; } @@ -192,136 +166,130 @@ 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(); @@ -331,9 +299,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 @@ -352,8 +320,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.TableSpec result = new com.google.cloud.datacatalog.v1beta1.TableSpec(this); result.groupedEntry_ = groupedEntry_; onBuilt(); return result; @@ -363,39 +330,38 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -434,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - groupedEntry_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + groupedEntry_ = input.readStringRequireUtf8(); + + 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,8 +423,6 @@ public Builder mergeFrom( 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
@@ -469,16 +431,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; @@ -487,8 +447,6 @@ 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
@@ -497,17 +455,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 { @@ -515,8 +472,6 @@ 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
@@ -525,25 +480,21 @@ 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) { + public Builder setGroupedEntry( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupedEntry_ = value; 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
@@ -552,21 +503,16 @@ 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() { - + groupedEntry_ = getDefaultInstance().getGroupedEntry(); 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
@@ -575,26 +521,24 @@ 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) { + public Builder setGroupedEntryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupedEntry_ = 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); } @@ -604,12 +548,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(); } @@ -618,27 +562,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; @@ -653,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TableSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-datacatalog/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 similarity index 53% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java index 3374dab8d50e..e7c978748081 100644 --- a/java-datacatalog/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 @@ -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/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 the date sharded
@@ -34,16 +16,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 a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
    * `grouped_entry` is the Data Catalog resource name of the date sharded
@@ -52,11 +29,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/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..fa70d3f26331 --- /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,113 @@ +// 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\"\367\001\n\021BigQueryTa" + + "bleSpec\022Q\n\021table_source_type\030\001 \001(\01621.goo" + + "gle.cloud.datacatalog.v1beta1.TableSourc" + + "eTypeB\003\340A\003\022?\n\tview_spec\030\002 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.ViewSpecH\000\022A\n\nt" + + "able_spec\030\003 \001(\0132+.google.cloud.datacatal" + + "og.v1beta1.TableSpecH\000B\013\n\ttype_spec\"#\n\010V" + + "iewSpec\022\027\n\nview_query\030\001 \001(\tB\003\340A\003\"L\n\tTabl" + + "eSpec\022?\n\rgrouped_entry\030\001 \001(\tB(\340A\003\372A\"\n da" + + "tacatalog.googleapis.com/Entry\"\211\001\n\027BigQu" + + "eryDateShardedSpec\0229\n\007dataset\030\001 \001(\tB(\340A\003" + + "\372A\"\n datacatalog.googleapis.com/Entry\022\031\n" + + "\014table_prefix\030\002 \001(\tB\003\340A\003\022\030\n\013shard_count\030" + + "\003 \001(\003B\003\340A\003*[\n\017TableSourceType\022!\n\035TABLE_S" + + "OURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUERY_VIE" + + "W\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\344\001\n$com.google.c" + + "loud.datacatalog.v1beta1P\001ZKgoogle.golan" + + "g.org/genproto/googleapis/cloud/datacata" + + "log/v1beta1;datacatalog\370\001\001\252\002 Google.Clou" + + "d.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Dat" + + "aCatalog\\V1beta1\352\002#Google::Cloud::DataCa" + + "talog::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 68% 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 4b4de99943ea..970b63c1ad90 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.
@@ -31,16 +14,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_ = "";
@@ -49,52 +31,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -110,29 +89,25 @@ 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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the tag in URL format. Example:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -141,7 +116,6 @@ public ScopeCase getScopeCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -150,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:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -167,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,8 +160,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TEMPLATE_FIELD_NUMBER = 2; private volatile java.lang.Object template_; /** - * - * *
    * Required. The resource name of the tag template that this tag uses. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The template. */ @java.lang.Override @@ -204,15 +175,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 that this tag uses. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -220,15 +190,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 { @@ -239,14 +210,11 @@ public com.google.protobuf.ByteString getTemplateBytes() { public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; 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 @@ -255,29 +223,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 { @@ -287,8 +255,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.
@@ -298,15 +264,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.
@@ -316,7 +279,6 @@ public boolean hasColumn() {
    * 
* * string column = 4; - * * @return The column. */ public java.lang.String getColumn() { @@ -327,7 +289,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; @@ -336,8 +299,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.
@@ -347,17 +308,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; } @@ -368,31 +330,24 @@ 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()); } - - 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_; } @@ -401,91 +356,76 @@ 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 com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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)) { @@ -495,7 +435,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; @@ -507,15 +446,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_); } @@ -537,16 +481,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_); @@ -562,21 +505,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: @@ -615,104 +563,97 @@ 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.
@@ -723,52 +664,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();
@@ -785,9 +729,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
@@ -806,8 +750,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.Tag result = new com.google.cloud.datacatalog.v1beta1.Tag(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.template_ = template_;
@@ -826,39 +769,38 @@ public com.google.cloud.datacatalog.v1beta1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -879,19 +821,18 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Tag other) {
         templateDisplayName_ = other.templateDisplayName_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       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();
@@ -919,51 +860,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                template_ = input.readStringRequireUtf8();
-
-                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());
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                scopeCase_ = 4;
-                scope_ = s;
-                break;
-              } // case 34
-            case 42:
-              {
-                templateDisplayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              template_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              scopeCase_ = 4;
+              scope_ = s;
+              break;
+            } // case 34
+            case 42: {
+              templateDisplayName_ = input.readStringRequireUtf8();
+
+              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) {
@@ -973,12 +904,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() {
@@ -992,8 +923,6 @@ public Builder clearScope() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1002,13 +931,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; @@ -1017,8 +946,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1027,14 +954,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 { @@ -1042,8 +970,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1052,22 +978,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1076,18 +1000,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1096,16 +1017,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1113,8 +1034,6 @@ 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:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1122,13 +1041,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; @@ -1137,8 +1056,6 @@ public java.lang.String getTemplate() { } } /** - * - * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1146,14 +1063,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 { @@ -1161,8 +1079,6 @@ public com.google.protobuf.ByteString getTemplateBytes() { } } /** - * - * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1170,22 +1086,20 @@ 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) { + public Builder setTemplate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + template_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1193,18 +1107,15 @@ public Builder setTemplate(java.lang.String value) {
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTemplate() { - + template_ = getDefaultInstance().getTemplate(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1212,16 +1123,16 @@ 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) { + public Builder setTemplateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + template_ = value; onChanged(); return this; @@ -1229,20 +1140,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; @@ -1251,21 +1160,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 { @@ -1273,69 +1181,60 @@ 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) { + public Builder setTemplateDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateDisplayName_ = value; 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() { - + templateDisplayName_ = getDefaultInstance().getTemplateDisplayName(); onChanged(); 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) { + public Builder setTemplateDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateDisplayName_ = 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.
@@ -1345,7 +1244,6 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value)
      * 
* * string column = 4; - * * @return Whether the column field is set. */ @java.lang.Override @@ -1353,8 +1251,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.
@@ -1364,7 +1260,6 @@ public boolean hasColumn() {
      * 
* * string column = 4; - * * @return The column. */ @java.lang.Override @@ -1374,7 +1269,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; @@ -1385,8 +1281,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.
@@ -1396,18 +1290,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; } @@ -1417,8 +1312,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.
@@ -1428,22 +1321,20 @@ 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) { + public Builder setColumn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - scopeCase_ = 4; + 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.
@@ -1453,7 +1344,6 @@ public Builder setColumn(java.lang.String value) {
      * 
* * string column = 4; - * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1465,8 +1355,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.
@@ -1476,15 +1364,15 @@ 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) { + public Builder setColumnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); scopeCase_ = 4; scope_ = value; onChanged(); @@ -1492,25 +1380,21 @@ 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> - internalGetMutableFields() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableFields() { + onChanged();; 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(); @@ -1522,91 +1406,76 @@ 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 com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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)) { @@ -1616,81 +1485,75 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow(java.lang. } public Builder clearFields() { - 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() { + getMutableFields() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableFields().getMutableMap().put(key, value); + internalGetMutableFields().getMutableMap() + .put(key, value); 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); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1700,12 +1563,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(); } @@ -1714,27 +1577,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; @@ -1749,4 +1612,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 45532a13217b..00332f1780e0 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,136 +11,121 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object displayName_; /** - * - * *
      * The display name of the enum value.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -166,29 +134,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 { @@ -197,7 +165,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -233,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -261,94 +229,87 @@ 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 @@ -358,41 +319,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(); @@ -402,9 +361,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 @@ -423,8 +382,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue result = new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -434,41 +392,38 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -476,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_; onChanged(); @@ -508,19 +462,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + 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,20 +485,18 @@ public Builder mergeFrom( 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; @@ -555,21 +505,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 { @@ -577,66 +526,58 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * The display name of the enum value.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -649,12 +590,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(); } @@ -663,28 +604,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; @@ -699,14 +639,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int kindCase_ = 0; 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), @@ -715,7 +654,6 @@ public enum KindCase ENUM_VALUE(6), KIND_NOT_SET(0); private final int value; - private KindCase(int value) { this.value = value; } @@ -731,43 +669,34 @@ 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; 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 @@ -776,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 { @@ -808,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 @@ -823,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 @@ -843,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() { @@ -875,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; @@ -884,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; } @@ -913,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 @@ -928,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 @@ -948,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 @@ -963,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.
    * 
@@ -992,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 @@ -1015,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.
@@ -1046,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();
   }
@@ -1054,8 +949,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
   public static final int ORDER_FIELD_NUMBER = 7;
   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
@@ -1065,7 +958,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -1074,7 +966,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1086,18 +977,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_); @@ -1121,30 +1015,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; @@ -1154,33 +1047,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: @@ -1203,10 +1102,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; @@ -1214,7 +1111,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; @@ -1232,104 +1130,97 @@ 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].
@@ -1337,32 +1228,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();
@@ -1382,9 +1274,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
@@ -1403,8 +1295,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.TagField result = new com.google.cloud.datacatalog.v1beta1.TagField(this);
       result.displayName_ = displayName_;
       if (kindCase_ == 2) {
         result.kind_ = kind_;
@@ -1439,39 +1330,38 @@ public com.google.cloud.datacatalog.v1beta1.TagField buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -1488,37 +1378,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();
@@ -1546,56 +1430,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                displayName_ = input.readStringRequireUtf8();
+            case 10: {
+              displayName_ = input.readStringRequireUtf8();
 
-                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();
+              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();
 
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -1605,12 +1485,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,22 +1500,21 @@ public Builder clearKind() {
       return this;
     }
 
+
     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; @@ -1644,21 +1523,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 { @@ -1666,89 +1544,76 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } /** - * - * *
      * 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() { @@ -1758,14 +1623,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. */ @@ -1776,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() { @@ -1796,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 @@ -1811,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 @@ -1828,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; @@ -1839,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; } @@ -1867,35 +1720,30 @@ 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) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 3; + 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() { @@ -1907,22 +1755,20 @@ 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) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; onChanged(); @@ -1930,28 +1776,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() { @@ -1961,14 +1801,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. */ @@ -1979,14 +1816,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() { @@ -1999,19 +1833,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 @@ -2019,14 +1847,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 @@ -2044,8 +1869,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2066,15 +1889,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(); @@ -2085,8 +1907,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2095,11 +1915,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; } @@ -2115,8 +1934,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2140,8 +1957,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2152,8 +1967,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2172,8 +1985,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -2181,43 +1992,33 @@ 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; - onChanged(); - ; + onChanged();; return timestampValueBuilder_; } 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 @@ -2225,15 +2026,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 @@ -2251,8 +2049,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.
@@ -2274,8 +2070,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.
@@ -2295,8 +2089,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.
@@ -2306,14 +2098,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;
         }
@@ -2329,8 +2117,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.
@@ -2355,8 +2141,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.
@@ -2368,8 +2152,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.
@@ -2378,8 +2160,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 {
@@ -2390,8 +2171,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.
@@ -2400,34 +2179,26 @@ 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());
         kind_ = null;
       }
       kindCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       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
@@ -2437,7 +2208,6 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The order. */ @java.lang.Override @@ -2445,8 +2215,6 @@ 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
@@ -2456,19 +2224,16 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; onChanged(); 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
@@ -2478,18 +2243,17 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -2499,12 +2263,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(); } @@ -2513,27 +2277,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; @@ -2548,4 +2312,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 82% 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 852a6824de8a..dc5279ae120a 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,8 +152,6 @@ 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
@@ -220,7 +161,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-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 72% 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 1fd24a856e84..8ff6dc81b095 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:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -34,13 +16,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the tag in URL format. Example:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -49,14 +28,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 that this tag uses. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -64,13 +41,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 that this tag uses. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -78,39 +52,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.
@@ -120,13 +87,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.
@@ -136,13 +100,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.
@@ -152,89 +113,76 @@ 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.
    * 
* - * - * 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]; - * + * 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.
    * 
* - * - * 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); public 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 fd821a8647ca..aadf88b73c0b 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,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; /** - * - * *
  * 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.
@@ -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,46 +33,44 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the tag template in URL format. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -99,7 +79,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -108,15 +87,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -125,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 { @@ -144,14 +123,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -160,29 +136,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 { @@ -191,31 +167,24 @@ 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()); } - - 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_; } @@ -224,8 +193,6 @@ 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
@@ -236,27 +203,24 @@ 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
@@ -267,18 +231,14 @@ 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
@@ -289,23 +249,19 @@ 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 getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -316,16 +272,13 @@ public 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)) { @@ -335,7 +288,6 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,15 +299,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); } @@ -371,18 +328,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; @@ -392,17 +346,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; } @@ -427,104 +383,97 @@ 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.
@@ -538,52 +487,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();
@@ -596,9 +548,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
@@ -617,8 +569,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.TagTemplate result = new com.google.cloud.datacatalog.v1beta1.TagTemplate(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -632,39 +583,38 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -672,8 +622,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_;
         onChanged();
@@ -682,7 +631,8 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplate other)
         displayName_ = other.displayName_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -709,38 +659,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                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());
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              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) {
@@ -750,13 +692,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:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -765,13 +704,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; @@ -780,8 +719,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -790,14 +727,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 { @@ -805,8 +743,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -815,22 +751,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -839,18 +773,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -859,16 +790,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -876,20 +807,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; @@ -898,21 +827,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 { @@ -920,86 +848,75 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> - internalGetMutableFields() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableFields() { + onChanged();; 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(); @@ -1011,8 +928,6 @@ 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
@@ -1023,27 +938,24 @@ 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
@@ -1054,18 +966,14 @@ 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
@@ -1076,23 +984,19 @@ 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 getFieldsOrDefault( - java.lang.String key, com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -1103,16 +1007,13 @@ public 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)) { @@ -1122,12 +1023,11 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } public Builder clearFields() { - 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
@@ -1138,26 +1038,25 @@ 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() { + getMutableFields() { 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
@@ -1168,25 +1067,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableFields().getMutableMap().put(key, value); + internalGetMutableFields().getMutableMap() + .put(key, value); 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
@@ -1197,19 +1092,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); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1219,12 +1113,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(); } @@ -1233,27 +1127,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; @@ -1268,4 +1162,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 68% 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 8b92a331a4d7..fe25aa0f5385 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,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/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_ = ""; @@ -44,35 +26,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the tag template field in URL format. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -81,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 @@ -90,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The resource name of the tag template field in URL format. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -107,15 +84,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 { @@ -126,14 +104,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 1; 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 @@ -142,29 +117,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 { @@ -175,16 +150,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 @@ -192,34 +162,23 @@ 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() { @@ -229,14 +188,11 @@ public com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder( public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_; /** - * - * *
    * Whether this is a required field. Defaults to false.
    * 
* * bool is_required = 3; - * * @return The isRequired. */ @java.lang.Override @@ -247,8 +203,6 @@ public boolean getIsRequired() { public static final int ORDER_FIELD_NUMBER = 5; 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
@@ -257,7 +211,6 @@ public boolean getIsRequired() {
    * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -266,7 +219,6 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -307,13 +260,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 (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_); @@ -326,22 +282,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.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 (!getType() + .equals(other.getType())) return false; } - if (getIsRequired() != other.getIsRequired()) return false; - if (getOrder() != other.getOrder()) return false; + if (getIsRequired() + != other.getIsRequired()) return false; + if (getOrder() + != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,7 +322,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) + ORDER_FIELD_NUMBER; hash = (53 * hash) + getOrder(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -371,136 +332,129 @@ 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(); @@ -522,9 +476,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 @@ -543,8 +497,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.TagTemplateField result = new com.google.cloud.datacatalog.v1beta1.TagTemplateField(this); result.name_ = name_; result.displayName_ = displayName_; if (typeBuilder_ == null) { @@ -562,39 +515,38 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -602,8 +554,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_; onChanged(); @@ -647,43 +598,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); + case 10: { + displayName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getTypeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 24: - { - isRequired_ = input.readBool(); + break; + } // case 18 + case 24: { + isRequired_ = input.readBool(); - break; - } // case 24 - case 40: - { - order_ = input.readInt32(); + break; + } // case 24 + case 40: { + order_ = input.readInt32(); - break; - } // case 40 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 40 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -696,8 +643,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -706,13 +651,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; @@ -721,8 +666,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -731,14 +674,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 { @@ -746,8 +690,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -756,22 +698,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * 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,18 +720,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -800,16 +737,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -817,20 +754,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; @@ -839,21 +774,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 { @@ -861,61 +795,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -923,58 +850,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 typeBuilder_ != null || 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. */ 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) { @@ -990,17 +898,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(); onChanged(); @@ -1011,23 +916,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 (type_ != null) { type_ = - com.google.cloud.datacatalog.v1beta1.FieldType.newBuilder(type_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.FieldType.newBuilder(type_).mergeFrom(value).buildPartial(); } else { type_ = value; } @@ -1039,15 +938,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() { if (typeBuilder_ == null) { @@ -1061,79 +956,60 @@ 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() { - + onChanged(); 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 @@ -1141,45 +1017,37 @@ 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. */ public Builder setIsRequired(boolean value) { - + isRequired_ = value; onChanged(); return this; } /** - * - * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; - * * @return This builder for chaining. */ public Builder clearIsRequired() { - + isRequired_ = false; onChanged(); 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
@@ -1188,7 +1056,6 @@ public Builder clearIsRequired() {
      * 
* * int32 order = 5; - * * @return The order. */ @java.lang.Override @@ -1196,8 +1063,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
@@ -1206,19 +1071,16 @@ public int getOrder() {
      * 
* * int32 order = 5; - * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; 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
@@ -1227,18 +1089,17 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; - * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -1248,12 +1109,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(); } @@ -1262,27 +1123,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; @@ -1297,4 +1158,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagTemplateField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + 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 68% 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 733c9944e0e6..f70dbce730ca 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,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 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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -34,13 +16,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -49,93 +28,69 @@ 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 order of this field with respect to other fields in this tag
    * template.  A higher value indicates a more important field. The value can
@@ -144,7 +99,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 69% 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 d13fdb862517..be23af69fc74 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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -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. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -49,39 +28,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
@@ -92,14 +64,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
@@ -110,18 +78,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
@@ -132,15 +99,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
@@ -151,19 +114,15 @@ 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
@@ -174,9 +133,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/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..a91fe21d266a --- /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,211 @@ +// 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\"\220\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010te" + + "mplate\030\002 \001(\tB\003\340A\002\022\"\n\025template_display_na" + + "me\030\005 \001(\tB\003\340A\003\022\020\n\006column\030\004 \001(\tH\000\022F\n\006field" + + "s\030\003 \003(\01321.google.cloud.datacatalog.v1bet" + + "a1.Tag.FieldsEntryB\003\340A\002\032Y\n\013FieldsEntry\022\013" + + "\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.clou" + + "d.datacatalog.v1beta1.TagField:\0028\001:\201\001\352A~" + + "\n\036datacatalog.googleapis.com/Tag\022\\projec" + + "ts/{project}/locations/{location}/entryG" + + "roups/{entry_group}/entries/{entry}/tags" + + "/{tag}B\007\n\005scope\"\255\002\n\010TagField\022\031\n\014display_" + + "name\030\001 \001(\tB\003\340A\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\017timestamp_value\030\005 \001(\0132\032.google." + + "protobuf.TimestampH\000\022J\n\nenum_value\030\006 \001(\013" + + "24.google.cloud.datacatalog.v1beta1.TagF" + + "ield.EnumValueH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n\t" + + "EnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind\"" + + "\326\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display" + + "_name\030\002 \001(\t\022N\n\006fields\030\003 \003(\01329.google.clo" + + "ud.datacatalog.v1beta1.TagTemplate.Field" + + "sEntryB\003\340A\002\032a\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" + + "A\n\005value\030\002 \001(\01322.google.cloud.datacatalo" + + "g.v1beta1.TagTemplateField:\0028\001:p\352Am\n&dat" + + "acatalog.googleapis.com/TagTemplate\022Cpro" + + "jects/{project}/locations/{location}/tag" + + "Templates/{tag_template}\"\247\002\n\020TagTemplate" + + "Field\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\024\n\014display_name" + + "\030\001 \001(\t\022>\n\004type\030\002 \001(\0132+.google.cloud.data" + + "catalog.v1beta1.FieldTypeB\003\340A\002\022\023\n\013is_req" + + "uired\030\003 \001(\010\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datac" + + "atalog.googleapis.com/TagTemplateField\022R" + + "projects/{project}/locations/{location}/" + + "tagTemplates/{tag_template}/fields/{fiel" + + "d}\"\247\003\n\tFieldType\022S\n\016primitive_type\030\001 \001(\016" + + "29.google.cloud.datacatalog.v1beta1.Fiel" + + "dType.PrimitiveTypeH\000\022I\n\tenum_type\030\002 \001(\013" + + "24.google.cloud.datacatalog.v1beta1.Fiel" + + "dType.EnumTypeH\000\032\212\001\n\010EnumType\022V\n\016allowed" + + "_values\030\001 \003(\0132>.google.cloud.datacatalog" + + ".v1beta1.FieldType.EnumType.EnumValue\032&\n" + + "\tEnumValue\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\"`\n" + + "\rPrimitiveType\022\036\n\032PRIMITIVE_TYPE_UNSPECI" + + "FIED\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\344\001\n$com.goo" + + "gle.cloud.datacatalog.v1beta1P\001ZKgoogle." + + "golang.org/genproto/googleapis/cloud/dat" + + "acatalog/v1beta1;datacatalog\370\001\001\252\002 Google" + + ".Cloud.DataCatalog.V1Beta1\312\002 Google\\Clou" + + "d\\DataCatalog\\V1beta1\352\002#Google::Cloud::D" + + "ataCatalog::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/owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java similarity index 71% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java index eb20e567a683..95906fc9797e 100644 --- a/java-datacatalog/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 @@ -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; /** - * - * *
  * 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
@@ -31,16 +14,15 @@
  *
  * 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_ = "";
@@ -50,43 +32,39 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -95,8 +73,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { */ POLICY_TYPE_UNSPECIFIED(0), /** - * - * *
      * Fine grained access control policy, which enables access control on
      * tagged resources.
@@ -109,8 +85,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified policy type.
      * 
@@ -119,8 +93,6 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POLICY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Fine grained access control policy, which enables access control on
      * tagged resources.
@@ -130,6 +102,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(
@@ -154,47 +127,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.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;
@@ -214,15 +188,12 @@ private PolicyType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -231,30 +202,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 { @@ -265,8 +236,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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
@@ -274,7 +243,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -283,15 +251,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. It must: contain only unicode letters,
    * numbers, underscores, dashes and spaces; not start or end with spaces; and
@@ -299,15 +266,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 { @@ -318,8 +286,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -327,7 +293,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -336,15 +301,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. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -352,15 +316,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 { @@ -371,53 +336,36 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; 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) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.valueOf(from); - return result == null - ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED - : result; + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.valueOf(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 @@ -425,55 +373,40 @@ 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. */ @@ -481,11 +414,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; @@ -497,7 +428,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -536,16 +468,14 @@ public int getSerializedSize() { { 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; @@ -555,17 +485,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.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 (!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; @@ -593,104 +525,97 @@ 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
@@ -701,32 +626,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -742,9 +668,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
@@ -763,8 +689,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -782,39 +707,38 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -871,50 +795,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 48:
-              {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+
+              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);
-                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:
+              }
+              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) {
@@ -924,26 +842,23 @@ 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; @@ -952,22 +867,21 @@ 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 { @@ -975,64 +889,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1040,8 +947,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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
@@ -1049,13 +954,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; @@ -1064,8 +969,6 @@ 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 spaces; and
@@ -1073,14 +976,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 { @@ -1088,8 +992,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * 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
@@ -1097,22 +999,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1120,18 +1020,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1139,16 +1036,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1156,8 +1053,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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
@@ -1165,13 +1060,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; @@ -1180,8 +1075,6 @@ 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 most 2000 bytes
@@ -1189,14 +1082,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 { @@ -1204,8 +1098,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of this taxonomy. It must: contain only unicode characters,
      * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -1213,22 +1105,20 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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
@@ -1236,18 +1126,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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
@@ -1255,24 +1142,23 @@ 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1280,73 +1166,50 @@ 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. @@ -1362,22 +1225,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.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(); } @@ -1387,23 +1244,17 @@ 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.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()); @@ -1412,17 +1263,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.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() { @@ -1432,34 +1278,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.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. */ @@ -1467,39 +1304,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.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. */ @@ -1510,21 +1338,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.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); @@ -1532,9 +1356,9 @@ public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable 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; @@ -1593,4 +1417,6 @@ public com.google.protobuf.Parser getParserForType() { 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/java-datacatalog/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 similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java index fe96de9d1362..997810ea0ec4 100644 --- a/java-datacatalog/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 @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 spaces; and
@@ -60,13 +37,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. It must: contain only unicode letters,
    * numbers, underscores, dashes and spaces; not start or end with spaces; and
@@ -74,14 +48,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. It must: contain only unicode characters,
    * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
@@ -89,13 +61,10 @@ public interface TaxonomyOrBuilder
    * 
* * 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
@@ -103,85 +72,60 @@ 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(); /** - * - * *
    * 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. */ 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..d39e5cd9f15e --- /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,69 @@ +// 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\"\252\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\0224\n\013expire" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003B\344\001\n$com.google.cloud.datacatalog.v1" + + "beta1P\001ZKgoogle.golang.org/genproto/goog" + + "leapis/cloud/datacatalog/v1beta1;datacat" + + "alog\370\001\001\252\002 Google.Cloud.DataCatalog.V1Bet" + + "a1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#" + + "Google::Cloud::DataCatalog::V1beta1b\006pro" + + "to3" + }; + 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 64% 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 d4fb4a231492..1ea5c587a7cb 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,57 +11,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -86,34 +63,23 @@ 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() { @@ -123,15 +89,12 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB 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.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,15 +102,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update on the entry group. If absent or empty, all modifiable
    * fields are updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +115,6 @@ 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.
@@ -170,7 +128,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,7 +139,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -199,10 +157,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;
@@ -212,21 +172,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;
@@ -253,104 +214,96 @@ 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].
@@ -358,32 +311,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();
@@ -403,14 +357,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();
     }
 
@@ -425,8 +378,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(this);
       if (entryGroupBuilder_ == null) {
         result.entryGroup_ = entryGroup_;
       } else {
@@ -445,39 +397,38 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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 +436,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 +469,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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,58 +501,39 @@ public Builder mergeFrom(
 
     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 entryGroupBuilder_ != null || 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. */ 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) { @@ -618,15 +549,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) { @@ -640,23 +567,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 (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); } else { entryGroup_ = value; } @@ -668,15 +589,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() { if (entryGroupBuilder_ == null) { @@ -690,64 +607,48 @@ 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() { - + onChanged(); 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_; @@ -755,49 +656,36 @@ 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.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
      * 
* * .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.
@@ -819,8 +707,6 @@ 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.
@@ -828,7 +714,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();
         onChanged();
@@ -839,8 +726,6 @@ 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.
@@ -852,7 +737,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -864,8 +749,6 @@ 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.
@@ -885,8 +768,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -895,13 +776,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -913,14 +792,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 fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -929,24 +805,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);
     }
 
@@ -956,13 +829,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();
   }
@@ -971,27 +843,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;
@@ -1006,4 +878,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 60%
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..ec2aaa343fc6 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,98 +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/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.
    * 
* * .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.
    * 
* * .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.
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 70%
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 93fb5e3449db..afdc365440d2 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,57 +11,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -86,34 +63,23 @@ 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() { @@ -123,8 +89,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { 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.
@@ -148,7 +112,6 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -156,8 +119,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update on the entry. If absent or empty, all modifiable
    * fields are updated.
@@ -181,7 +142,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -189,8 +149,6 @@ 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.
@@ -221,7 +179,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -233,7 +190,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -250,10 +208,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 +223,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 +265,96 @@ 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 +362,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();
@@ -454,9 +408,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
@@ -475,8 +429,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(this);
       if (entryBuilder_ == null) {
         result.entry_ = entry_;
       } else {
@@ -495,39 +448,38 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -535,8 +487,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());
       }
@@ -569,25 +520,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getEntryFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,58 +552,39 @@ public Builder mergeFrom(
 
     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 entryBuilder_ != null || 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. */ 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) { @@ -667,17 +600,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(); onChanged(); @@ -688,23 +618,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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); } else { entry_ = value; } @@ -716,15 +640,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() { if (entryBuilder_ == null) { @@ -738,64 +658,48 @@ 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() { - + onChanged(); 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_; @@ -803,13 +707,8 @@ 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.
@@ -833,15 +732,12 @@ 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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -865,21 +761,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 fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -918,8 +809,6 @@ 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.
@@ -944,7 +833,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();
         onChanged();
@@ -955,8 +845,6 @@ 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.
@@ -985,7 +873,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -997,8 +885,6 @@ 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.
@@ -1035,8 +921,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -1062,13 +946,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -1097,14 +979,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 fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -1130,24 +1009,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);
     }
 
@@ -1157,12 +1033,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();
   }
@@ -1171,27 +1047,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;
@@ -1206,4 +1082,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 74%
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 6537955f065d..91d27e64dfa9 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,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/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.
@@ -90,13 +58,10 @@ public interface UpdateEntryRequestOrBuilder
    * 
* * .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.
@@ -120,13 +85,10 @@ public interface UpdateEntryRequestOrBuilder
    * 
* * .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.
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 818f42e06084..04847b999293 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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,26 +64,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.
@@ -120,8 +92,6 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
   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
@@ -133,7 +103,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 @@ -141,8 +110,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
@@ -154,7 +121,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -162,8 +128,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
@@ -182,7 +146,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -194,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 (policyTag_ != null) {
       output.writeMessage(1, getPolicyTag());
     }
@@ -211,10 +175,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;
@@ -224,21 +190,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;
@@ -265,104 +232,96 @@ 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].
@@ -370,32 +329,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();
@@ -415,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_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
@@ -436,8 +396,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result = new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest(this);
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
       } else {
@@ -456,39 +415,38 @@ public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -496,8 +454,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());
       }
@@ -530,25 +487,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getPolicyTagFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -561,49 +519,36 @@ public Builder mergeFrom(
 
     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 policyTagBuilder_ != null || 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. */ 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.
@@ -625,8 +570,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.
@@ -646,8 +589,6 @@ public Builder setPolicyTag(
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -659,9 +600,7 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val
       if (policyTagBuilder_ == null) {
         if (policyTag_ != null) {
           policyTag_ =
-              com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial();
         } else {
           policyTag_ = value;
         }
@@ -673,8 +612,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.
@@ -694,8 +631,6 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -704,13 +639,11 @@ public Builder clearPolicyTag() {
      * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
      */
     public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilder() {
-
+      
       onChanged();
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -722,14 +655,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.
@@ -738,17 +668,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_;
@@ -756,13 +683,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
@@ -774,15 +696,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 updateMaskBuilder_ != null || 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
@@ -794,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(); } } /** - * - * *
      * 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
@@ -835,8 +749,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
@@ -849,7 +761,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();
         onChanged();
@@ -860,8 +773,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
@@ -878,7 +789,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -890,8 +801,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
@@ -916,8 +825,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
@@ -931,13 +838,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       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
@@ -954,14 +859,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
@@ -975,24 +877,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);
     }
 
@@ -1002,12 +901,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();
   }
@@ -1016,27 +915,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;
@@ -1051,4 +950,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 67%
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 01970379a543..0711f3606274 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,56 +11,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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,15 +63,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 @@ -101,14 +75,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() { @@ -118,15 +89,12 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -134,15 +102,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -150,8 +115,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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`.
@@ -165,7 +128,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,7 +139,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -194,10 +157,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;
@@ -207,21 +172,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;
@@ -248,104 +214,96 @@ 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].
@@ -353,32 +311,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();
@@ -398,9 +357,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
@@ -419,8 +378,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(this);
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
       } else {
@@ -439,39 +397,38 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -479,8 +436,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());
       }
@@ -513,25 +469,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -544,37 +501,24 @@ public Builder mergeFrom(
 
     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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -585,15 +529,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) { @@ -609,17 +549,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(); onChanged(); @@ -630,23 +567,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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -658,15 +589,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() { if (tagBuilder_ == null) { @@ -680,62 +607,48 @@ 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() { - + onChanged(); 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_; @@ -743,49 +656,36 @@ 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_; /** - * - * *
      * 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`.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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`.
      * 
* * .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 Tag. If absent or empty, all modifiable fields
      * are updated. Currently the only modifiable field is the field `fields`.
@@ -807,8 +707,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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`.
@@ -816,7 +714,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();
         onChanged();
@@ -827,8 +726,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * 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`.
@@ -840,7 +737,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -852,8 +749,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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`.
@@ -873,8 +768,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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`.
@@ -883,13 +776,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * 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`.
@@ -901,14 +792,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 fields to update on the Tag. If absent or empty, all modifiable fields
      * are updated. Currently the only modifiable field is the field `fields`.
@@ -917,24 +805,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);
     }
 
@@ -944,12 +829,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();
   }
@@ -958,27 +843,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;
@@ -993,4 +878,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 69%
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..05ce8d826c9e 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,95 +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/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(); /** - * - * *
    * 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * 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`.
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 66%
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 04f990ffa42d..5b0fc5d3e83a 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,60 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,32 +66,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 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 { @@ -126,16 +100,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 @@ -143,46 +112,32 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemplateFieldOrBuilder() { return getTagTemplateField(); } 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:
@@ -197,9 +152,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField
    * 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 @@ -207,8 +160,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -223,9 +174,7 @@ public boolean hasUpdateMask() {
    * 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 @@ -233,8 +182,6 @@ 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:
@@ -249,8 +196,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * 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() { @@ -258,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -293,10 +239,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; @@ -306,22 +254,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; @@ -350,105 +300,96 @@ 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].
@@ -456,33 +397,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();
@@ -504,16 +445,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
@@ -527,8 +466,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(this);
       result.name_ = name_;
       if (tagTemplateFieldBuilder_ == null) {
         result.tagTemplateField_ = tagTemplateField_;
@@ -548,51 +486,46 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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_;
         onChanged();
@@ -629,32 +562,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getTagTemplateFieldFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -667,23 +599,19 @@ public Builder mergeFrom(
 
     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; @@ -692,24 +620,21 @@ 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 { @@ -717,70 +642,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -788,61 +700,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 tagTemplateFieldBuilder_ != null || 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. */ 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(); @@ -856,15 +748,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) { @@ -878,24 +766,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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); } else { tagTemplateField_ = value; } @@ -907,15 +788,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() { if (tagTemplateFieldBuilder_ == null) { @@ -929,66 +806,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() { + 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_; @@ -996,13 +855,8 @@ 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:
@@ -1017,17 +871,13 @@ public Builder clearTagTemplateField() {
      * 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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -1042,23 +892,17 @@ public boolean hasUpdateMask() {
      * 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:
@@ -1073,8 +917,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * 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) { @@ -1090,8 +933,6 @@ 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:
@@ -1106,10 +947,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * 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(); onChanged(); @@ -1120,8 +961,6 @@ 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:
@@ -1136,14 +975,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1155,8 +993,6 @@ 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:
@@ -1171,8 +1007,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * 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() { if (updateMaskBuilder_ == null) { @@ -1186,8 +1021,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -1202,17 +1035,14 @@ public Builder clearUpdateMask() {
      * 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -1227,21 +1057,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * 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:
@@ -1256,28 +1082,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 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); } @@ -1287,43 +1109,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; @@ -1335,8 +1155,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/java-datacatalog/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 similarity index 68% rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java index 3d3761183914..977a9020f1c2 100644 --- a/java-datacatalog/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 @@ -1,103 +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/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. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -112,15 +71,11 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * 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. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -135,15 +90,11 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * 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. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -158,8 +109,7 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * 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]; */ 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 65% 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 a6bb265ee205..5ab1604be878 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,57 +11,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -86,34 +63,23 @@ 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() { @@ -123,8 +89,6 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO 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:
@@ -133,7 +97,6 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -141,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The field mask specifies the parts of the template to overwrite.
    * Allowed fields:
@@ -151,7 +112,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -159,8 +119,6 @@ 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.
    * Allowed fields:
@@ -176,7 +134,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,7 +145,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -205,10 +163,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;
@@ -218,21 +178,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;
@@ -259,104 +220,96 @@ 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].
@@ -364,32 +317,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();
@@ -409,14 +363,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();
     }
 
@@ -431,8 +384,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(this);
       if (tagTemplateBuilder_ == null) {
         result.tagTemplate_ = tagTemplate_;
       } else {
@@ -451,39 +403,38 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -491,9 +442,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());
       }
@@ -526,25 +475,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getTagTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,58 +507,39 @@ public Builder mergeFrom(
 
     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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -624,15 +555,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) { @@ -646,23 +573,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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); } else { tagTemplate_ = value; } @@ -674,15 +595,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() { if (tagTemplateBuilder_ == null) { @@ -696,64 +613,48 @@ 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() { - + onChanged(); 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_; @@ -761,13 +662,8 @@ 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:
@@ -776,15 +672,12 @@ 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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -793,21 +686,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 field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -831,8 +719,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -842,7 +728,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();
         onChanged();
@@ -853,8 +740,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -868,7 +753,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -880,8 +765,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -903,8 +786,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -915,13 +796,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -935,14 +814,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 field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -953,24 +829,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);
     }
 
@@ -980,13 +853,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();
   }
@@ -995,27 +867,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;
@@ -1030,4 +902,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-datacatalog/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
similarity index 63%
rename from java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
rename to owl-bot-staging/java-datacatalog/v1beta1/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java
index 2058199b468f..d5784f326a45 100644
--- a/java-datacatalog/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
@@ -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/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(); /** - * - * *
    * The field mask specifies the parts of the template to overwrite.
    * Allowed fields:
@@ -75,13 +43,10 @@ public interface UpdateTagTemplateRequestOrBuilder
    * 
* * .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:
@@ -90,13 +55,10 @@ public interface UpdateTagTemplateRequestOrBuilder
    * 
* * .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:
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 72%
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 5ded414d4daa..2c6b4d83006f 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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -85,26 +64,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.
@@ -120,8 +92,6 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
   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
@@ -130,7 +100,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 @@ -138,8 +107,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -148,7 +115,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -156,8 +122,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
@@ -173,7 +137,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +148,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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 +166,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 +181,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;
@@ -256,104 +223,96 @@ 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].
@@ -361,32 +320,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();
@@ -406,9 +366,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
@@ -427,8 +387,7 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result = new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest(this);
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
       } else {
@@ -447,39 +406,38 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object 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;
@@ -487,8 +445,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());
       }
@@ -521,25 +478,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -552,49 +510,36 @@ public Builder mergeFrom(
 
     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 taxonomyBuilder_ != null || 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. */ 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.
@@ -616,8 +561,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.
@@ -637,8 +580,6 @@ public Builder setTaxonomy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -650,9 +591,7 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value
       if (taxonomyBuilder_ == null) {
         if (taxonomy_ != null) {
           taxonomy_ =
-              com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial();
         } else {
           taxonomy_ = value;
         }
@@ -664,8 +603,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.
@@ -685,8 +622,6 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -695,13 +630,11 @@ public Builder clearTaxonomy() {
      * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;
      */
     public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder() {
-
+      
       onChanged();
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -713,14 +646,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.
@@ -729,17 +659,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_;
@@ -747,13 +674,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
@@ -762,15 +684,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -779,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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -817,8 +731,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -828,7 +740,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();
         onChanged();
@@ -839,8 +752,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -854,7 +765,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -866,8 +777,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -889,8 +798,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -901,13 +808,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -921,14 +826,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
@@ -939,24 +841,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);
     }
 
@@ -966,12 +865,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();
   }
@@ -980,27 +879,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;
@@ -1015,4 +914,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/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 dc84b6ccbe45..2b2f79282bf6 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,83 +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;
 
 /**
- *
- *
  * 
  * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -86,29 +64,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 { @@ -117,7 +95,6 @@ public com.google.protobuf.ByteString getViewQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,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(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -153,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.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; } @@ -180,136 +158,130 @@ 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(); @@ -319,9 +291,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 @@ -340,8 +312,7 @@ 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); + com.google.cloud.datacatalog.v1beta1.ViewSpec result = new com.google.cloud.datacatalog.v1beta1.ViewSpec(this); result.viewQuery_ = viewQuery_; onBuilt(); return result; @@ -351,39 +322,38 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object 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; @@ -422,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - viewQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + viewQuery_ = input.readStringRequireUtf8(); + + 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) { @@ -447,20 +415,18 @@ public Builder mergeFrom( 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; @@ -469,21 +435,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 { @@ -491,68 +456,61 @@ 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) { + public Builder setViewQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + viewQuery_ = value; 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() { - + viewQuery_ = getDefaultInstance().getViewQuery(); onChanged(); 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) { + public Builder setViewQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + viewQuery_ = 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); } @@ -562,12 +520,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(); } @@ -576,27 +534,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; @@ -611,4 +569,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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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 100% 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 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/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 100% 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 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 100% 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 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 100% 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 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 984a48ea00f6e76baef3937da855b5ef4e870262 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Nov 2022 13:06:19 +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 --- .../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 | 0 ...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 .../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 .../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 | 3156 +++++++++----- .../datacatalog/v1/PolicyTagManagerGrpc.java | 1806 ++++++++ .../v1/PolicyTagManagerSerializationGrpc.java | 446 +- .../datacatalog/v1beta1/DataCatalogGrpc.java | 3859 +++++++++++++++++ .../v1beta1/PolicyTagManagerGrpc.java | 1778 ++++++++ .../PolicyTagManagerSerializationGrpc.java | 347 +- .../v1/BigQueryConnectionSpec.java | 606 ++- .../v1/BigQueryConnectionSpecOrBuilder.java | 44 +- .../v1/BigQueryDateShardedSpec.java | 548 ++- .../v1/BigQueryDateShardedSpecOrBuilder.java | 56 +- .../cloud/datacatalog/v1/BigQueryProto.java | 110 + .../datacatalog/v1/BigQueryRoutineSpec.java | 355 +- .../v1/BigQueryRoutineSpecOrBuilder.java | 36 +- .../datacatalog/v1/BigQueryTableSpec.java | 568 ++- .../v1/BigQueryTableSpecOrBuilder.java | 48 +- .../cloud/datacatalog/v1/BusinessContext.java | 422 +- .../v1/BusinessContextOrBuilder.java | 34 +- .../v1/CloudSqlBigQueryConnectionSpec.java | 590 ++- ...oudSqlBigQueryConnectionSpecOrBuilder.java | 42 +- .../cloud/datacatalog/v1/ColumnSchema.java | 801 ++-- .../datacatalog/v1/ColumnSchemaOrBuilder.java | 92 +- .../google/cloud/datacatalog/v1/Common.java | 76 + .../google/cloud/datacatalog/v1/Contacts.java | 801 ++-- .../datacatalog/v1/ContactsOrBuilder.java | 36 +- .../v1/CreateEntryGroupRequest.java | 517 ++- .../v1/CreateEntryGroupRequestOrBuilder.java | 52 +- .../datacatalog/v1/CreateEntryRequest.java | 543 ++- .../v1/CreateEntryRequestOrBuilder.java | 61 +- .../v1/CreatePolicyTagRequest.java | 447 +- .../v1/CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1/CreateTagRequest.java | 468 +- .../v1/CreateTagRequestOrBuilder.java | 52 +- .../v1/CreateTagTemplateFieldRequest.java | 576 ++- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1/CreateTagTemplateRequest.java | 565 ++- .../v1/CreateTagTemplateRequestOrBuilder.java | 64 +- .../datacatalog/v1/CreateTaxonomyRequest.java | 447 +- .../v1/CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1/CrossRegionalSource.java | 355 +- .../v1/CrossRegionalSourceOrBuilder.java | 54 + .../cloud/datacatalog/v1/DataSource.java | 670 +-- .../v1/DataSourceConnectionSpec.java | 385 +- .../v1/DataSourceConnectionSpecOrBuilder.java | 29 +- .../datacatalog/v1/DataSourceOrBuilder.java | 50 +- .../cloud/datacatalog/v1/DataSourceProto.java | 97 + .../datacatalog/v1/DatabaseTableSpec.java | 522 ++- .../v1/DatabaseTableSpecOrBuilder.java | 44 +- .../cloud/datacatalog/v1/Datacatalog.java | 1120 +++++ .../datacatalog/v1/DataplexExternalTable.java | 548 ++- .../v1/DataplexExternalTableOrBuilder.java | 51 +- .../datacatalog/v1/DataplexFilesetSpec.java | 337 +- .../v1/DataplexFilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/DataplexSpec.java | 556 ++- .../datacatalog/v1/DataplexSpecOrBuilder.java | 53 +- .../datacatalog/v1/DataplexSpecProto.java | 126 + .../datacatalog/v1/DataplexTableSpec.java | 522 ++- .../v1/DataplexTableSpecOrBuilder.java | 44 +- .../v1/DeleteEntryGroupRequest.java | 396 +- .../v1/DeleteEntryGroupRequestOrBuilder.java | 67 + .../datacatalog/v1/DeleteEntryRequest.java | 355 +- .../v1/DeleteEntryRequestOrBuilder.java | 54 + .../v1/DeletePolicyTagRequest.java | 358 +- .../v1/DeletePolicyTagRequestOrBuilder.java | 56 + .../datacatalog/v1/DeleteTagRequest.java | 355 +- .../v1/DeleteTagRequestOrBuilder.java | 54 + .../v1/DeleteTagTemplateFieldRequest.java | 403 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 68 + .../v1/DeleteTagTemplateRequest.java | 396 +- .../v1/DeleteTagTemplateRequestOrBuilder.java | 68 + .../datacatalog/v1/DeleteTaxonomyRequest.java | 358 +- .../v1/DeleteTaxonomyRequestOrBuilder.java | 56 + .../google/cloud/datacatalog/v1/Entry.java | 2899 ++++++++----- .../cloud/datacatalog/v1/EntryGroup.java | 623 +-- .../cloud/datacatalog/v1/EntryGroupName.java | 0 .../datacatalog/v1/EntryGroupOrBuilder.java | 65 +- .../cloud/datacatalog/v1/EntryName.java | 0 .../cloud/datacatalog/v1/EntryOrBuilder.java | 323 +- .../cloud/datacatalog/v1/EntryOverview.java | 320 +- .../v1/EntryOverviewOrBuilder.java | 27 +- .../cloud/datacatalog/v1/EntryType.java | 143 +- .../v1/ExportTaxonomiesRequest.java | 603 ++- .../v1/ExportTaxonomiesRequestOrBuilder.java | 78 +- .../v1/ExportTaxonomiesResponse.java | 394 +- .../v1/ExportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/FieldType.java | 1435 +++--- .../datacatalog/v1/FieldTypeOrBuilder.java | 35 +- .../cloud/datacatalog/v1/FilesetSpec.java | 336 +- .../datacatalog/v1/FilesetSpecOrBuilder.java | 26 +- .../cloud/datacatalog/v1/GcsFileSpec.java | 492 ++- .../datacatalog/v1/GcsFileSpecOrBuilder.java | 50 +- .../cloud/datacatalog/v1/GcsFilesetSpec.java | 576 ++- .../v1/GcsFilesetSpecOrBuilder.java | 74 +- .../v1/GcsFilesetSpecOuterClass.java | 97 + .../datacatalog/v1/GetEntryGroupRequest.java | 432 +- .../v1/GetEntryGroupRequestOrBuilder.java | 43 +- .../cloud/datacatalog/v1/GetEntryRequest.java | 351 +- .../v1/GetEntryRequestOrBuilder.java | 54 + .../datacatalog/v1/GetPolicyTagRequest.java | 355 +- .../v1/GetPolicyTagRequestOrBuilder.java | 54 + .../datacatalog/v1/GetTagTemplateRequest.java | 358 +- .../v1/GetTagTemplateRequestOrBuilder.java | 54 + .../datacatalog/v1/GetTaxonomyRequest.java | 355 +- .../v1/GetTaxonomyRequestOrBuilder.java | 54 + .../v1/ImportTaxonomiesRequest.java | 597 ++- .../v1/ImportTaxonomiesRequestOrBuilder.java | 51 +- .../v1/ImportTaxonomiesResponse.java | 412 +- .../v1/ImportTaxonomiesResponseOrBuilder.java | 36 +- .../cloud/datacatalog/v1/InlineSource.java | 476 +- .../datacatalog/v1/InlineSourceOrBuilder.java | 87 + .../datacatalog/v1/IntegratedSystem.java | 96 +- .../datacatalog/v1/ListEntriesRequest.java | 540 ++- .../v1/ListEntriesRequestOrBuilder.java | 55 +- .../datacatalog/v1/ListEntriesResponse.java | 482 +- .../v1/ListEntriesResponseOrBuilder.java | 45 +- .../v1/ListEntryGroupsRequest.java | 472 +- .../v1/ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1/ListEntryGroupsResponse.java | 486 ++- .../v1/ListEntryGroupsResponseOrBuilder.java | 45 +- .../datacatalog/v1/ListPolicyTagsRequest.java | 472 +- .../v1/ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1/ListPolicyTagsResponse.java | 486 ++- .../v1/ListPolicyTagsResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/ListTagsRequest.java | 465 +- .../v1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1/ListTagsResponse.java | 488 ++- .../v1/ListTagsResponseOrBuilder.java | 46 +- .../datacatalog/v1/ListTaxonomiesRequest.java | 472 +- .../v1/ListTaxonomiesRequestOrBuilder.java | 47 +- .../v1/ListTaxonomiesResponse.java | 489 ++- .../v1/ListTaxonomiesResponseOrBuilder.java | 45 +- .../cloud/datacatalog/v1/LocationName.java | 0 .../datacatalog/v1/LookupEntryRequest.java | 582 +-- .../v1/LookupEntryRequestOrBuilder.java | 54 +- .../v1/ModifyEntryContactsRequest.java | 495 ++- .../ModifyEntryContactsRequestOrBuilder.java | 95 + .../v1/ModifyEntryOverviewRequest.java | 492 ++- .../ModifyEntryOverviewRequestOrBuilder.java | 95 + .../cloud/datacatalog/v1/PersonalDetails.java | 362 +- .../v1/PersonalDetailsOrBuilder.java | 29 +- .../cloud/datacatalog/v1/PhysicalSchema.java | 2634 ++++++----- .../v1/PhysicalSchemaOrBuilder.java | 66 +- .../datacatalog/v1/PhysicalSchemaProto.java | 160 + .../cloud/datacatalog/v1/PolicyTag.java | 697 +-- .../datacatalog/v1/PolicyTagManagerProto.java | 387 ++ .../PolicyTagManagerSerializationProto.java | 240 + .../cloud/datacatalog/v1/PolicyTagName.java | 0 .../datacatalog/v1/PolicyTagOrBuilder.java | 84 +- ...enameTagTemplateFieldEnumValueRequest.java | 491 ++- ...emplateFieldEnumValueRequestOrBuilder.java | 44 +- .../v1/RenameTagTemplateFieldRequest.java | 444 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../v1/ReplaceTaxonomyRequest.java | 505 ++- .../v1/ReplaceTaxonomyRequestOrBuilder.java | 95 + .../cloud/datacatalog/v1/RoutineSpec.java | 1518 ++++--- .../datacatalog/v1/RoutineSpecOrBuilder.java | 74 +- .../google/cloud/datacatalog/v1/Schema.java | 389 +- .../cloud/datacatalog/v1/SchemaOrBuilder.java | 36 +- .../datacatalog/v1/SchemaOuterClass.java | 93 + .../google/cloud/datacatalog/v1/Search.java | 105 + .../datacatalog/v1/SearchCatalogRequest.java | 1500 ++++--- .../v1/SearchCatalogRequestOrBuilder.java | 68 +- .../datacatalog/v1/SearchCatalogResponse.java | 576 ++- .../v1/SearchCatalogResponseOrBuilder.java | 63 +- .../datacatalog/v1/SearchCatalogResult.java | 1119 +++-- .../v1/SearchCatalogResultOrBuilder.java | 119 +- .../datacatalog/v1/SearchResultType.java | 89 +- .../datacatalog/v1/SerializedPolicyTag.java | 623 +-- .../v1/SerializedPolicyTagOrBuilder.java | 60 +- .../datacatalog/v1/SerializedTaxonomy.java | 735 ++-- .../v1/SerializedTaxonomyOrBuilder.java | 87 +- .../datacatalog/v1/StarEntryRequest.java | 355 +- .../v1/StarEntryRequestOrBuilder.java | 54 + .../datacatalog/v1/StarEntryResponse.java | 251 +- .../v1/StarEntryResponseOrBuilder.java | 24 + .../datacatalog/v1/StorageProperties.java | 432 +- .../v1/StoragePropertiesOrBuilder.java | 45 +- .../datacatalog/v1/SystemTimestamps.java | 539 ++- .../v1/SystemTimestampsOrBuilder.java | 51 +- .../cloud/datacatalog/v1/TableSourceType.java | 93 +- .../cloud/datacatalog/v1/TableSpec.java | 348 +- .../datacatalog/v1/TableSpecOrBuilder.java | 35 +- .../datacatalog/v1/TableSpecOuterClass.java | 131 + .../com/google/cloud/datacatalog/v1/Tag.java | 889 ++-- .../google/cloud/datacatalog/v1/TagField.java | 1209 ++++-- .../datacatalog/v1/TagFieldOrBuilder.java | 82 +- .../google/cloud/datacatalog/v1/TagName.java | 0 .../cloud/datacatalog/v1/TagOrBuilder.java | 108 +- .../cloud/datacatalog/v1/TagTemplate.java | 743 ++-- .../datacatalog/v1/TagTemplateField.java | 693 +-- .../v1/TagTemplateFieldEnumValueName.java | 0 .../datacatalog/v1/TagTemplateFieldName.java | 0 .../v1/TagTemplateFieldOrBuilder.java | 71 +- .../cloud/datacatalog/v1/TagTemplateName.java | 0 .../datacatalog/v1/TagTemplateOrBuilder.java | 90 +- .../com/google/cloud/datacatalog/v1/Tags.java | 245 ++ .../google/cloud/datacatalog/v1/Taxonomy.java | 916 ++-- .../cloud/datacatalog/v1/TaxonomyName.java | 0 .../datacatalog/v1/TaxonomyOrBuilder.java | 106 +- .../cloud/datacatalog/v1/Timestamps.java | 83 + .../datacatalog/v1/UnstarEntryRequest.java | 355 +- .../v1/UnstarEntryRequestOrBuilder.java | 54 + .../datacatalog/v1/UnstarEntryResponse.java | 251 +- .../v1/UnstarEntryResponseOrBuilder.java | 24 + .../v1/UpdateEntryGroupRequest.java | 467 +- .../v1/UpdateEntryGroupRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateEntryRequest.java | 445 +- .../v1/UpdateEntryRequestOrBuilder.java | 43 +- .../v1/UpdatePolicyTagRequest.java | 422 +- .../v1/UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1/UpdateTagRequest.java | 447 +- .../v1/UpdateTagRequestOrBuilder.java | 43 +- .../v1/UpdateTagTemplateFieldRequest.java | 616 ++- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1/UpdateTagTemplateRequest.java | 467 +- .../v1/UpdateTagTemplateRequestOrBuilder.java | 46 +- .../datacatalog/v1/UpdateTaxonomyRequest.java | 426 +- .../v1/UpdateTaxonomyRequestOrBuilder.java | 34 +- .../google/cloud/datacatalog/v1/Usage.java | 116 + .../cloud/datacatalog/v1/UsageSignal.java | 613 +-- .../datacatalog/v1/UsageSignalOrBuilder.java | 75 +- .../cloud/datacatalog/v1/UsageStats.java | 403 +- .../datacatalog/v1/UsageStatsOrBuilder.java | 30 +- .../google/cloud/datacatalog/v1/ViewSpec.java | 317 +- .../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 .../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 | 482 +- .../BigQueryDateShardedSpecOrBuilder.java | 47 +- .../v1beta1/BigQueryTableSpec.java | 573 ++- .../v1beta1/BigQueryTableSpecOrBuilder.java | 48 +- .../datacatalog/v1beta1/ColumnSchema.java | 792 ++-- .../v1beta1/ColumnSchemaOrBuilder.java | 92 +- .../cloud/datacatalog/v1beta1/Common.java | 56 + .../v1beta1/CreateEntryGroupRequest.java | 524 ++- .../CreateEntryGroupRequestOrBuilder.java | 52 +- .../v1beta1/CreateEntryRequest.java | 568 ++- .../v1beta1/CreateEntryRequestOrBuilder.java | 64 +- .../v1beta1/CreatePolicyTagRequest.java | 444 +- .../CreatePolicyTagRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/CreateTagRequest.java | 482 +- .../v1beta1/CreateTagRequestOrBuilder.java | 52 +- .../CreateTagTemplateFieldRequest.java | 613 ++- ...reateTagTemplateFieldRequestOrBuilder.java | 64 +- .../v1beta1/CreateTagTemplateRequest.java | 572 ++- .../CreateTagTemplateRequestOrBuilder.java | 64 +- .../v1beta1/CreateTaxonomyRequest.java | 444 +- .../CreateTaxonomyRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/Datacatalog.java | 792 ++++ .../v1beta1/DeleteEntryGroupRequest.java | 403 +- .../DeleteEntryGroupRequestOrBuilder.java | 69 + .../v1beta1/DeleteEntryRequest.java | 358 +- .../v1beta1/DeleteEntryRequestOrBuilder.java | 56 + .../v1beta1/DeletePolicyTagRequest.java | 358 +- .../DeletePolicyTagRequestOrBuilder.java | 56 + .../datacatalog/v1beta1/DeleteTagRequest.java | 358 +- .../v1beta1/DeleteTagRequestOrBuilder.java | 56 + .../DeleteTagTemplateFieldRequest.java | 428 +- ...eleteTagTemplateFieldRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTagTemplateRequest.java | 403 +- .../DeleteTagTemplateRequestOrBuilder.java | 38 +- .../v1beta1/DeleteTaxonomyRequest.java | 358 +- .../DeleteTaxonomyRequestOrBuilder.java | 56 + .../cloud/datacatalog/v1beta1/Entry.java | 1651 ++++--- .../cloud/datacatalog/v1beta1/EntryGroup.java | 627 +-- .../datacatalog/v1beta1/EntryGroupName.java | 0 .../v1beta1/EntryGroupOrBuilder.java | 68 +- .../cloud/datacatalog/v1beta1/EntryName.java | 0 .../datacatalog/v1beta1/EntryOrBuilder.java | 178 +- .../cloud/datacatalog/v1beta1/EntryType.java | 96 +- .../v1beta1/ExportTaxonomiesRequest.java | 610 ++- .../ExportTaxonomiesRequestOrBuilder.java | 78 +- .../v1beta1/ExportTaxonomiesResponse.java | 417 +- .../ExportTaxonomiesResponseOrBuilder.java | 33 +- .../cloud/datacatalog/v1beta1/FieldType.java | 1476 ++++--- .../v1beta1/FieldTypeOrBuilder.java | 35 +- .../datacatalog/v1beta1/GcsFileSpec.java | 505 ++- .../v1beta1/GcsFileSpecOrBuilder.java | 50 +- .../datacatalog/v1beta1/GcsFilesetSpec.java | 590 ++- .../v1beta1/GcsFilesetSpecOrBuilder.java | 71 +- .../v1beta1/GcsFilesetSpecOuterClass.java | 99 + .../v1beta1/GetEntryGroupRequest.java | 435 +- .../GetEntryGroupRequestOrBuilder.java | 43 +- .../datacatalog/v1beta1/GetEntryRequest.java | 355 +- .../v1beta1/GetEntryRequestOrBuilder.java | 56 + .../v1beta1/GetPolicyTagRequest.java | 358 +- .../v1beta1/GetPolicyTagRequestOrBuilder.java | 54 + .../v1beta1/GetTagTemplateRequest.java | 358 +- .../GetTagTemplateRequestOrBuilder.java | 56 + .../v1beta1/GetTaxonomyRequest.java | 358 +- .../v1beta1/GetTaxonomyRequestOrBuilder.java | 54 + .../v1beta1/ImportTaxonomiesRequest.java | 494 ++- .../ImportTaxonomiesRequestOrBuilder.java | 43 +- .../v1beta1/ImportTaxonomiesResponse.java | 413 +- .../ImportTaxonomiesResponseOrBuilder.java | 36 +- .../datacatalog/v1beta1/InlineSource.java | 499 ++- .../v1beta1/InlineSourceOrBuilder.java | 88 + .../datacatalog/v1beta1/IntegratedSystem.java | 82 +- .../v1beta1/ListEntriesRequest.java | 543 ++- .../v1beta1/ListEntriesRequestOrBuilder.java | 55 +- .../v1beta1/ListEntriesResponse.java | 486 ++- .../v1beta1/ListEntriesResponseOrBuilder.java | 45 +- .../v1beta1/ListEntryGroupsRequest.java | 472 +- .../ListEntryGroupsRequestOrBuilder.java | 47 +- .../v1beta1/ListEntryGroupsResponse.java | 476 +- .../ListEntryGroupsResponseOrBuilder.java | 45 +- .../v1beta1/ListPolicyTagsRequest.java | 472 +- .../ListPolicyTagsRequestOrBuilder.java | 47 +- .../v1beta1/ListPolicyTagsResponse.java | 483 ++- .../ListPolicyTagsResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/ListTagsRequest.java | 469 +- .../v1beta1/ListTagsRequestOrBuilder.java | 47 +- .../datacatalog/v1beta1/ListTagsResponse.java | 485 ++- .../v1beta1/ListTagsResponseOrBuilder.java | 45 +- .../v1beta1/ListTaxonomiesRequest.java | 472 +- .../ListTaxonomiesRequestOrBuilder.java | 47 +- .../v1beta1/ListTaxonomiesResponse.java | 483 ++- .../ListTaxonomiesResponseOrBuilder.java | 45 +- .../datacatalog/v1beta1/LocationName.java | 0 .../v1beta1/LookupEntryRequest.java | 486 ++- .../v1beta1/LookupEntryRequestOrBuilder.java | 42 +- .../cloud/datacatalog/v1beta1/PolicyTag.java | 697 +-- .../v1beta1/PolicyTagManagerProto.java | 385 ++ .../PolicyTagManagerSerializationProto.java | 205 + .../datacatalog/v1beta1/PolicyTagName.java | 0 .../v1beta1/PolicyTagOrBuilder.java | 84 +- .../RenameTagTemplateFieldRequest.java | 469 +- ...enameTagTemplateFieldRequestOrBuilder.java | 44 +- .../cloud/datacatalog/v1beta1/Schema.java | 490 ++- .../datacatalog/v1beta1/SchemaOrBuilder.java | 92 + .../datacatalog/v1beta1/SchemaOuterClass.java | 95 + .../cloud/datacatalog/v1beta1/Search.java | 79 + .../v1beta1/SearchCatalogRequest.java | 1213 ++++-- .../SearchCatalogRequestOrBuilder.java | 68 +- .../v1beta1/SearchCatalogResponse.java | 485 ++- .../SearchCatalogResponseOrBuilder.java | 45 +- .../v1beta1/SearchCatalogResult.java | 555 ++- .../v1beta1/SearchCatalogResultOrBuilder.java | 51 +- .../datacatalog/v1beta1/SearchResultType.java | 89 +- .../v1beta1/SerializedPolicyTag.java | 653 +-- .../v1beta1/SerializedPolicyTagOrBuilder.java | 66 +- .../v1beta1/SerializedTaxonomy.java | 565 ++- .../v1beta1/SerializedTaxonomyOrBuilder.java | 51 +- .../datacatalog/v1beta1/SystemTimestamps.java | 542 ++- .../v1beta1/SystemTimestampsOrBuilder.java | 51 +- .../datacatalog/v1beta1/TableSourceType.java | 86 +- .../cloud/datacatalog/v1beta1/TableSpec.java | 348 +- .../v1beta1/TableSpecOrBuilder.java | 35 +- .../v1beta1/TableSpecOuterClass.java | 131 + .../google/cloud/datacatalog/v1beta1/Tag.java | 909 ++-- .../cloud/datacatalog/v1beta1/TagField.java | 1120 +++-- .../v1beta1/TagFieldOrBuilder.java | 70 +- .../cloud/datacatalog/v1beta1/TagName.java | 0 .../datacatalog/v1beta1/TagOrBuilder.java | 108 +- .../datacatalog/v1beta1/TagTemplate.java | 710 +-- .../datacatalog/v1beta1/TagTemplateField.java | 609 ++- .../v1beta1/TagTemplateFieldName.java | 0 .../v1beta1/TagTemplateFieldOrBuilder.java | 62 +- .../datacatalog/v1beta1/TagTemplateName.java | 0 .../v1beta1/TagTemplateOrBuilder.java | 85 +- .../cloud/datacatalog/v1beta1/Tags.java | 250 ++ .../cloud/datacatalog/v1beta1/Taxonomy.java | 752 ++-- .../datacatalog/v1beta1/TaxonomyName.java | 0 .../v1beta1/TaxonomyOrBuilder.java | 86 +- .../cloud/datacatalog/v1beta1/Timestamps.java | 84 + .../v1beta1/UpdateEntryGroupRequest.java | 478 +- .../UpdateEntryGroupRequestOrBuilder.java | 46 +- .../v1beta1/UpdateEntryRequest.java | 470 +- .../v1beta1/UpdateEntryRequestOrBuilder.java | 46 +- .../v1beta1/UpdatePolicyTagRequest.java | 419 +- .../UpdatePolicyTagRequestOrBuilder.java | 34 +- .../datacatalog/v1beta1/UpdateTagRequest.java | 461 +- .../v1beta1/UpdateTagRequestOrBuilder.java | 43 +- .../UpdateTagTemplateFieldRequest.java | 653 ++- ...pdateTagTemplateFieldRequestOrBuilder.java | 72 +- .../v1beta1/UpdateTagTemplateRequest.java | 474 +- .../UpdateTagTemplateRequestOrBuilder.java | 46 +- .../v1beta1/UpdateTaxonomyRequest.java | 423 +- .../UpdateTaxonomyRequestOrBuilder.java | 34 +- .../cloud/datacatalog/v1beta1/ViewSpec.java | 320 +- .../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 .../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 .../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 .../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 .../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 | 1399 ------ .../cloud/datacatalog/v1/BigQueryProto.java | 93 - .../google/cloud/datacatalog/v1/Common.java | 61 - .../v1/CrossRegionalSourceOrBuilder.java | 29 - .../cloud/datacatalog/v1/DataSourceProto.java | 81 - .../cloud/datacatalog/v1/Datacatalog.java | 1023 ----- .../datacatalog/v1/DataplexSpecProto.java | 108 - .../v1/DeleteEntryGroupRequestOrBuilder.java | 39 - .../v1/DeleteEntryRequestOrBuilder.java | 29 - .../v1/DeletePolicyTagRequestOrBuilder.java | 31 - .../v1/DeleteTagRequestOrBuilder.java | 29 - ...eleteTagTemplateFieldRequestOrBuilder.java | 40 - .../v1/DeleteTagTemplateRequestOrBuilder.java | 40 - .../v1/DeleteTaxonomyRequestOrBuilder.java | 31 - .../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 | 135 - .../datacatalog/v1/PolicyTagManagerProto.java | 354 -- .../PolicyTagManagerSerializationProto.java | 217 - .../v1/ReplaceTaxonomyRequestOrBuilder.java | 56 - .../datacatalog/v1/SchemaOuterClass.java | 77 - .../google/cloud/datacatalog/v1/Search.java | 80 - .../v1/StarEntryRequestOrBuilder.java | 29 - .../v1/StarEntryResponseOrBuilder.java | 9 - .../datacatalog/v1/TableSpecOuterClass.java | 113 - .../com/google/cloud/datacatalog/v1/Tags.java | 211 - .../cloud/datacatalog/v1/Timestamps.java | 68 - .../v1/UnstarEntryRequestOrBuilder.java | 29 - .../v1/UnstarEntryResponseOrBuilder.java | 9 - .../google/cloud/datacatalog/v1/Usage.java | 96 - .../datacatalog/v1beta1/DataCatalogGrpc.java | 3000 ------------- .../v1beta1/PolicyTagManagerGrpc.java | 1352 ------ .../cloud/datacatalog/v1beta1/Common.java | 45 - .../datacatalog/v1beta1/Datacatalog.java | 730 ---- .../DeleteEntryGroupRequestOrBuilder.java | 41 - .../v1beta1/DeleteEntryRequestOrBuilder.java | 31 - .../DeletePolicyTagRequestOrBuilder.java | 31 - .../v1beta1/DeleteTagRequestOrBuilder.java | 31 - .../DeleteTaxonomyRequestOrBuilder.java | 31 - .../v1beta1/GcsFilesetSpecOuterClass.java | 83 - .../v1beta1/GetEntryRequestOrBuilder.java | 31 - .../v1beta1/GetPolicyTagRequestOrBuilder.java | 29 - .../GetTagTemplateRequestOrBuilder.java | 31 - .../v1beta1/GetTaxonomyRequestOrBuilder.java | 29 - .../v1beta1/InlineSourceOrBuilder.java | 53 - .../v1beta1/PolicyTagManagerProto.java | 357 -- .../PolicyTagManagerSerializationProto.java | 184 - .../datacatalog/v1beta1/SchemaOrBuilder.java | 58 - .../datacatalog/v1beta1/SchemaOuterClass.java | 79 - .../cloud/datacatalog/v1beta1/Search.java | 64 - .../v1beta1/TableSpecOuterClass.java | 113 - .../cloud/datacatalog/v1beta1/Tags.java | 211 - .../cloud/datacatalog/v1beta1/Timestamps.java | 69 - 908 files changed, 79656 insertions(+), 50496 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 (100%) 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/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/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 (51%) 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 (54%) 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 (50%) 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 (69%) 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 (66%) 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 (68%) 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/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 (66%) 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/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 (68%) 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 (65%) 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 (65%) 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 (65%) 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 (62%) 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 (65%) 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 (64%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java (56%) 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 (69%) 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 (66%) 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 (63%) 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 (63%) 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 (63%) create mode 100644 java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java (74%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java (67%) 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 (83%) 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 (75%) 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 (52%) 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 (68%) 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 (61%) 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 (62%) 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 (62%) 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/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 (67%) 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 (69%) 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 (67%) 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 (67%) 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 (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java (57%) 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/LookupEntryRequest.java (76%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java (86%) 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/RenameTagTemplateFieldEnumValueRequest.java (60%) 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 (72%) 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 (73%) 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 (78%) 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 (80%) 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/StarEntryRequest.java (61%) 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 (80%) 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 (71%) 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 (53%) 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 (68%) 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 (83%) 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 (67%) 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 (72%) 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 (61%) 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 (67%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java (65%) 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 (68%) 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 (69%) 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 (72%) 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 (61%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java (53%) rename {owl-bot-staging/java-datacatalog/v1 => java-datacatalog}/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java (68%) 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/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 (55%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java (66%) 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 (63%) 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 (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java (61%) 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 (66%) 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 (63%) 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 (62%) 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 (52%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java (63%) 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 (74%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java (68%) 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 (83%) 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 (52%) 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 (70%) 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 (62%) 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 (62%) 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 (62%) 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 (62%) 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 (67%) 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 (60%) 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 (68%) 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 (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java (55%) 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/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/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 (74%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java (78%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java (71%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java (72%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java (78%) 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 (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java (69%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java (73%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java (75%) 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 (65%) 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 (68%) 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 (68%) 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 (69%) 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 (71%) 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 (64%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java (60%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java (70%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java (74%) 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 (67%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java (69%) 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 (68%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java (65%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java (63%) rename {owl-bot-staging/java-datacatalog/v1beta1 => java-datacatalog}/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java (72%) 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%) 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/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/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/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/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/Common.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/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 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 e26812a76635..fed650761f00 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 @@ -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.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 3cd223d4e612..96004b38172f 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 626235210c4b..e4dce4dfc7d6 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 2674bbba3315..de3f15d30d15 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 @@ -80,7 +80,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 fd37719f7b8b..bc3958d5201b 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 10737ea85fc1..317573fcacc9 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 100% 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 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 5165130295b5..b943b02a5d6e 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 01ef812324ae..38bf3045e2d6 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 2a90b492668a..e1bf5d3eb4a8 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 e8766ed1dd62..9bd0bfdb78bb 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 @@ -72,7 +72,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 43b36f346961..9e99d3bfed33 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 8953d1e042f8..78b142f4a7f9 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/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/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 51% 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 4e1187d85ae0..ae4f3420d147 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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,1051 +36,1496 @@ 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 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;
   }
 
-  /**
-   * 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.
    * 
*/ - public static abstract class DataCatalogImplBase implements io.grpc.BindableService { + public abstract static class DataCatalogImplBase implements io.grpc.BindableService { /** + * + * *
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -1079,12 +1541,17 @@ public static abstract class DataCatalogImplBase implements io.grpc.BindableServ
      * (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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchCatalogMethod(), responseObserver); + public 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
@@ -1108,22 +1575,30 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEntryGroupMethod(), 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.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
@@ -1132,12 +1607,16 @@ 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.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
@@ -1146,22 +1625,31 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryGroupMethod(), responseObserver); } /** + * + * *
      * Lists entry groups.
      * 
*/ - public void listEntryGroups(com.google.cloud.datacatalog.v1.ListEntryGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntryGroupsMethod(), responseObserver); + public 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',
@@ -1173,12 +1661,16 @@ 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.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
@@ -1187,12 +1679,16 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntryMethod(), responseObserver); } /** + * + * *
      * Deletes an existing entry.
      * You can delete only the entries created by the
@@ -1204,33 +1700,44 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetEntryMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLookupEntryMethod(), responseObserver); } /** + * + * *
      * Lists entries.
      * Note: Currently, this method can list only custom entries.
@@ -1238,12 +1745,17 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEntriesMethod(), responseObserver); + public 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].
@@ -1251,12 +1763,17 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyEntryOverviewMethod(), responseObserver); + public 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].
@@ -1264,12 +1781,16 @@ 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.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
@@ -1278,22 +1799,30 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTagTemplateMethod(), 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.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
@@ -1304,12 +1833,16 @@ 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.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
@@ -1317,12 +1850,16 @@ 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.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
@@ -1330,12 +1867,17 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagTemplateFieldMethod(), responseObserver); + public 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.
@@ -1345,12 +1887,17 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagTemplateFieldMethod(), responseObserver); + public 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
@@ -1358,23 +1905,33 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldMethod(), responseObserver); + public 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.
      * 
*/ - public void renameTagTemplateFieldEnumValue(com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + public 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.
@@ -1383,12 +1940,16 @@ 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.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
@@ -1402,66 +1963,88 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), 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.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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), 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.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.
      * 
*/ - public void unstarEntry(com.google.cloud.datacatalog.v1.UnstarEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnstarEntryMethod(), responseObserver); + public 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.
@@ -1477,12 +2060,16 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Gets the access control policy for a resource.
      * May return:
@@ -1500,12 +2087,16 @@ 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.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.
@@ -1518,260 +2109,252 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, METHODID_SEARCH_CATALOG))) + getSearchCatalogMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.SearchCatalogRequest, + com.google.cloud.datacatalog.v1.SearchCatalogResponse>( + this, METHODID_SEARCH_CATALOG))) .addMethod( - getCreateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1.EntryGroup>( - this, METHODID_CREATE_ENTRY_GROUP))) + getCreateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1.EntryGroup>( + this, 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>( - this, METHODID_GET_ENTRY_GROUP))) + getGetEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetEntryGroupRequest, + com.google.cloud.datacatalog.v1.EntryGroup>(this, 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>( - this, METHODID_UPDATE_ENTRY_GROUP))) + getUpdateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest, + com.google.cloud.datacatalog.v1.EntryGroup>( + this, METHODID_UPDATE_ENTRY_GROUP))) .addMethod( - getDeleteEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ENTRY_GROUP))) + getDeleteEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest, + com.google.protobuf.Empty>(this, 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>( - this, METHODID_LIST_ENTRY_GROUPS))) + getListEntryGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListEntryGroupsRequest, + com.google.cloud.datacatalog.v1.ListEntryGroupsResponse>( + this, 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>( - this, METHODID_CREATE_ENTRY))) + getCreateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateEntryRequest, + com.google.cloud.datacatalog.v1.Entry>(this, METHODID_CREATE_ENTRY))) .addMethod( - getUpdateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1.Entry>( - this, METHODID_UPDATE_ENTRY))) + getUpdateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1.Entry>(this, METHODID_UPDATE_ENTRY))) .addMethod( - getDeleteEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteEntryRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ENTRY))) + getDeleteEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteEntryRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ENTRY))) .addMethod( - getGetEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetEntryRequest, - com.google.cloud.datacatalog.v1.Entry>( - this, METHODID_GET_ENTRY))) + getGetEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetEntryRequest, + com.google.cloud.datacatalog.v1.Entry>(this, METHODID_GET_ENTRY))) .addMethod( - getLookupEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.LookupEntryRequest, - com.google.cloud.datacatalog.v1.Entry>( - this, METHODID_LOOKUP_ENTRY))) + getLookupEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.LookupEntryRequest, + com.google.cloud.datacatalog.v1.Entry>(this, METHODID_LOOKUP_ENTRY))) .addMethod( - getListEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListEntriesRequest, - com.google.cloud.datacatalog.v1.ListEntriesResponse>( - this, METHODID_LIST_ENTRIES))) + getListEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListEntriesRequest, + com.google.cloud.datacatalog.v1.ListEntriesResponse>( + this, METHODID_LIST_ENTRIES))) .addMethod( - getModifyEntryOverviewMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest, - com.google.cloud.datacatalog.v1.EntryOverview>( - this, METHODID_MODIFY_ENTRY_OVERVIEW))) + getModifyEntryOverviewMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest, + com.google.cloud.datacatalog.v1.EntryOverview>( + this, 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>( - this, METHODID_MODIFY_ENTRY_CONTACTS))) + getModifyEntryContactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest, + com.google.cloud.datacatalog.v1.Contacts>( + this, 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>( - this, METHODID_CREATE_TAG_TEMPLATE))) + getCreateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1.TagTemplate>( + this, 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>( - this, METHODID_GET_TAG_TEMPLATE))) + getGetTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetTagTemplateRequest, + com.google.cloud.datacatalog.v1.TagTemplate>( + this, 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>( - this, METHODID_UPDATE_TAG_TEMPLATE))) + getUpdateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest, + com.google.cloud.datacatalog.v1.TagTemplate>( + this, METHODID_UPDATE_TAG_TEMPLATE))) .addMethod( - getDeleteTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG_TEMPLATE))) + getDeleteTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest, + com.google.protobuf.Empty>(this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, METHODID_DELETE_TAG_TEMPLATE_FIELD))) + getDeleteTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty>(this, 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>( - this, METHODID_CREATE_TAG))) + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreateTagRequest, + com.google.cloud.datacatalog.v1.Tag>(this, METHODID_CREATE_TAG))) .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateTagRequest, - com.google.cloud.datacatalog.v1.Tag>( - this, METHODID_UPDATE_TAG))) + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTagRequest, + com.google.cloud.datacatalog.v1.Tag>(this, METHODID_UPDATE_TAG))) .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTagRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListTagsRequest, - com.google.cloud.datacatalog.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListTagsRequest, + com.google.cloud.datacatalog.v1.ListTagsResponse>(this, METHODID_LIST_TAGS))) .addMethod( - getStarEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.StarEntryRequest, - com.google.cloud.datacatalog.v1.StarEntryResponse>( - this, METHODID_STAR_ENTRY))) + getStarEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.StarEntryRequest, + com.google.cloud.datacatalog.v1.StarEntryResponse>( + this, METHODID_STAR_ENTRY))) .addMethod( - getUnstarEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UnstarEntryRequest, - com.google.cloud.datacatalog.v1.UnstarEntryResponse>( - this, METHODID_UNSTAR_ENTRY))) + getUnstarEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UnstarEntryRequest, + com.google.cloud.datacatalog.v1.UnstarEntryResponse>( + this, METHODID_UNSTAR_ENTRY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .build(); } } /** + * + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static final class DataCatalogStub extends io.grpc.stub.AbstractAsyncStub { - private DataCatalogStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + 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) { + 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.
@@ -1787,13 +2370,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
@@ -1817,24 +2406,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
@@ -1843,13 +2442,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
@@ -1858,24 +2462,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',
@@ -1887,13 +2502,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
@@ -1902,13 +2522,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
@@ -1920,36 +2545,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.
@@ -1957,13 +2595,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].
@@ -1971,13 +2615,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].
@@ -1985,13 +2635,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
@@ -2000,24 +2655,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
@@ -2028,13 +2693,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
@@ -2042,13 +2712,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
@@ -2056,13 +2731,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.
@@ -2072,13 +2753,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
@@ -2086,25 +2773,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.
@@ -2113,13 +2812,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
@@ -2133,72 +2837,95 @@ 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); } /** + * + * *
      * 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.
@@ -2214,13 +2941,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:
@@ -2238,13 +2970,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.
@@ -2257,22 +2994,28 @@ 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); } } /** + * + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static final class DataCatalogBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DataCatalogBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DataCatalogBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataCatalogBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2283,6 +3026,8 @@ protected DataCatalogBlockingStub build( } /** + * + * *
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -2298,12 +3043,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
@@ -2327,22 +3075,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
@@ -2351,12 +3105,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
@@ -2365,22 +3122,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',
@@ -2392,12 +3155,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
@@ -2406,12 +3172,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
@@ -2423,33 +3192,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.
@@ -2457,12 +3235,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].
@@ -2470,12 +3251,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].
@@ -2483,12 +3267,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
@@ -2497,22 +3284,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
@@ -2523,12 +3316,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
@@ -2536,12 +3332,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
@@ -2549,12 +3348,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.
@@ -2564,12 +3366,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
@@ -2577,23 +3382,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.
@@ -2602,12 +3413,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
@@ -2621,66 +3435,84 @@ 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); } /** + * + * *
      * 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.
@@ -2702,6 +3534,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a resource.
      * May return:
@@ -2725,6 +3559,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.
@@ -2737,21 +3573,24 @@ 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); } } /** + * + * *
    * Data Catalog API service allows you to discover, understand, and manage
    * your data.
    * 
*/ - public static final class DataCatalogFutureStub extends io.grpc.stub.AbstractFutureStub { - private DataCatalogFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class DataCatalogFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataCatalogFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2762,6 +3601,8 @@ protected DataCatalogFutureStub build( } /** + * + * *
      * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
@@ -2777,13 +3618,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
@@ -2807,24 +3651,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
@@ -2833,13 +3683,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
@@ -2848,24 +3701,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',
@@ -2877,13 +3735,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
@@ -2892,13 +3752,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
@@ -2910,36 +3772,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.
@@ -2947,13 +3815,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].
@@ -2961,13 +3832,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].
@@ -2975,13 +3849,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
@@ -2990,24 +3867,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
@@ -3018,13 +3901,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
@@ -3032,13 +3918,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
@@ -3046,13 +3934,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.
@@ -3062,13 +3954,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
@@ -3076,25 +3972,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.
@@ -3103,13 +4008,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
@@ -3123,24 +4031,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.
      * 
@@ -3152,43 +4064,54 @@ 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); } /** + * + * *
      * 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.
@@ -3204,13 +4127,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:
@@ -3228,13 +4153,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.
@@ -3247,8 +4174,9 @@ 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);
     }
@@ -3287,11 +4215,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 DataCatalogImplBase serviceImpl;
     private final int methodId;
 
@@ -3305,132 +4233,187 @@ 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_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;
         default:
           throw new AssertionError();
@@ -3448,8 +4431,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -3491,41 +4475,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(getStarEntryMethod())
-              .addMethod(getUnstarEntryMethod())
-              .addMethod(getSetIamPolicyMethod())
-              .addMethod(getGetIamPolicyMethod())
-              .addMethod(getTestIamPermissionsMethod())
-              .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(getStarEntryMethod())
+                      .addMethod(getUnstarEntryMethod())
+                      .addMethod(getSetIamPolicyMethod())
+                      .addMethod(getGetIamPolicyMethod())
+                      .addMethod(getTestIamPermissionsMethod())
+                      .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..ca0bd99fe764
--- /dev/null
+++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java
@@ -0,0 +1,1806 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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 abstract static class PolicyTagManagerImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void listTaxonomies( + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTaxonomiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>(this, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(this, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( + this, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(this, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1.PolicyTag>(this, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, + com.google.protobuf.Empty>(this, 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>(this, 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>( + this, 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>(this, METHODID_GET_POLICY_TAG))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 PolicyTagManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(PolicyTagManagerImplBase 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(); + } + } + } + + 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 54% 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 6c3c3fa465cc..34a64b7a196b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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,156 +34,217 @@ 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.
    * Taxonomy is a hierarchical group of policy tags.
    * 
*/ - public static abstract class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService { + public abstract static class PolicyTagManagerSerializationImplBase + implements io.grpc.BindableService { /** + * + * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -180,12 +258,16 @@ public static abstract class PolicyTagManagerSerializationImplBase implements io
      * - 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.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 +277,17 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportTaxonomiesMethod(), responseObserver); + public 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,46 +296,52 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); + public void exportTaxonomies( + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportTaxonomiesMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, METHODID_REPLACE_TAXONOMY))) + getReplaceTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(this, METHODID_REPLACE_TAXONOMY))) .addMethod( - getImportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>( - this, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse>( + this, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>( - this, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse>( + this, METHODID_EXPORT_TAXONOMIES))) .build(); } } /** + * + * *
    * 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 final class PolicyTagManagerSerializationStub extends io.grpc.stub.AbstractAsyncStub { + public static final class PolicyTagManagerSerializationStub + extends io.grpc.stub.AbstractAsyncStub { private PolicyTagManagerSerializationStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -261,6 +354,8 @@ protected PolicyTagManagerSerializationStub build( } /** + * + * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -274,13 +369,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.
@@ -290,13 +390,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
@@ -305,21 +411,28 @@ 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); } } /** + * + * *
    * 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 final class PolicyTagManagerSerializationBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class PolicyTagManagerSerializationBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private PolicyTagManagerSerializationBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -332,6 +445,8 @@ protected PolicyTagManagerSerializationBlockingStub build( } /** + * + * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -345,12 +460,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.
@@ -360,12 +478,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
@@ -374,20 +495,24 @@ 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); } } /** + * + * *
    * 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 final class PolicyTagManagerSerializationFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class PolicyTagManagerSerializationFutureStub + extends io.grpc.stub.AbstractFutureStub { private PolicyTagManagerSerializationFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -400,6 +525,8 @@ protected PolicyTagManagerSerializationFutureStub build( } /** + * + * *
      * Replaces (updates) a taxonomy and all its policy tags.
      * The taxonomy and its entire hierarchy of policy tags must be
@@ -413,13 +540,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.
@@ -429,13 +559,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
@@ -444,8 +577,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);
     }
@@ -455,11 +589,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 PolicyTagManagerSerializationImplBase serviceImpl;
     private final int methodId;
 
@@ -473,16 +607,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();
@@ -500,8 +642,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -543,12 +686,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..c52edd603893
--- /dev/null
+++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java
@@ -0,0 +1,3859 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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 abstract static class DataCatalogImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.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).
+     * 
+ */ + public 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).
+     * 
+ */ + public void updateEntryGroup( + com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEntryGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an EntryGroup.
+     * 
+ */ + public 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).
+     * 
+ */ + public void deleteEntryGroup( + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists entry groups.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public void deleteEntry( + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an entry.
+     * 
+ */ + public 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.
+     * 
+ */ + public void lookupEntry( + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getLookupEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists entries.
+     * 
+ */ + public 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).
+     * 
+ */ + public 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.
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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).
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void updateTag( + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_SEARCH_CATALOG))) + .addMethod( + getCreateEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, + com.google.cloud.datacatalog.v1beta1.EntryGroup>( + this, 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>( + this, 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>( + this, METHODID_GET_ENTRY_GROUP))) + .addMethod( + getDeleteEntryGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, + com.google.protobuf.Empty>(this, 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>( + this, 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>(this, METHODID_CREATE_ENTRY))) + .addMethod( + getUpdateEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_UPDATE_ENTRY))) + .addMethod( + getDeleteEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ENTRY))) + .addMethod( + getGetEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_GET_ENTRY))) + .addMethod( + getLookupEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, + com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_LOOKUP_ENTRY))) + .addMethod( + getListEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, + com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( + this, METHODID_LIST_ENTRIES))) + .addMethod( + getCreateTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplate>( + this, 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>( + this, 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>( + this, METHODID_UPDATE_TAG_TEMPLATE))) + .addMethod( + getDeleteTagTemplateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, + com.google.protobuf.Empty>(this, 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>( + this, 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>( + this, 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>( + this, METHODID_RENAME_TAG_TEMPLATE_FIELD))) + .addMethod( + getDeleteTagTemplateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, + com.google.protobuf.Empty>(this, 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>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, + com.google.cloud.datacatalog.v1beta1.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTagsRequest, + com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 DataCatalogImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataCatalogImplBase 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(); + } + } + } + + 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 new file mode 100644 index 000000000000..2eb2f526c221 --- /dev/null +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java @@ -0,0 +1,1778 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class PolicyTagManagerImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTaxonomyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a taxonomy.
+     * 
+ */ + public 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.
+     * 
+ */ + public void listTaxonomies( + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTaxonomiesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a taxonomy.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_CREATE_TAXONOMY))) + .addMethod( + getDeleteTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAXONOMY))) + .addMethod( + getUpdateTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>( + this, METHODID_UPDATE_TAXONOMY))) + .addMethod( + getListTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( + this, METHODID_LIST_TAXONOMIES))) + .addMethod( + getGetTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, + com.google.cloud.datacatalog.v1beta1.Taxonomy>(this, METHODID_GET_TAXONOMY))) + .addMethod( + getCreatePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, + com.google.cloud.datacatalog.v1beta1.PolicyTag>( + this, METHODID_CREATE_POLICY_TAG))) + .addMethod( + getDeletePolicyTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, + com.google.protobuf.Empty>(this, 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>( + this, 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>( + this, 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>( + this, METHODID_GET_POLICY_TAG))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 PolicyTagManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(PolicyTagManagerImplBase 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(); + } + } + } + + 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 50% 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 e8c170ac63e1..d6d1ba0d5f6c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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,124 +33,167 @@ 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.
    * 
*/ - public static abstract class PolicyTagManagerSerializationImplBase implements io.grpc.BindableService { + public abstract static class PolicyTagManagerSerializationImplBase + implements io.grpc.BindableService { /** + * + * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -141,50 +201,62 @@ public static abstract class PolicyTagManagerSerializationImplBase implements io
      * proto structure.
      * 
*/ - public void importTaxonomies(com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportTaxonomiesMethod(), responseObserver); + public 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.
      * 
*/ - public void exportTaxonomies(com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportTaxonomiesMethod(), responseObserver); + public void exportTaxonomies( + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportTaxonomiesMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, METHODID_IMPORT_TAXONOMIES))) + getImportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse>( + this, METHODID_IMPORT_TAXONOMIES))) .addMethod( - getExportTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( - this, METHODID_EXPORT_TAXONOMIES))) + getExportTaxonomiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest, + com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse>( + this, METHODID_EXPORT_TAXONOMIES))) .build(); } } /** + * + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static final class PolicyTagManagerSerializationStub extends io.grpc.stub.AbstractAsyncStub { + public static final class PolicyTagManagerSerializationStub + extends io.grpc.stub.AbstractAsyncStub { private PolicyTagManagerSerializationStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -197,6 +269,8 @@ protected PolicyTagManagerSerializationStub build( } /** + * + * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -204,33 +278,46 @@ 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); } } /** + * + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static final class PolicyTagManagerSerializationBlockingStub extends io.grpc.stub.AbstractBlockingStub { + public static final class PolicyTagManagerSerializationBlockingStub + extends io.grpc.stub.AbstractBlockingStub { private PolicyTagManagerSerializationBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -243,6 +330,8 @@ protected PolicyTagManagerSerializationBlockingStub build( } /** + * + * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -250,31 +339,38 @@ 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); } } /** + * + * *
    * Policy tag manager serialization API service allows clients to manipulate
    * their taxonomies and policy tags data with serialized format.
    * 
*/ - public static final class PolicyTagManagerSerializationFutureStub extends io.grpc.stub.AbstractFutureStub { + public static final class PolicyTagManagerSerializationFutureStub + extends io.grpc.stub.AbstractFutureStub { private PolicyTagManagerSerializationFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -287,6 +383,8 @@ protected PolicyTagManagerSerializationFutureStub build( } /** + * + * *
      * Imports all taxonomies and their policy tags to a project as new
      * taxonomies.
@@ -294,21 +392,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); } @@ -317,11 +419,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 PolicyTagManagerSerializationImplBase serviceImpl; private final int methodId; @@ -335,12 +437,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(); @@ -358,13 +466,15 @@ public io.grpc.stub.StreamObserver invoke( } } - 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 @@ -401,11 +511,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 04d372331115..e898b96a91f8 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,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
      * 
@@ -66,6 +88,8 @@ public enum ConnectionType */ CONNECTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Cloud SQL connection.
      * 
@@ -77,6 +101,8 @@ public enum ConnectionType ; /** + * + * *
      * Unspecified type.
      * 
@@ -85,6 +111,8 @@ public enum ConnectionType */ public static final int CONNECTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud SQL connection.
      * 
@@ -93,7 +121,6 @@ public enum ConnectionType */ public static final int CLOUD_SQL_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,48 +145,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; @@ -178,12 +206,15 @@ private ConnectionType(int value) { private int connectionSpecCase_ = 0; 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; } @@ -199,56 +230,75 @@ 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf(connectionType_); - return result == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf( + 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 @@ -256,21 +306,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.
    * 
@@ -278,9 +333,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(); } @@ -288,12 +344,15 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder g public static final int HAS_CREDENTIAL_FIELD_NUMBER = 3; 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 @@ -302,6 +361,7 @@ public boolean getHasCredential() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,13 +373,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_); @@ -333,17 +396,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; @@ -353,21 +418,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: @@ -386,8 +450,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; @@ -402,129 +465,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(); @@ -541,9 +611,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 @@ -562,7 +632,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); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = + new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); result.connectionType_ = connectionType_; if (connectionSpecCase_ == 2) { if (cloudSqlBuilder_ == null) { @@ -581,38 +652,39 @@ public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -620,7 +692,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()); } @@ -628,13 +701,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(); @@ -662,29 +737,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - connectionType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getCloudSqlFieldBuilder().getBuilder(), - extensionRegistry); - connectionSpecCase_ = 2; - break; - } // case 18 - case 24: { - hasCredential_ = input.readBool(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + connectionType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getCloudSqlFieldBuilder().getBuilder(), extensionRegistry); + connectionSpecCase_ = 2; + break; + } // case 18 + case 24: + { + hasCredential_ = input.readBool(); + + 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) { @@ -694,12 +771,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() { @@ -709,89 +786,121 @@ public Builder clearConnectionSpec() { return this; } - 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. */ public Builder setConnectionTypeValue(int value) { - + connectionType_ = value; onChanged(); 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() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + getConnectionType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf(connectionType_); - return result == null ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf( + 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(); } - + connectionType_ = value.getNumber(); onChanged(); 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() { - + connectionType_ = 0; onChanged(); return this; } 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 @@ -799,11 +908,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 @@ -821,13 +933,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(); @@ -841,6 +956,8 @@ public Builder setCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConne return this; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -859,18 +976,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; } @@ -886,6 +1012,8 @@ public Builder mergeCloudSql(com.google.cloud.datacatalog.v1.CloudSqlBigQueryCon return this; } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -909,16 +1037,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.
      * 
@@ -926,7 +1059,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 { @@ -937,6 +1071,8 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder g } } /** + * + * *
      * Specification for the BigQuery connection to a Cloud SQL instance.
      * 
@@ -944,32 +1080,42 @@ 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()); connectionSpec_ = null; } connectionSpecCase_ = 2; - onChanged();; + onChanged(); + ; 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 @@ -977,39 +1123,45 @@ 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. */ public Builder setHasCredential(boolean value) { - + hasCredential_ = value; onChanged(); 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() { - + hasCredential_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1019,12 +1171,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(); } @@ -1033,27 +1185,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; @@ -1068,6 +1220,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 69% 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 2ec91a39ddae..9bd8c23f411b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,15 +86,19 @@ 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(); - public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase(); + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionSpecCase + getConnectionSpecCase(); } 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 f3b75d923a58..abbe14c6128e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -13,15 +30,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_ = "";
@@ -30,39 +48,45 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -71,31 +95,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 { @@ -106,6 +132,8 @@ public java.lang.String getDataset() { public static final int TABLE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object tablePrefix_; /** + * + * *
    * Output only. The table name prefix of the shards.
    * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -114,6 +142,7 @@ public java.lang.String getDataset() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ @java.lang.Override @@ -122,14 +151,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 `[table_prefix]YYYYMMDD`.
@@ -138,16 +168,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 { @@ -158,11 +187,14 @@ public java.lang.String getTablePrefix() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; 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 @@ -173,11 +205,14 @@ public long getShardCount() { public static final int LATEST_SHARD_RESOURCE_FIELD_NUMBER = 4; 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 @@ -186,29 +221,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 { @@ -217,6 +252,7 @@ public java.lang.String getLatestShardResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -258,8 +293,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_); @@ -272,21 +306,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; } @@ -303,8 +334,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(); @@ -313,96 +343,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.
@@ -412,33 +450,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();
@@ -454,9 +491,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
@@ -475,7 +512,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);
+      com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec result =
+          new com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec(this);
       result.dataset_ = dataset_;
       result.tablePrefix_ = tablePrefix_;
       result.shardCount_ = shardCount_;
@@ -488,38 +526,39 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -527,7 +566,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_;
         onChanged();
@@ -569,32 +609,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dataset_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                dataset_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              tablePrefix_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                tablePrefix_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              shardCount_ = input.readInt64();
+                break;
+              } // case 18
+            case 24:
+              {
+                shardCount_ = input.readInt64();
 
-              break;
-            } // case 24
-            case 34: {
-              latestShardResource_ = input.readStringRequireUtf8();
+                break;
+              } // case 24
+            case 34:
+              {
+                latestShardResource_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,20 +652,24 @@ public Builder mergeFrom(
 
     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; @@ -629,22 +678,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 { @@ -652,60 +704,73 @@ 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) { + public Builder setDataset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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() { - + dataset_ = getDefaultInstance().getDataset(); 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) = { ... } + * + * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -713,6 +778,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 `[table_prefix]YYYYMMDD`.
@@ -721,13 +788,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; @@ -736,6 +803,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -744,15 +813,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 { @@ -760,6 +828,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -768,20 +838,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) { + public Builder setTablePrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -790,15 +862,18 @@ public Builder setTablePrefix(
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** + * + * *
      * Output only. The table name prefix of the shards.
      * The name of any given shard is `[table_prefix]YYYYMMDD`.
@@ -807,28 +882,31 @@ 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) { + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); 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 @@ -836,30 +914,36 @@ 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. */ public Builder setShardCount(long value) { - + shardCount_ = value; onChanged(); 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() { - + shardCount_ = 0L; onChanged(); return this; @@ -867,18 +951,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; @@ -887,20 +973,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 { @@ -908,61 +995,68 @@ 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) { + public Builder setLatestShardResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + latestShardResource_ = value; 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() { - + latestShardResource_ = getDefaultInstance().getLatestShardResource(); onChanged(); 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) { + public Builder setLatestShardResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + latestShardResource_ = 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); } @@ -972,12 +1066,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(); } @@ -986,27 +1080,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; @@ -1021,6 +1115,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 66% 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 74d0aae4cfa3..301c6bc56c50 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,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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:
    * `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 `[table_prefix]YYYYMMDD`.
@@ -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 `[table_prefix]YYYYMMDD`.
@@ -52,38 +82,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..63d5ae8c86fb --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\332\001\n\037com.google.cl" + + "oud.datacatalog.v1B\rBigQueryProtoP\001ZFgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/datacatalog/v1;datacatalog\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.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 12c9ddb39644..ee7986666b1d 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,84 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryRoutineSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private com.google.protobuf.LazyStringList importedLibraries_; /** + * + * *
    * 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. */ @@ -86,20 +113,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; @@ -111,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < importedLibraries_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, importedLibraries_.getRaw(i)); } @@ -141,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -171,129 +200,135 @@ 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(); @@ -303,9 +338,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_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 @@ -324,7 +359,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); + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = + new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { importedLibraries_ = importedLibraries_.getUnmodifiableView(); @@ -339,38 +375,39 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -378,7 +415,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_; @@ -415,18 +453,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) { @@ -436,44 +476,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList importedLibraries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList importedLibraries_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureImportedLibrariesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { importedLibraries_ = new com.google.protobuf.LazyStringArrayList(importedLibraries_); 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() { return importedLibraries_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -481,80 +532,90 @@ 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) { + public Builder setImportedLibraries(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureImportedLibrariesIsMutable(); + throw new NullPointerException(); + } + ensureImportedLibrariesIsMutable(); importedLibraries_.set(index, value); onChanged(); 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) { + public Builder addImportedLibraries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureImportedLibrariesIsMutable(); + throw new NullPointerException(); + } + ensureImportedLibrariesIsMutable(); importedLibraries_.add(value); onChanged(); 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_); onChanged(); return this; } /** + * + * *
      * Paths of the imported libraries.
      * 
* * repeated string imported_libraries = 1; + * * @return This builder for chaining. */ public Builder clearImportedLibraries() { @@ -564,28 +625,30 @@ public Builder clearImportedLibraries() { 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) { + public Builder addImportedLibrariesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureImportedLibrariesIsMutable(); importedLibraries_.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); } @@ -595,12 +658,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(); } @@ -609,27 +672,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; @@ -644,6 +707,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..d170dc9cd366 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 2f4b5cc5c14b..abcbda61e239 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,62 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; } @@ -72,58 +94,77 @@ 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.valueOf(tableSourceType_); + com.google.cloud.datacatalog.v1.TableSourceType result = + com.google.cloud.datacatalog.v1.TableSourceType.valueOf(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 @@ -131,22 +172,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`.
@@ -157,19 +203,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 @@ -177,22 +226,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`.
@@ -203,12 +257,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;
@@ -220,9 +275,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) {
@@ -240,17 +296,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;
@@ -260,23 +319,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.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:
@@ -312,129 +370,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(); @@ -452,9 +516,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 @@ -473,7 +537,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); + com.google.cloud.datacatalog.v1.BigQueryTableSpec result = + new com.google.cloud.datacatalog.v1.BigQueryTableSpec(this); result.tableSourceType_ = tableSourceType_; if (typeSpecCase_ == 2) { if (viewSpecBuilder_ == null) { @@ -498,38 +563,39 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -537,22 +603,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(); @@ -580,31 +650,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - tableSourceType_ = input.readEnum(); + case 8: + { + tableSourceType_ = input.readEnum(); - 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: + 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) { @@ -614,12 +684,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() { @@ -629,54 +699,75 @@ public Builder clearTypeSpec() { return this; } - 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. */ public Builder setTableSourceTypeValue(int value) { - + tableSourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.TableSourceType result = com.google.cloud.datacatalog.v1.TableSourceType.valueOf(tableSourceType_); + com.google.cloud.datacatalog.v1.TableSourceType result = + com.google.cloud.datacatalog.v1.TableSourceType.valueOf(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. */ @@ -684,35 +775,46 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1.TableSourceTyp if (value == null) { throw new NullPointerException(); } - + tableSourceType_ = value.getNumber(); onChanged(); 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() { - + tableSourceType_ = 0; onChanged(); return this; } 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 @@ -720,12 +822,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 @@ -743,6 +848,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { } } /** + * + * *
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -764,6 +871,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`.
@@ -771,8 +880,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();
@@ -783,6 +891,8 @@ public Builder setViewSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -792,10 +902,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;
         }
@@ -811,6 +924,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`.
@@ -835,6 +950,8 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -846,6 +963,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`.
@@ -865,6 +984,8 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * Table view specification. Populated only if
      * the `table_source_type` is `BIGQUERY_VIEW`.
@@ -873,33 +994,45 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return viewSpecBuilder_;
     }
 
     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 @@ -907,12 +1040,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 @@ -930,6 +1066,8 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { } } /** + * + * *
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -951,6 +1089,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`.
@@ -958,8 +1098,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();
@@ -970,6 +1109,8 @@ public Builder setTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -979,10 +1120,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;
         }
@@ -998,6 +1142,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`.
@@ -1022,6 +1168,8 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1033,6 +1181,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`.
@@ -1052,6 +1202,8 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Specification of a BigQuery table. Populated only if
      * the `table_source_type` is `BIGQUERY_TABLE`.
@@ -1060,26 +1212,32 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 3;
-      onChanged();;
+      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);
     }
 
@@ -1089,12 +1247,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();
   }
@@ -1103,27 +1261,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;
@@ -1138,6 +1296,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 08a828c379ed..de994b2039e1 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 68%
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 2cb0524e45a0..f88366f25a0c 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,60 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,18 +83,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.
    * 
@@ -88,11 +116,14 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr 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 @@ -100,18 +131,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.
    * 
@@ -124,6 +162,7 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -153,12 +191,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; @@ -168,22 +204,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; @@ -209,130 +244,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(); @@ -352,9 +393,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 @@ -373,7 +414,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); + com.google.cloud.datacatalog.v1.BusinessContext result = + new com.google.cloud.datacatalog.v1.BusinessContext(this); if (entryOverviewBuilder_ == null) { result.entryOverview_ = entryOverview_; } else { @@ -392,38 +434,39 @@ public com.google.cloud.datacatalog.v1.BusinessContext buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -431,7 +474,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()); } @@ -464,26 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEntryOverviewFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getContactsFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage(getContactsFieldBuilder().getBuilder(), extensionRegistry); + + 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,34 +539,47 @@ public Builder mergeFrom( 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 entryOverviewBuilder_ != null || entryOverview_ != null; } /** + * + * *
      * 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.
      * 
@@ -544,6 +600,8 @@ public Builder setEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview va return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -562,6 +620,8 @@ public Builder setEntryOverview( return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -572,7 +632,9 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview if (entryOverviewBuilder_ == null) { if (entryOverview_ != null) { entryOverview_ = - com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_) + .mergeFrom(value) + .buildPartial(); } else { entryOverview_ = value; } @@ -584,6 +646,8 @@ public Builder mergeEntryOverview(com.google.cloud.datacatalog.v1.EntryOverview return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -602,6 +666,8 @@ public Builder clearEntryOverview() { return this; } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -609,11 +675,13 @@ public Builder clearEntryOverview() { * .google.cloud.datacatalog.v1.EntryOverview entry_overview = 1; */ public com.google.cloud.datacatalog.v1.EntryOverview.Builder getEntryOverviewBuilder() { - + onChanged(); return getEntryOverviewFieldBuilder().getBuilder(); } /** + * + * *
      * Entry overview fields for rich text descriptions of entries.
      * 
@@ -624,11 +692,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.
      * 
@@ -636,14 +707,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_; @@ -651,34 +725,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 contactsBuilder_ != null || contacts_ != null; } /** + * + * *
      * 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.
      * 
@@ -699,14 +786,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(); onChanged(); @@ -717,6 +805,8 @@ public Builder setContacts( return this; } /** + * + * *
      * Contact people for the entry.
      * 
@@ -727,7 +817,9 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { if (contactsBuilder_ == null) { if (contacts_ != null) { contacts_ = - com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_) + .mergeFrom(value) + .buildPartial(); } else { contacts_ = value; } @@ -739,6 +831,8 @@ public Builder mergeContacts(com.google.cloud.datacatalog.v1.Contacts value) { return this; } /** + * + * *
      * Contact people for the entry.
      * 
@@ -757,6 +851,8 @@ public Builder clearContacts() { return this; } /** + * + * *
      * Contact people for the entry.
      * 
@@ -764,11 +860,13 @@ public Builder clearContacts() { * .google.cloud.datacatalog.v1.Contacts contacts = 2; */ public com.google.cloud.datacatalog.v1.Contacts.Builder getContactsBuilder() { - + onChanged(); return getContactsFieldBuilder().getBuilder(); } /** + * + * *
      * Contact people for the entry.
      * 
@@ -779,11 +877,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.
      * 
@@ -791,21 +892,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); } @@ -815,12 +919,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(); } @@ -829,27 +933,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; @@ -864,6 +968,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..b2e2d06119da 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/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 217ff550c77f..9d6c25cac5fd 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +46,43 @@ private CloudSqlBigQueryConnectionSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudSqlBigQueryConnectionSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
      * 
@@ -68,6 +91,8 @@ public enum DatabaseType */ DATABASE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -76,6 +101,8 @@ public enum DatabaseType */ POSTGRES(1), /** + * + * *
      * Cloud SQL for MySQL.
      * 
@@ -87,6 +114,8 @@ public enum DatabaseType ; /** + * + * *
      * Unspecified database type.
      * 
@@ -95,6 +124,8 @@ public enum DatabaseType */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cloud SQL for PostgreSQL.
      * 
@@ -103,6 +134,8 @@ public enum DatabaseType */ public static final int POSTGRES_VALUE = 1; /** + * + * *
      * Cloud SQL for MySQL.
      * 
@@ -111,7 +144,6 @@ public enum DatabaseType */ public static final int MYSQL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +168,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; @@ -198,11 +232,14 @@ private DatabaseType(int value) { public static final int INSTANCE_ID_FIELD_NUMBER = 1; 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 @@ -211,29 +248,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 { @@ -244,11 +281,14 @@ public java.lang.String getInstanceId() { public static final int DATABASE_FIELD_NUMBER = 2; private volatile java.lang.Object database_; /** + * + * *
    * Database name.
    * 
* * string database = 2; + * * @return The database. */ @java.lang.Override @@ -257,29 +297,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 { @@ -290,31 +330,43 @@ public java.lang.String getDatabase() { public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.valueOf(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.valueOf(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; @@ -326,15 +378,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); @@ -352,9 +406,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; @@ -364,17 +420,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; @@ -399,129 +454,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(); @@ -535,13 +597,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(); } @@ -556,7 +619,8 @@ 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); + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = + new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); result.instanceId_ = instanceId_; result.database_ = database_; result.type_ = type_; @@ -568,38 +632,39 @@ public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -607,7 +672,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_; onChanged(); @@ -645,27 +712,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - instanceId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - database_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - type_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + instanceId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + database_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + type_ = input.readEnum(); + + 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) { @@ -678,18 +749,20 @@ public Builder mergeFrom( 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; @@ -698,20 +771,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 { @@ -719,54 +793,61 @@ 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) { + public Builder setInstanceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; 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() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); 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) { + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -774,18 +855,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; @@ -794,20 +877,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 { @@ -815,54 +899,61 @@ 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) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * Database name.
      * 
* * string database = 2; + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); 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) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -870,80 +961,106 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.valueOf(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.valueOf( + 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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 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); } @@ -953,41 +1070,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; @@ -999,9 +1118,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..cbeb5b3b8cc9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 399d71ae58cb..899b92eab9aa 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = "";
@@ -30,32 +48,35 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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);
   }
 
   public static final int COLUMN_FIELD_NUMBER = 6;
   private volatile java.lang.Object column_;
   /**
+   *
+   *
    * 
    * Required. Name of the column.
    * Must be a UTF-8 string without dots (.).
@@ -63,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The column. */ @java.lang.Override @@ -71,14 +93,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.
    * Must be a UTF-8 string without dots (.).
@@ -86,16 +109,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 { @@ -106,12 +128,15 @@ public java.lang.String getColumn() { public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** + * + * *
    * Required. Type of the column.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The type. */ @java.lang.Override @@ -120,30 +145,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; } } /** + * + * *
    * Required. Type of the column.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * 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 { @@ -154,6 +179,8 @@ public java.lang.String getType() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -161,6 +188,7 @@ public java.lang.String getType() {
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -169,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; } } /** + * + * *
    * Optional. Description of the column. Default value is an empty string.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -184,16 +213,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 { @@ -204,6 +232,8 @@ public java.lang.String getDescription() { public static final int MODE_FIELD_NUMBER = 3; private volatile java.lang.Object mode_; /** + * + * *
    * Optional. A column's mode indicates whether values in this column are required,
    * nullable, or repeated.
@@ -212,6 +242,7 @@ public java.lang.String getDescription() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The mode. */ @java.lang.Override @@ -220,14 +251,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.
@@ -236,16 +268,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 { @@ -256,64 +287,84 @@ public java.lang.String getMode() { public static final int SUBCOLUMNS_FIELD_NUMBER = 7; 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); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,8 +376,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -364,8 +414,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; @@ -375,23 +424,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.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 (!getSubcolumnsList() - .equals(other.getSubcolumnsList())) 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 (!getSubcolumnsList().equals(other.getSubcolumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -420,97 +465,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.
@@ -518,33 +570,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();
@@ -567,9 +618,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
@@ -588,7 +639,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.column_ = column_;
       result.type_ = type_;
@@ -611,38 +663,39 @@ public com.google.cloud.datacatalog.v1.ColumnSchema buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -685,9 +738,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.ColumnSchema other) {
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subcolumnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubcolumnsFieldBuilder() : null;
+            subcolumnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubcolumnsFieldBuilder()
+                    : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -719,45 +773,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              type_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                type_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              mode_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                mode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 50: {
-              column_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 50:
+              {
+                column_ = input.readStringRequireUtf8();
 
-              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
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -767,10 +826,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object column_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -778,13 +840,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -793,6 +855,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -800,15 +864,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 { @@ -816,6 +879,8 @@ public java.lang.String getColumn() { } } /** + * + * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -823,20 +888,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) { + public Builder setColumn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + column_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -844,15 +911,18 @@ public Builder setColumn(
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = getDefaultInstance().getColumn(); onChanged(); return this; } /** + * + * *
      * Required. Name of the column.
      * Must be a UTF-8 string without dots (.).
@@ -860,16 +930,16 @@ 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) { + public Builder setColumnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + column_ = value; onChanged(); return this; @@ -877,19 +947,21 @@ public Builder setColumnBytes( private java.lang.Object type_ = ""; /** + * + * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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; @@ -898,21 +970,22 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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 { @@ -920,57 +993,64 @@ public java.lang.String getType() { } } /** + * + * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * Required. Type of the column.
      * Must be a UTF-8 string with the maximum size of 128 bytes.
      * 
* * 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) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -978,6 +1058,8 @@ public Builder setTypeBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -985,13 +1067,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; @@ -1000,6 +1082,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1007,15 +1091,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 { @@ -1023,6 +1106,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1030,20 +1115,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1051,15 +1138,18 @@ public Builder setDescription(
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the column. Default value is an empty string.
      * The description must be a UTF-8 string with the maximum size of 2000
@@ -1067,16 +1157,16 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1084,6 +1174,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.
@@ -1092,13 +1184,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; @@ -1107,6 +1199,8 @@ public java.lang.String getMode() { } } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1115,15 +1209,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 { @@ -1131,6 +1224,8 @@ public java.lang.String getMode() { } } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1139,20 +1234,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) { + public Builder setMode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1161,15 +1258,18 @@ public Builder setMode(
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = getDefaultInstance().getMode(); onChanged(); return this; } /** + * + * *
      * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
@@ -1178,39 +1278,48 @@ 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) { + public Builder setModeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mode_ = value; onChanged(); return this; } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - subcolumns_ = new java.util.ArrayList(subcolumns_); + subcolumns_ = + new java.util.ArrayList(subcolumns_); 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> 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) { @@ -1220,11 +1329,15 @@ 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) { @@ -1234,11 +1347,15 @@ 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) { @@ -1248,14 +1365,17 @@ 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(); @@ -1269,11 +1389,15 @@ 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) { @@ -1287,11 +1411,15 @@ 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) { @@ -1307,14 +1435,17 @@ 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(); @@ -1328,11 +1459,15 @@ 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) { @@ -1346,11 +1481,15 @@ 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) { @@ -1364,18 +1503,21 @@ 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); @@ -1383,11 +1525,15 @@ 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) { @@ -1400,11 +1546,15 @@ 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) { @@ -1417,39 +1567,50 @@ 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 { @@ -1457,56 +1618,70 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1516,12 +1691,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(); } @@ -1530,27 +1705,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; @@ -1565,6 +1740,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 66% 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 ba08488d4b92..324e8e2bc5df 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Must be a UTF-8 string without dots (.).
@@ -15,10 +33,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.
    * Must be a UTF-8 string without dots (.).
@@ -26,34 +47,41 @@ 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.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Required. Type of the column.
    * Must be a UTF-8 string with the maximum size of 128 bytes.
    * 
* * 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.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -61,10 +89,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.
    * The description must be a UTF-8 string with the maximum size of 2000
@@ -72,12 +103,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.
@@ -86,10 +119,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.
@@ -98,52 +134,70 @@ 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.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); } 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..75a56f19348d --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java @@ -0,0 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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*{\n\020Integrate" + + "dSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIED" + + "\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022DA" + + "TAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004B\313\001\n\037com" + + ".google.cloud.datacatalog.v1P\001ZFgoogle.g" + + "olang.org/genproto/googleapis/cloud/data" + + "catalog/v1;datacatalog\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.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/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 f9fa1d193554..8923f0a71dd5 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,115 +1,148 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_ = ""; @@ -117,37 +150,41 @@ private Person() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Person(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object designation_; /** + * + * *
      * Designation of the person, for example, Data Steward.
      * 
* * string designation = 1; + * * @return The designation. */ @java.lang.Override @@ -156,29 +193,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 { @@ -189,12 +226,15 @@ public java.lang.String getDesignation() { public static final int EMAIL_FIELD_NUMBER = 2; 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 @@ -203,30 +243,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 { @@ -235,6 +275,7 @@ public java.lang.String getEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,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(designation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, designation_); } @@ -277,17 +317,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; } @@ -309,87 +348,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 @@ -399,39 +444,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(); @@ -443,9 +490,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 @@ -464,7 +511,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); + com.google.cloud.datacatalog.v1.Contacts.Person result = + new com.google.cloud.datacatalog.v1.Contacts.Person(this); result.designation_ = designation_; result.email_ = email_; onBuilt(); @@ -475,38 +523,41 @@ public com.google.cloud.datacatalog.v1.Contacts.Person buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -514,7 +565,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_; onChanged(); @@ -549,22 +601,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - designation_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - email_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + designation_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + email_ = input.readStringRequireUtf8(); + + 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) { @@ -577,18 +632,20 @@ public Builder mergeFrom( 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; @@ -597,20 +654,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 { @@ -618,54 +676,61 @@ 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) { + public Builder setDesignation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + designation_ = value; onChanged(); return this; } /** + * + * *
        * Designation of the person, for example, Data Steward.
        * 
* * string designation = 1; + * * @return This builder for chaining. */ public Builder clearDesignation() { - + designation_ = getDefaultInstance().getDesignation(); onChanged(); 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) { + public Builder setDesignationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + designation_ = value; onChanged(); return this; @@ -673,19 +738,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; @@ -694,21 +761,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 { @@ -716,61 +784,69 @@ 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) { + public Builder setEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + email_ = value; 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() { - + email_ = getDefaultInstance().getEmail(); 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; + * * @param value The bytes for email to set. * @return This builder for chaining. */ - public Builder setEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + email_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -783,12 +859,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(); } @@ -797,27 +873,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; @@ -832,12 +909,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; private java.util.List people_; /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -849,6 +927,8 @@ public java.util.List getPeople return people_; } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -856,11 +936,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.
    * 
@@ -872,6 +954,8 @@ public int getPeopleCount() { return people_.size(); } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -883,6 +967,8 @@ public com.google.cloud.datacatalog.v1.Contacts.Person getPeople(int index) { return people_.get(index); } /** + * + * *
    * The list of contact people for the entry.
    * 
@@ -890,12 +976,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; @@ -907,8 +993,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -922,8 +1007,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; @@ -933,15 +1017,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; } @@ -962,130 +1045,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(); @@ -1100,9 +1189,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 @@ -1121,7 +1210,8 @@ 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); int from_bitField0_ = bitField0_; if (peopleBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1140,38 +1230,39 @@ public com.google.cloud.datacatalog.v1.Contacts buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1198,9 +1289,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_); } @@ -1232,25 +1324,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) { @@ -1260,21 +1354,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.
      * 
@@ -1289,6 +1390,8 @@ public java.util.List getPeople } } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1303,6 +1406,8 @@ public int getPeopleCount() { } } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1317,14 +1422,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(); @@ -1338,6 +1444,8 @@ public Builder setPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1356,6 +1464,8 @@ public Builder setPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1376,14 +1486,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(); @@ -1397,6 +1508,8 @@ public Builder addPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1415,6 +1528,8 @@ public Builder addPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1433,6 +1548,8 @@ public Builder addPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1443,8 +1560,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); @@ -1452,6 +1568,8 @@ public Builder addAllPeople( return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1469,6 +1587,8 @@ public Builder clearPeople() { return this; } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1486,39 +1606,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 { @@ -1526,6 +1651,8 @@ public com.google.cloud.datacatalog.v1.Contacts.PersonOrBuilder getPeopleOrBuild } } /** + * + * *
      * The list of contact people for the entry.
      * 
@@ -1533,49 +1660,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); } @@ -1585,12 +1718,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(); } @@ -1599,27 +1732,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; @@ -1634,6 +1767,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..f2a1211c7024 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f057fec1d649..a90fe89d62fe 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +45,45 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * 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 @@ -68,31 +92,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 names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * 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 { @@ -103,6 +129,8 @@ public java.lang.String getParent() { public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; private volatile java.lang.Object entryGroupId_; /** + * + * *
    * Required. The ID of the entry group to create.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -111,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ @java.lang.Override @@ -119,14 +148,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 contain only letters (a-z, A-Z), numbers (0-9),
@@ -135,16 +165,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 { @@ -155,11 +184,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 @@ -167,18 +199,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.
    * 
@@ -191,6 +230,7 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -226,8 +265,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_); @@ -240,21 +278,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; @@ -281,96 +317,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].
@@ -378,33 +422,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();
@@ -422,9 +465,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
@@ -443,7 +486,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);
+      com.google.cloud.datacatalog.v1.CreateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.CreateEntryGroupRequest(this);
       result.parent_ = parent_;
       result.entryGroupId_ = entryGroupId_;
       if (entryGroupBuilder_ == null) {
@@ -459,38 +503,39 @@ public com.google.cloud.datacatalog.v1.CreateEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -498,7 +543,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_;
         onChanged();
@@ -536,29 +582,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              entryGroupId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                entryGroupId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,20 +619,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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; @@ -593,22 +645,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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 { @@ -616,60 +671,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -677,6 +745,8 @@ public Builder setParentBytes( private java.lang.Object entryGroupId_ = ""; /** + * + * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -685,13 +755,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; @@ -700,6 +770,8 @@ public java.lang.String getEntryGroupId() { } } /** + * + * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -708,15 +780,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 { @@ -724,6 +795,8 @@ public java.lang.String getEntryGroupId() { } } /** + * + * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -732,20 +805,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) { + public Builder setEntryGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryGroupId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -754,15 +829,18 @@ public Builder setEntryGroupId(
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryGroupId() { - + entryGroupId_ = getDefaultInstance().getEntryGroupId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the entry group to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -771,16 +849,16 @@ 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) { + public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryGroupId_ = value; onChanged(); return this; @@ -788,34 +866,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 entryGroupBuilder_ != null || entryGroup_ != null; } /** + * + * *
      * 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.
      * 
@@ -836,6 +927,8 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -854,6 +947,8 @@ public Builder setEntryGroup( return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -864,7 +959,9 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) if (entryGroupBuilder_ == null) { if (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_) + .mergeFrom(value) + .buildPartial(); } else { entryGroup_ = value; } @@ -876,6 +973,8 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -894,6 +993,8 @@ public Builder clearEntryGroup() { return this; } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -901,11 +1002,13 @@ public Builder clearEntryGroup() { * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; */ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() { - + onChanged(); return getEntryGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The entry group to create. Defaults to empty.
      * 
@@ -916,11 +1019,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.
      * 
@@ -928,21 +1034,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); } @@ -952,12 +1061,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(); } @@ -966,27 +1075,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; @@ -1001,6 +1110,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 68% 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 c3b0b07a00fa..25a114ffdfcd 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,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Note: The entry group itself and its child resources might not be
    * 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.
    * Note: The entry group itself and its child resources might not be
    * 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.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -40,10 +67,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 contain only letters (a-z, A-Z), numbers (0-9),
@@ -52,30 +82,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 a13360c993af..01700bbed8bf 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +45,45 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be 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 @@ -68,31 +92,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 this entry belongs to.
    * Note: The entry itself and its child resources might not be 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 { @@ -103,6 +129,8 @@ public java.lang.String getParent() { public static final int ENTRY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object entryId_; /** + * + * *
    * Required. The ID of the entry to create.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -111,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryId. */ @java.lang.Override @@ -119,14 +148,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.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -135,16 +165,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 { @@ -155,11 +184,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 @@ -167,11 +200,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 @@ -179,11 +216,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() { @@ -191,6 +231,7 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -226,8 +266,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_); @@ -240,21 +279,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; @@ -281,96 +318,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].
@@ -378,33 +422,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();
@@ -422,9 +465,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
@@ -443,7 +486,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);
+      com.google.cloud.datacatalog.v1.CreateEntryRequest result =
+          new com.google.cloud.datacatalog.v1.CreateEntryRequest(this);
       result.parent_ = parent_;
       result.entryId_ = entryId_;
       if (entryBuilder_ == null) {
@@ -459,38 +503,39 @@ public com.google.cloud.datacatalog.v1.CreateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -498,7 +543,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_;
         onChanged();
@@ -536,29 +582,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              entryId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                entryId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,20 +619,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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; @@ -593,22 +645,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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 { @@ -616,60 +671,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -677,6 +745,8 @@ public Builder setParentBytes( private java.lang.Object entryId_ = ""; /** + * + * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -685,13 +755,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; @@ -700,6 +770,8 @@ public java.lang.String getEntryId() { } } /** + * + * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -708,15 +780,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 { @@ -724,6 +795,8 @@ public java.lang.String getEntryId() { } } /** + * + * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -732,20 +805,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) { + public Builder setEntryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -754,15 +829,18 @@ public Builder setEntryId(
      * 
* * string entry_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryId() { - + entryId_ = getDefaultInstance().getEntryId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the entry to create.
      * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -771,16 +849,16 @@ 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) { + public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryId_ = value; onChanged(); return this; @@ -788,24 +866,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 entryBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -816,11 +905,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) { @@ -836,14 +928,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(); onChanged(); @@ -854,17 +948,22 @@ 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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_) + .mergeFrom(value) + .buildPartial(); } else { entry_ = value; } @@ -876,11 +975,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() { if (entryBuilder_ == null) { @@ -894,55 +996,66 @@ 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() { - + onChanged(); 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); } @@ -952,12 +1065,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(); } @@ -966,27 +1079,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; @@ -1001,6 +1114,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 37904b6ea5d9..92565797cfc3 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,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Note: The entry itself and its child resources might not be 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 name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be 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 to create.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -40,10 +67,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.
    * The ID must contain only letters (a-z, A-Z), numbers (0-9),
@@ -52,35 +82,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 ff562aadf5c1..13c95940a021 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,29 +89,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 { @@ -98,11 +124,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 @@ -110,18 +139,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.
    * 
@@ -134,6 +170,7 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +202,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; @@ -177,19 +212,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; @@ -214,96 +248,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].
@@ -311,33 +353,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();
@@ -353,9 +394,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
@@ -374,7 +415,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);
+      com.google.cloud.datacatalog.v1.CreatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.CreatePolicyTagRequest(this);
       result.parent_ = parent_;
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
@@ -389,38 +431,39 @@ public com.google.cloud.datacatalog.v1.CreatePolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +471,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_;
         onChanged();
@@ -462,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +537,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +561,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 { @@ -533,54 +585,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -588,34 +653,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 policyTagBuilder_ != null || policyTag_ != null; } /** + * + * *
      * 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.
      * 
@@ -636,14 +714,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(); onChanged(); @@ -654,6 +733,8 @@ public Builder setPolicyTag( return this; } /** + * + * *
      * The policy tag to create.
      * 
@@ -664,7 +745,9 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { if (policyTagBuilder_ == null) { if (policyTag_ != null) { policyTag_ = - com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_) + .mergeFrom(value) + .buildPartial(); } else { policyTag_ = value; } @@ -676,6 +759,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { return this; } /** + * + * *
      * The policy tag to create.
      * 
@@ -694,6 +779,8 @@ public Builder clearPolicyTag() { return this; } /** + * + * *
      * The policy tag to create.
      * 
@@ -701,11 +788,13 @@ public Builder clearPolicyTag() { * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; */ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() { - + onChanged(); return getPolicyTagFieldBuilder().getBuilder(); } /** + * + * *
      * The policy tag to create.
      * 
@@ -716,11 +805,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.
      * 
@@ -728,21 +820,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); } @@ -752,12 +847,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(); } @@ -766,27 +861,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; @@ -801,6 +896,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..c459a713475c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 65% 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 8ea7bc6bd606..70db0c785ca5 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the resource to attach this tag to.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the resource to attach this tag to.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -85,17 +110,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 +132,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 +148,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 +164,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 +179,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 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -174,8 +211,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 +221,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,97 +256,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].
@@ -319,33 +361,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();
@@ -361,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
@@ -382,7 +423,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);
+      com.google.cloud.datacatalog.v1.CreateTagRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTagRequest(this);
       result.parent_ = parent_;
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
@@ -397,38 +439,39 @@ public com.google.cloud.datacatalog.v1.CreateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -436,7 +479,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_;
         onChanged();
@@ -470,24 +514,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -500,6 +545,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -508,14 +555,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; @@ -524,6 +573,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -532,16 +583,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 { @@ -549,6 +601,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -557,21 +611,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -580,16 +638,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to.
      * Tags can be attached to entries or entry groups. An entry can have up to
@@ -598,17 +661,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -616,24 +681,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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -644,11 +720,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) { @@ -664,14 +743,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(); onChanged(); @@ -682,17 +763,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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -704,11 +788,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() { if (tagBuilder_ == null) { @@ -722,55 +809,66 @@ 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() { - + onChanged(); 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); } @@ -780,12 +878,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(); } @@ -794,27 +892,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; @@ -829,6 +927,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 c57692facb2a..3840bdfc9e82 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -16,11 +34,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.
    * Tags can be attached to entries or entry groups. An entry can have up to
@@ -29,36 +52,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 65% 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 e81be360d0fa..58c016bd7d43 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,38 +45,44 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,30 +91,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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagTemplateFieldId_; /** + * + * *
    * Required. The ID of the tag template field to create.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -111,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -119,14 +148,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.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -137,16 +167,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 { @@ -157,11 +186,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 @@ -169,23 +203,34 @@ 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() { @@ -193,6 +238,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -231,8 +276,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; @@ -242,21 +286,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; @@ -283,96 +325,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].
@@ -380,33 +430,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();
@@ -424,13 +473,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();
     }
 
@@ -445,7 +495,8 @@ 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);
+      com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest(this);
       result.parent_ = parent_;
       result.tagTemplateFieldId_ = tagTemplateFieldId_;
       if (tagTemplateFieldBuilder_ == null) {
@@ -461,38 +512,39 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -500,7 +552,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_;
         onChanged();
@@ -538,29 +592,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              tagTemplateFieldId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                tagTemplateFieldId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -573,19 +630,23 @@ public Builder mergeFrom(
 
     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; @@ -594,21 +655,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 { @@ -616,57 +680,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -674,6 +751,8 @@ public Builder setParentBytes( private java.lang.Object tagTemplateFieldId_ = ""; /** + * + * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -684,13 +763,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; @@ -699,6 +778,8 @@ public java.lang.String getTagTemplateFieldId() { } } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -709,15 +790,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 { @@ -725,6 +805,8 @@ public java.lang.String getTagTemplateFieldId() { } } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -735,20 +817,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) { + public Builder setTagTemplateFieldId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateFieldId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -759,15 +843,18 @@ public Builder setTagTemplateFieldId(
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateFieldId() { - + tagTemplateFieldId_ = getDefaultInstance().getTagTemplateFieldId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Note: Adding a required field to an existing template is *not* allowed.
@@ -778,16 +865,16 @@ 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) { + public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateFieldId_ = value; onChanged(); return this; @@ -795,39 +882,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 tagTemplateFieldBuilder_ != null || 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. */ 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) { @@ -843,11 +949,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) { @@ -861,17 +971,23 @@ 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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplateField_ = value; } @@ -883,11 +999,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() { if (tagTemplateFieldBuilder_ == null) { @@ -901,55 +1021,72 @@ 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() { - + onChanged(); 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); } @@ -959,12 +1096,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(); } @@ -973,27 +1111,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; @@ -1008,6 +1146,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 77f413663821..d0f02907ae8e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -40,10 +67,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.
    * Note: Adding a required field to an existing template is *not* allowed.
@@ -54,35 +84,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 65% 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 ad2b949de54f..057750ed24d8 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,38 +45,44 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,30 +91,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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object tagTemplateId_; /** + * + * *
    * Required. The ID of the tag template to create.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -109,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateId. */ @java.lang.Override @@ -117,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.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -133,16 +163,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 { @@ -153,11 +182,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 @@ -165,23 +199,34 @@ 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() { @@ -189,6 +234,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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_); } @@ -224,8 +269,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_); @@ -238,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.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; @@ -279,96 +321,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].
@@ -376,33 +426,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();
@@ -420,9 +469,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
@@ -441,7 +490,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);
+      com.google.cloud.datacatalog.v1.CreateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTagTemplateRequest(this);
       result.parent_ = parent_;
       result.tagTemplateId_ = tagTemplateId_;
       if (tagTemplateBuilder_ == null) {
@@ -457,38 +507,39 @@ public com.google.cloud.datacatalog.v1.CreateTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -496,7 +547,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_;
         onChanged();
@@ -534,29 +586,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              tagTemplateId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                tagTemplateId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -569,19 +623,23 @@ public Builder mergeFrom(
 
     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; @@ -590,21 +648,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 { @@ -612,57 +673,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -670,6 +744,8 @@ public Builder setParentBytes( private java.lang.Object tagTemplateId_ = ""; /** + * + * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -678,13 +754,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; @@ -693,6 +769,8 @@ public java.lang.String getTagTemplateId() { } } /** + * + * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -701,15 +779,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 { @@ -717,6 +794,8 @@ public java.lang.String getTagTemplateId() { } } /** + * + * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -725,20 +804,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) { + public Builder setTagTemplateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -747,15 +828,18 @@ public Builder setTagTemplateId(
      * 
* * string tag_template_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateId() { - + tagTemplateId_ = getDefaultInstance().getTagTemplateId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template to create.
      * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -764,16 +848,16 @@ 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) { + public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateId_ = value; onChanged(); return this; @@ -781,39 +865,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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -829,11 +932,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) { @@ -847,17 +954,23 @@ 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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplate_ = value; } @@ -869,11 +982,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() { if (tagTemplateBuilder_ == null) { @@ -887,55 +1004,71 @@ 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() { - + onChanged(); 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); } @@ -945,12 +1078,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(); } @@ -959,27 +1092,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; @@ -994,6 +1127,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 4b34158e7fe1..1fd828d9af34 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -38,10 +65,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.
    * The ID must contain only lowercase letters (a-z), numbers (0-9),
@@ -50,35 +80,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 0cd0b79e74ca..fc2674b1025a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,29 +89,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 { @@ -98,11 +124,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 @@ -110,18 +139,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.
    * 
@@ -134,6 +170,7 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +202,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; @@ -177,19 +212,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; @@ -214,96 +248,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].
@@ -311,33 +353,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();
@@ -353,9 +394,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
@@ -374,7 +415,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);
+      com.google.cloud.datacatalog.v1.CreateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.CreateTaxonomyRequest(this);
       result.parent_ = parent_;
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
@@ -389,38 +431,39 @@ public com.google.cloud.datacatalog.v1.CreateTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +471,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_;
         onChanged();
@@ -462,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +537,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +561,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 { @@ -533,54 +585,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -588,34 +653,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 taxonomyBuilder_ != null || taxonomy_ != null; } /** + * + * *
      * 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.
      * 
@@ -636,14 +714,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(); onChanged(); @@ -654,6 +733,8 @@ public Builder setTaxonomy( return this; } /** + * + * *
      * The taxonomy to create.
      * 
@@ -664,7 +745,9 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { if (taxonomyBuilder_ == null) { if (taxonomy_ != null) { taxonomy_ = - com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_) + .mergeFrom(value) + .buildPartial(); } else { taxonomy_ = value; } @@ -676,6 +759,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { return this; } /** + * + * *
      * The taxonomy to create.
      * 
@@ -694,6 +779,8 @@ public Builder clearTaxonomy() { return this; } /** + * + * *
      * The taxonomy to create.
      * 
@@ -701,11 +788,13 @@ public Builder clearTaxonomy() { * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; */ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() { - + onChanged(); return getTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * The taxonomy to create.
      * 
@@ -716,11 +805,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.
      * 
@@ -728,21 +820,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); } @@ -752,12 +847,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(); } @@ -766,27 +861,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; @@ -801,6 +896,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..f6370896a7f7 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 62% 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 5cfdcad37f6d..3f0e78c59c19 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,29 +89,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 { @@ -96,6 +122,7 @@ public java.lang.String getTaxonomy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -132,15 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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.
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.CrossRegionalSource result =
+          new com.google.cloud.datacatalog.v1.CrossRegionalSource(this);
       result.taxonomy_ = taxonomy_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              taxonomy_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                taxonomy_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setTaxonomy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + taxonomy_ = value; 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() { - + taxonomy_ = getDefaultInstance().getTaxonomy(); 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) = { ... } + * + * * @param value The bytes for taxonomy to set. * @return This builder for chaining. */ - public Builder setTaxonomyBytes( - com.google.protobuf.ByteString value) { + public Builder setTaxonomyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + taxonomy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..093b6b5b8a9e --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 9d7663692791..6c384ec59f2e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +45,43 @@ private DataSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
      * 
@@ -68,6 +90,8 @@ public enum Service */ SERVICE_UNSPECIFIED(0), /** + * + * *
      * Google Cloud Storage service.
      * 
@@ -76,6 +100,8 @@ public enum Service */ CLOUD_STORAGE(1), /** + * + * *
      * BigQuery service.
      * 
@@ -87,6 +113,8 @@ public enum Service ; /** + * + * *
      * Default unknown service.
      * 
@@ -95,6 +123,8 @@ public enum Service */ public static final int SERVICE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Google Cloud Storage service.
      * 
@@ -103,6 +133,8 @@ public enum Service */ public static final int CLOUD_STORAGE_VALUE = 1; /** + * + * *
      * BigQuery service.
      * 
@@ -111,7 +143,6 @@ public enum Service */ public static final int BIGQUERY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,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; @@ -197,12 +228,15 @@ private Service(int value) { private int propertiesCase_ = 0; 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; } @@ -218,58 +252,74 @@ 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSource.Service getService() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DataSource.Service result = com.google.cloud.datacatalog.v1.DataSource.Service.valueOf(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.valueOf(service_); + return result == null + ? com.google.cloud.datacatalog.v1.DataSource.Service.UNRECOGNIZED + : result; } public static final int RESOURCE_FIELD_NUMBER = 2; private volatile java.lang.Object resource_; /** + * + * *
    * Full name of a resource as defined by the service. For example:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; + * * @return The resource. */ @java.lang.Override @@ -278,30 +328,30 @@ 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:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * 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 { @@ -312,11 +362,14 @@ public java.lang.String getResource() { public static final int SOURCE_ENTRY_FIELD_NUMBER = 3; 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 @@ -325,29 +378,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 { @@ -357,11 +410,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 @@ -369,21 +425,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.
    * 
@@ -391,14 +452,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; @@ -410,9 +473,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_)) { @@ -433,9 +496,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_); @@ -444,8 +507,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; @@ -455,23 +519,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: @@ -506,130 +568,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(); @@ -648,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 @@ -669,7 +737,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); + com.google.cloud.datacatalog.v1.DataSource result = + new com.google.cloud.datacatalog.v1.DataSource(this); result.service_ = service_; result.resource_ = resource_; result.sourceEntry_ = sourceEntry_; @@ -689,38 +758,39 @@ public com.google.cloud.datacatalog.v1.DataSource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -741,13 +811,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(); @@ -775,34 +847,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - service_ = input.readEnum(); - - break; - } // case 8 - case 18: { - resource_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - sourceEntry_ = input.readStringRequireUtf8(); - - 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(); + + break; + } // case 8 + case 18: + { + resource_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + sourceEntry_ = input.readStringRequireUtf8(); + + 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) { @@ -812,12 +888,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() { @@ -827,54 +903,69 @@ public Builder clearProperties() { return this; } - 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. */ public Builder setServiceValue(int value) { - + service_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DataSource.Service result = com.google.cloud.datacatalog.v1.DataSource.Service.valueOf(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.valueOf(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. */ @@ -882,21 +973,24 @@ public Builder setService(com.google.cloud.datacatalog.v1.DataSource.Service val if (value == null) { throw new NullPointerException(); } - + service_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = 0; onChanged(); return this; @@ -904,19 +998,21 @@ public Builder clearService() { private java.lang.Object resource_ = ""; /** + * + * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * 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; @@ -925,21 +1021,22 @@ public java.lang.String getResource() { } } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * 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 { @@ -947,57 +1044,64 @@ public java.lang.String getResource() { } } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Full name of a resource as defined by the service. For example:
      * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -1005,18 +1109,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; @@ -1025,20 +1131,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 { @@ -1046,67 +1153,80 @@ 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) { + public Builder setSourceEntry(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceEntry_ = value; 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() { - + sourceEntry_ = getDefaultInstance().getSourceEntry(); onChanged(); 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) { + public Builder setSourceEntryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceEntry_ = value; onChanged(); return this; } 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 @@ -1114,11 +1234,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 @@ -1136,6 +1259,8 @@ public com.google.cloud.datacatalog.v1.StorageProperties getStorageProperties() } } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1156,6 +1281,8 @@ public Builder setStorageProperties(com.google.cloud.datacatalog.v1.StoragePrope return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1174,6 +1301,8 @@ public Builder setStorageProperties( return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1182,10 +1311,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; } @@ -1201,6 +1334,8 @@ public Builder mergeStorageProperties(com.google.cloud.datacatalog.v1.StoragePro return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1224,6 +1359,8 @@ public Builder clearStorageProperties() { return this; } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1234,6 +1371,8 @@ public com.google.cloud.datacatalog.v1.StorageProperties.Builder getStoragePrope return getStoragePropertiesFieldBuilder().getBuilder(); } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1241,7 +1380,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 { @@ -1252,6 +1392,8 @@ public com.google.cloud.datacatalog.v1.StoragePropertiesOrBuilder getStorageProp } } /** + * + * *
      * Detailed properties of the underlying storage.
      * 
@@ -1259,26 +1401,32 @@ 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()); properties_ = null; } propertiesCase_ = 4; - onChanged();; + 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); } @@ -1288,12 +1436,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(); } @@ -1302,27 +1450,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; @@ -1337,6 +1485,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 65% 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 9760f5f94fb1..457b3366d84c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,51 +30,55 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -65,18 +86,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.
    * 
@@ -84,11 +112,13 @@ 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() { + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder() { return getBigqueryConnectionSpec(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,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 (bigqueryConnectionSpec_ != null) { output.writeMessage(1, getBigqueryConnectionSpec()); } @@ -115,8 +144,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; @@ -126,17 +155,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; @@ -159,96 +188,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.
@@ -258,33 +295,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();
@@ -298,9 +334,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
@@ -319,7 +355,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);
+      com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result =
+          new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this);
       if (bigqueryConnectionSpecBuilder_ == null) {
         result.bigqueryConnectionSpec_ = bigqueryConnectionSpec_;
       } else {
@@ -333,38 +370,39 @@ public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -372,7 +410,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());
       }
@@ -402,19 +441,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getBigqueryConnectionSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                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) {
@@ -427,41 +467,58 @@ public Builder mergeFrom(
 
     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 bigqueryConnectionSpecBuilder_ != null || bigqueryConnectionSpec_ != null; } /** + * + * *
      * 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(); @@ -475,11 +532,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) { @@ -493,17 +553,24 @@ 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 (bigqueryConnectionSpec_ != null) { bigqueryConnectionSpec_ = - com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder(bigqueryConnectionSpec_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder( + bigqueryConnectionSpec_) + .mergeFrom(value) + .buildPartial(); } else { bigqueryConnectionSpec_ = value; } @@ -515,11 +582,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() { if (bigqueryConnectionSpecBuilder_ == null) { @@ -533,55 +603,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() { + 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); } @@ -591,12 +676,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(); } @@ -605,27 +690,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; @@ -640,6 +725,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..3dd6040e4de3 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 cebed2eccddc..c6dadb784e7d 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,92 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Full name of a resource as defined by the service. For example:
    * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * 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..a754645aa9e6 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\234\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\031\n\014source_entry\030\003 \001(\tB\003\340A\003\022L\n\022s" + + "torage_properties\030\004 \001(\0132..google.cloud.d" + + "atacatalog.v1.StoragePropertiesH\000\"C\n\007Ser" + + "vice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_S" + + "TORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n\021" + + "StorageProperties\022\024\n\014file_pattern\030\001 \003(\t\022" + + "\021\n\tfile_type\030\002 \001(\tB\334\001\n\037com.google.cloud." + + "datacatalog.v1B\017DataSourceProtoP\001ZFgoogl" + + "e.golang.org/genproto/googleapis/cloud/d" + + "atacatalog/v1;datacatalog\370\001\001\252\002\033Google.Cl" + + "oud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCa" + + "talog\\V1\352\002\036Google::Cloud::DataCatalog::V" + + "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_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 64% 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 789697d3a520..e2fc33ae3582 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,54 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -67,6 +89,8 @@ public enum TableType */ TABLE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Native table.
      * 
@@ -75,6 +99,8 @@ public enum TableType */ NATIVE(1), /** + * + * *
      * External table.
      * 
@@ -86,6 +112,8 @@ public enum TableType ; /** + * + * *
      * Default unknown table type.
      * 
@@ -94,6 +122,8 @@ public enum TableType */ public static final int TABLE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Native table.
      * 
@@ -102,6 +132,8 @@ public enum TableType */ public static final int NATIVE_VALUE = 1; /** + * + * *
      * External table.
      * 
@@ -110,7 +142,6 @@ public enum TableType */ public static final int EXTERNAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +166,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; @@ -197,39 +230,55 @@ private TableType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType getType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.valueOf(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.valueOf(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 @@ -237,25 +286,36 @@ 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() { @@ -263,6 +323,7 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpecOrBuilder getDataplexTab } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,9 +335,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) { @@ -291,13 +353,13 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,18 +369,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -343,96 +405,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.
@@ -440,33 +509,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();
@@ -482,9 +550,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
@@ -503,7 +571,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);
+      com.google.cloud.datacatalog.v1.DatabaseTableSpec result =
+          new com.google.cloud.datacatalog.v1.DatabaseTableSpec(this);
       result.type_ = type_;
       if (dataplexTableBuilder_ == null) {
         result.dataplexTable_ = dataplexTable_;
@@ -518,38 +587,39 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -557,7 +627,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());
       }
@@ -590,24 +661,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getDataplexTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                type_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getDataplexTableFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -620,51 +692,67 @@ public Builder mergeFrom(
 
     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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType result = com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType.valueOf(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.valueOf(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. */ @@ -672,21 +760,24 @@ public Builder setType(com.google.cloud.datacatalog.v1.DatabaseTableSpec.TableTy if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of this table.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -694,42 +785,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 dataplexTableBuilder_ != null || 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. */ 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) { @@ -745,12 +855,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) { @@ -764,18 +878,24 @@ 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 (dataplexTable_ != null) { dataplexTable_ = - com.google.cloud.datacatalog.v1.DataplexTableSpec.newBuilder(dataplexTable_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.DataplexTableSpec.newBuilder(dataplexTable_) + .mergeFrom(value) + .buildPartial(); } else { dataplexTable_ = value; } @@ -787,12 +907,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() { if (dataplexTableBuilder_ == null) { @@ -806,58 +930,74 @@ 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() { - + onChanged(); 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_; } + @java.lang.Override - 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 +1007,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(); } @@ -881,27 +1021,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; @@ -916,6 +1056,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 56% 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 c5de518ceaf9..83c96bd39830 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,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } 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..262b639297ed --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java @@ -0,0 +1,1120 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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_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_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_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\033google/protobuf/" + + "empty.proto\032 google/protobuf/field_mask." + + "proto\"\205\003\n\024SearchCatalogRequest\022K\n\005scope\030" + + "\006 \001(\01327.google.cloud.datacatalog.v1.Sear" + + "chCatalogRequest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001" + + "(\tB\003\340A\001\022\021\n\tpage_size\030\002 \001(\005\022\027\n\npage_token" + + "\030\003 \001(\tB\003\340A\001\022\020\n\010order_by\030\005 \001(\t\032\315\001\n\005Scope\022" + + "\027\n\017include_org_ids\030\002 \003(\t\022\033\n\023include_proj" + + "ect_ids\030\003 \003(\t\022#\n\033include_gcp_public_data" + + "sets\030\007 \001(\010\022!\n\024restricted_locations\030\020 \003(\t" + + "B\003\340A\001\022\031\n\014starred_only\030\022 \001(\010B\003\340A\001\022+\n\034incl" + + "ude_public_tag_templates\030\023 \001(\010B\005\030\001\340A\001\"\210\001" + + "\n\025SearchCatalogResponse\022A\n\007results\030\001 \003(\013" + + "20.google.cloud.datacatalog.v1.SearchCat" + + "alogResult\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013u" + + "nreachable\030\006 \003(\t\"\263\001\n\027CreateEntryGroupReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" + + "g.googleapis.com/EntryGroup\022\033\n\016entry_gro" + + "up_id\030\003 \001(\tB\003\340A\002\022<\n\013entry_group\030\002 \001(\0132\'." + + "google.cloud.datacatalog.v1.EntryGroup\"\215" + + "\001\n\027UpdateEntryGroupRequest\022A\n\013entry_grou" + + "p\030\001 \001(\0132\'.google.cloud.datacatalog.v1.En" + + "tryGroupB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMask\"\202\001\n\024GetEntryGroup" + + "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatal" + + "og.googleapis.com/EntryGroup\022-\n\tread_mas" + + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"j\n\027D" + + "eleteEntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A" + + "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" + + "oup\022\022\n\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGro" + + "upsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%data" + + "catalog.googleapis.com/EntryGroup\022\026\n\tpag" + + "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" + + "A\001\"q\n\027ListEntryGroupsResponse\022=\n\014entry_g" + + "roups\030\001 \003(\0132\'.google.cloud.datacatalog.v" + + "1.EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\242\001" + + "\n\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" + + "oup\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\0226\n\005entry\030\002 \001(" + + "\0132\".google.cloud.datacatalog.v1.EntryB\003\340" + + "A\002\"}\n\022UpdateEntryRequest\0226\n\005entry\030\001 \001(\0132" + + "\".google.cloud.datacatalog.v1.EntryB\003\340A\002" + + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMask\"L\n\022DeleteEntryRequest\0226\n\004name\030" + + "\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleapis.co" + + "m/Entry\"I\n\017GetEntryRequest\0226\n\004name\030\001 \001(\t" + + "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + + "ry\"v\n\022LookupEntryRequest\022\031\n\017linked_resou" + + "rce\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000\022\036\n\024f" + + "ully_qualified_name\030\005 \001(\tH\000B\r\n\013target_na" + + "me\"\322\014\n\005Entry\022;\n\004name\030\001 \001(\tB-\340A\003\372A\'\n%data" + + "catalog.googleapis.com/EntryGroup\022\027\n\017lin" + + "ked_resource\030\t \001(\t\022\034\n\024fully_qualified_na" + + "me\030\035 \001(\t\0226\n\004type\030\002 \001(\0162&.google.cloud.da" + + "tacatalog.v1.EntryTypeH\000\022\035\n\023user_specifi" + + "ed_type\030\020 \001(\tH\000\022O\n\021integrated_system\030\021 \001" + + "(\0162-.google.cloud.datacatalog.v1.Integra" + + "tedSystemB\003\340A\003H\001\022\037\n\025user_specified_syste" + + "m\030\022 \001(\tH\001\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.go" + + "ogle.cloud.datacatalog.v1.GcsFilesetSpec" + + "H\002\022R\n\023bigquery_table_spec\030\014 \001(\0132..google" + + ".cloud.datacatalog.v1.BigQueryTableSpecB" + + "\003\340A\003H\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" + + "(\01324.google.cloud.datacatalog.v1.BigQuer" + + "yDateShardedSpecB\003\340A\003H\002\022M\n\023database_tabl" + + "e_spec\030\030 \001(\0132..google.cloud.datacatalog." + + "v1.DatabaseTableSpecH\003\022\\\n\033data_source_co" + + "nnection_spec\030\033 \001(\01325.google.cloud.datac" + + "atalog.v1.DataSourceConnectionSpecH\003\022@\n\014" + + "routine_spec\030\034 \001(\0132(.google.cloud.dataca" + + "talog.v1.RoutineSpecH\003\022@\n\014fileset_spec\030!" + + " \001(\0132(.google.cloud.datacatalog.v1.Files" + + "etSpecH\003\022\024\n\014display_name\030\003 \001(\t\022\023\n\013descri" + + "ption\030\004 \001(\t\022F\n\020business_context\030% \001(\0132,." + + "google.cloud.datacatalog.v1.BusinessCont" + + "ext\0223\n\006schema\030\005 \001(\0132#.google.cloud.datac" + + "atalog.v1.Schema\022O\n\030source_system_timest" + + "amps\030\007 \001(\0132-.google.cloud.datacatalog.v1" + + ".SystemTimestamps\022>\n\014usage_signal\030\r \001(\0132" + + "(.google.cloud.datacatalog.v1.UsageSigna" + + "l\022>\n\006labels\030\016 \003(\0132..google.cloud.datacat" + + "alog.v1.Entry.LabelsEntry\022A\n\013data_source" + + "\030\024 \001(\0132\'.google.cloud.datacatalog.v1.Dat" + + "aSourceB\003\340A\003\022K\n\020personal_details\030\032 \001(\0132," + + ".google.cloud.datacatalog.v1.PersonalDet" + + "ailsB\003\340A\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.googl" + + "eapis.com/Entry\022Qprojects/{project}/loca" + + "tions/{location}/entryGroups/{entry_grou" + + "p}/entries/{entry}B\014\n\nentry_typeB\010\n\006syst" + + "emB\013\n\ttype_specB\006\n\004spec\"\353\001\n\021DatabaseTabl" + + "eSpec\022F\n\004type\030\001 \001(\01628.google.cloud.datac" + + "atalog.v1.DatabaseTableSpec.TableType\022K\n" + + "\016dataplex_table\030\002 \001(\0132..google.cloud.dat" + + "acatalog.v1.DataplexTableSpecB\003\340A\003\"A\n\tTa" + + "bleType\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006N" + + "ATIVE\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020" + + "dataplex_fileset\030\001 \001(\01320.google.cloud.da" + + "tacatalog.v1.DataplexFilesetSpec\"q\n\030Data" + + "SourceConnectionSpec\022U\n\030bigquery_connect" + + "ion_spec\030\001 \001(\01323.google.cloud.datacatalo" + + "g.v1.BigQueryConnectionSpec\"\303\004\n\013RoutineS" + + "pec\022J\n\014routine_type\030\001 \001(\01624.google.cloud" + + ".datacatalog.v1.RoutineSpec.RoutineType\022" + + "\020\n\010language\030\002 \001(\t\022L\n\021routine_arguments\030\003" + + " \003(\01321.google.cloud.datacatalog.v1.Routi" + + "neSpec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017" + + "definition_body\030\005 \001(\t\022Q\n\025bigquery_routin" + + "e_spec\030\006 \001(\01320.google.cloud.datacatalog." + + "v1.BigQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n" + + "\004name\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud" + + ".datacatalog.v1.RoutineSpec.Argument.Mod" + + "e\022\014\n\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIF" + + "IED\020\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Rou" + + "tineType\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023" + + "\n\017SCALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013sy" + + "stem_spec\"\216\001\n\017BusinessContext\022B\n\016entry_o" + + "verview\030\001 \001(\0132*.google.cloud.datacatalog" + + ".v1.EntryOverview\0227\n\010contacts\030\002 \001(\0132%.go" + + "ogle.cloud.datacatalog.v1.Contacts\"!\n\rEn" + + "tryOverview\022\020\n\010overview\030\001 \001(\t\"v\n\010Contact" + + "s\022<\n\006people\030\001 \003(\0132,.google.cloud.datacat" + + "alog.v1.Contacts.Person\032,\n\006Person\022\023\n\013des" + + "ignation\030\001 \001(\t\022\r\n\005email\030\002 \001(\t\"\211\002\n\nEntryG" + + "roup\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\022S\n\027data_catalog_ti" + + "mestamps\030\004 \001(\0132-.google.cloud.datacatalo" + + "g.v1.SystemTimestampsB\003\340A\003:m\352Aj\n%datacat" + + "alog.googleapis.com/EntryGroup\022Aprojects" + + "/{project}/locations/{location}/entryGro" + + "ups/{entry_group}\"\275\001\n\030CreateTagTemplateR" + + "equest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&datacata" + + "log.googleapis.com/TagTemplate\022\034\n\017tag_te" + + "mplate_id\030\003 \001(\tB\003\340A\002\022C\n\014tag_template\030\002 \001" + + "(\0132(.google.cloud.datacatalog.v1.TagTemp" + + "lateB\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004na" + + "me\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis" + + ".com/TagTemplate\"\220\001\n\030UpdateTagTemplateRe" + + "quest\022C\n\014tag_template\030\001 \001(\0132(.google.clo" + + "ud.datacatalog.v1.TagTemplateB\003\340A\002\022/\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" + + "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" + + "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"~\n\020Cre" + + "ateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036d" + + "atacatalog.googleapis.com/Tag\0222\n\003tag\030\002 \001" + + "(\0132 .google.cloud.datacatalog.v1.TagB\003\340A" + + "\002\"w\n\020UpdateTagRequest\0222\n\003tag\030\001 \001(\0132 .goo" + + "gle.cloud.datacatalog.v1.TagB\003\340A\002\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"H\n\020DeleteTagRequest\0224\n\004name\030\001 \001(\tB&\340A" + + "\002\372A \022\036datacatalog.googleapis.com/Tag\"\323\001\n" + + "\035CreateTagTemplateFieldRequest\022>\n\006parent" + + "\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.c" + + "om/TagTemplate\022\"\n\025tag_template_field_id\030" + + "\002 \001(\tB\003\340A\002\022N\n\022tag_template_field\030\003 \001(\0132-" + + ".google.cloud.datacatalog.v1.TagTemplate" + + "FieldB\003\340A\002\"\350\001\n\035UpdateTagTemplateFieldReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog." + + "googleapis.com/TagTemplateField\022N\n\022tag_t" + + "emplate_field\030\002 \001(\0132-.google.cloud.datac" + + "atalog.v1.TagTemplateFieldB\003\340A\002\0224\n\013updat" + + "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\001\"\212\001\n\035RenameTagTemplateFieldRequest\022" + + "A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.googl" + + "eapis.com/TagTemplateField\022&\n\031new_tag_te" + + "mplate_field_id\030\002 \001(\tB\003\340A\002\"\236\001\n&RenameTag" + + "TemplateFieldEnumValueRequest\022J\n\004name\030\001 " + + "\001(\tB<\340A\002\372A6\n4datacatalog.googleapis.com/" + + "TagTemplateFieldEnumValue\022(\n\033new_enum_va" + + "lue_display_name\030\002 \001(\tB\003\340A\002\"v\n\035DeleteTag" + + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022\022\n\005force\030\002 \001(\010B\003\340A\002\"p\n\017ListTagsR" + + "equest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036datacata" + + "log.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001(" + + "\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespons" + + "e\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacatal" + + "og.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\251\001\n\022L" + + "istEntriesRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A" + + "\'\n%datacatalog.googleapis.com/EntryGroup" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + + "-\n\tread_mask\030\004 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"c\n\023ListEntriesResponse\0223\n\007entries" + + "\030\001 \003(\0132\".google.cloud.datacatalog.v1.Ent" + + "ry\022\027\n\017next_page_token\030\002 \001(\t\"J\n\020StarEntry" + + "Request\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatal" + + "og.googleapis.com/Entry\"\023\n\021StarEntryResp" + + "onse\"L\n\022UnstarEntryRequest\0226\n\004name\030\001 \001(\t" + + "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + + "ry\"\025\n\023UnstarEntryResponse\"\235\001\n\032ModifyEntr" + + "yOverviewRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + + "datacatalog.googleapis.com/Entry\022G\n\016entr" + + "y_overview\030\002 \001(\0132*.google.cloud.datacata" + + "log.v1.EntryOverviewB\003\340A\002\"\222\001\n\032ModifyEntr" + + "yContactsRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + + "datacatalog.googleapis.com/Entry\022<\n\010cont" + + "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" + + ".ContactsB\003\340A\002*\300\001\n\tEntryType\022\032\n\026ENTRY_TY" + + "PE_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\004\022\013\n\007CLUSTER\020" + + "\006\022\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTIO" + + "N\020\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007" + + "SERVICE\020\0162\3617\n\013DataCatalog\022\243\001\n\rSearchCata" + + "log\0221.google.cloud.datacatalog.v1.Search" + + "CatalogRequest\0322.google.cloud.datacatalo" + + "g.v1.SearchCatalogResponse\"+\202\323\344\223\002\027\"\022/v1/" + + "catalog:search:\001*\332A\013scope,query\022\333\001\n\020Crea" + + "teEntryGroup\0224.google.cloud.datacatalog." + + "v1.CreateEntryGroupRequest\032\'.google.clou" + + "d.datacatalog.v1.EntryGroup\"h\202\323\344\223\002>\"//v1" + + "/{parent=projects/*/locations/*}/entryGr" + + "oups:\013entry_group\332A!parent,entry_group_i" + + "d,entry_group\022\274\001\n\rGetEntryGroup\0221.google" + + ".cloud.datacatalog.v1.GetEntryGroupReque" + + "st\032\'.google.cloud.datacatalog.v1.EntryGr" + + "oup\"O\202\323\344\223\0021\022//v1/{name=projects/*/locati" + + "ons/*/entryGroups/*}\332A\004name\332A\016name,read_" + + "mask\022\353\001\n\020UpdateEntryGroup\0224.google.cloud" + + ".datacatalog.v1.UpdateEntryGroupRequest\032" + + "\'.google.cloud.datacatalog.v1.EntryGroup" + + "\"x\202\323\344\223\002J2;/v1/{entry_group.name=projects" + + "/*/locations/*/entryGroups/*}:\013entry_gro" + + "up\332A\013entry_group\332A\027entry_group,update_ma" + + "sk\022\240\001\n\020DeleteEntryGroup\0224.google.cloud.d" + + "atacatalog.v1.DeleteEntryGroupRequest\032\026." + + "google.protobuf.Empty\">\202\323\344\223\0021*//v1/{name" + + "=projects/*/locations/*/entryGroups/*}\332A" + + "\004name\022\276\001\n\017ListEntryGroups\0223.google.cloud" + + ".datacatalog.v1.ListEntryGroupsRequest\0324" + + ".google.cloud.datacatalog.v1.ListEntryGr" + + "oupsResponse\"@\202\323\344\223\0021\022//v1/{parent=projec" + + "ts/*/locations/*}/entryGroups\332A\006parent\022\304" + + "\001\n\013CreateEntry\022/.google.cloud.datacatalo" + + "g.v1.CreateEntryRequest\032\".google.cloud.d" + + "atacatalog.v1.Entry\"`\202\323\344\223\002B\"9/v1/{parent" + + "=projects/*/locations/*/entryGroups/*}/e" + + "ntries:\005entry\332A\025parent,entry_id,entry\022\316\001" + + "\n\013UpdateEntry\022/.google.cloud.datacatalog" + + ".v1.UpdateEntryRequest\032\".google.cloud.da" + + "tacatalog.v1.Entry\"j\202\323\344\223\002H2?/v1/{entry.n" + + "ame=projects/*/locations/*/entryGroups/*" + + "/entries/*}:\005entry\332A\005entry\332A\021entry,updat" + + "e_mask\022\240\001\n\013DeleteEntry\022/.google.cloud.da" + + "tacatalog.v1.DeleteEntryRequest\032\026.google" + + ".protobuf.Empty\"H\202\323\344\223\002;*9/v1/{name=proje" + + "cts/*/locations/*/entryGroups/*/entries/" + + "*}\332A\004name\022\246\001\n\010GetEntry\022,.google.cloud.da" + + "tacatalog.v1.GetEntryRequest\032\".google.cl" + + "oud.datacatalog.v1.Entry\"H\202\323\344\223\002;\0229/v1/{n" + + "ame=projects/*/locations/*/entryGroups/*" + + "/entries/*}\332A\004name\022~\n\013LookupEntry\022/.goog" + + "le.cloud.datacatalog.v1.LookupEntryReque" + + "st\032\".google.cloud.datacatalog.v1.Entry\"\032" + + "\202\323\344\223\002\024\022\022/v1/entries:lookup\022\274\001\n\013ListEntri" + + "es\022/.google.cloud.datacatalog.v1.ListEnt" + + "riesRequest\0320.google.cloud.datacatalog.v" + + "1.ListEntriesResponse\"J\202\323\344\223\002;\0229/v1/{pare" + + "nt=projects/*/locations/*/entryGroups/*}" + + "/entries\332A\006parent\022\324\001\n\023ModifyEntryOvervie" + + "w\0227.google.cloud.datacatalog.v1.ModifyEn" + + "tryOverviewRequest\032*.google.cloud.dataca" + + "talog.v1.EntryOverview\"X\202\323\344\223\002R\"M/v1/{nam" + + "e=projects/*/locations/*/entryGroups/*/e" + + "ntries/*}:modifyEntryOverview:\001*\022\317\001\n\023Mod" + + "ifyEntryContacts\0227.google.cloud.datacata" + + "log.v1.ModifyEntryContactsRequest\032%.goog" + + "le.cloud.datacatalog.v1.Contacts\"X\202\323\344\223\002R" + + "\"M/v1/{name=projects/*/locations/*/entry" + + "Groups/*/entries/*}:modifyEntryContacts:" + + "\001*\022\342\001\n\021CreateTagTemplate\0225.google.cloud." + + "datacatalog.v1.CreateTagTemplateRequest\032" + + "(.google.cloud.datacatalog.v1.TagTemplat" + + "e\"l\202\323\344\223\002@\"0/v1/{parent=projects/*/locati" + + "ons/*}/tagTemplates:\014tag_template\332A#pare" + + "nt,tag_template_id,tag_template\022\257\001\n\016GetT" + + "agTemplate\0222.google.cloud.datacatalog.v1" + + ".GetTagTemplateRequest\032(.google.cloud.da" + + "tacatalog.v1.TagTemplate\"?\202\323\344\223\0022\0220/v1/{n" + + "ame=projects/*/locations/*/tagTemplates/" + + "*}\332A\004name\022\363\001\n\021UpdateTagTemplate\0225.google" + + ".cloud.datacatalog.v1.UpdateTagTemplateR" + + "equest\032(.google.cloud.datacatalog.v1.Tag" + + "Template\"}\202\323\344\223\002M2=/v1/{tag_template.name" + + "=projects/*/locations/*/tagTemplates/*}:" + + "\014tag_template\332A\014tag_template\332A\030tag_templ" + + "ate,update_mask\022\251\001\n\021DeleteTagTemplate\0225." + + "google.cloud.datacatalog.v1.DeleteTagTem" + + "plateRequest\032\026.google.protobuf.Empty\"E\202\323" + + "\344\223\0022*0/v1/{name=projects/*/locations/*/t" + + "agTemplates/*}\332A\nname,force\022\215\002\n\026CreateTa" + + "gTemplateField\022:.google.cloud.datacatalo" + + "g.v1.CreateTagTemplateFieldRequest\032-.goo" + + "gle.cloud.datacatalog.v1.TagTemplateFiel" + + "d\"\207\001\202\323\344\223\002O\"9/v1/{parent=projects/*/locat" + + "ions/*/tagTemplates/*}/fields:\022tag_templ" + + "ate_field\332A/parent,tag_template_field_id" + + ",tag_template_field\022\233\002\n\026UpdateTagTemplat" + + "eField\022:.google.cloud.datacatalog.v1.Upd" + + "ateTagTemplateFieldRequest\032-.google.clou" + + "d.datacatalog.v1.TagTemplateField\"\225\001\202\323\344\223" + + "\002O29/v1/{name=projects/*/locations/*/tag" + + "Templates/*/fields/*}:\022tag_template_fiel" + + "d\332A\027name,tag_template_field\332A#name,tag_t" + + "emplate_field,update_mask\022\361\001\n\026RenameTagT" + + "emplateField\022:.google.cloud.datacatalog." + + "v1.RenameTagTemplateFieldRequest\032-.googl" + + "e.cloud.datacatalog.v1.TagTemplateField\"" + + "l\202\323\344\223\002E\"@/v1/{name=projects/*/locations/" + + "*/tagTemplates/*/fields/*}:rename:\001*\332A\036n" + + "ame,new_tag_template_field_id\022\222\002\n\037Rename" + + "TagTemplateFieldEnumValue\022C.google.cloud" + + ".datacatalog.v1.RenameTagTemplateFieldEn" + + "umValueRequest\032-.google.cloud.datacatalo" + + "g.v1.TagTemplateField\"{\202\323\344\223\002R\"M/v1/{name" + + "=projects/*/locations/*/tagTemplates/*/f" + + "ields/*/enumValues/*}:rename:\001*\332A name,n" + + "ew_enum_value_display_name\022\274\001\n\026DeleteTag" + + "TemplateField\022:.google.cloud.datacatalog" + + ".v1.DeleteTagTemplateFieldRequest\032\026.goog" + + "le.protobuf.Empty\"N\202\323\344\223\002;*9/v1/{name=pro" + + "jects/*/locations/*/tagTemplates/*/field" + + "s/*}\332A\nname,force\022\371\001\n\tCreateTag\022-.google" + + ".cloud.datacatalog.v1.CreateTagRequest\032 " + + ".google.cloud.datacatalog.v1.Tag\"\232\001\202\323\344\223\002" + + "\206\001\"@/v1/{parent=projects/*/locations/*/e" + + "ntryGroups/*/entries/*}/tags:\003tagZ=\"6/v1" + + "/{parent=projects/*/locations/*/entryGro" + + "ups/*}/tags:\003tag\332A\nparent,tag\022\214\002\n\tUpdate" + + "Tag\022-.google.cloud.datacatalog.v1.Update" + + "TagRequest\032 .google.cloud.datacatalog.v1" + + ".Tag\"\255\001\202\323\344\223\002\216\0012D/v1/{tag.name=projects/*" + + "/locations/*/entryGroups/*/entries/*/tag" + + "s/*}:\003tagZA2:/v1/{tag.name=projects/*/lo" + + "cations/*/entryGroups/*/tags/*}:\003tag\332A\003t" + + "ag\332A\017tag,update_mask\022\336\001\n\tDeleteTag\022-.goo" + + "gle.cloud.datacatalog.v1.DeleteTagReques" + + "t\032\026.google.protobuf.Empty\"\211\001\202\323\344\223\002|*@/v1/" + + "{name=projects/*/locations/*/entryGroups" + + "/*/entries/*/tags/*}Z8*6/v1/{name=projec" + + "ts/*/locations/*/entryGroups/*/tags/*}\332A" + + "\004name\022\365\001\n\010ListTags\022,.google.cloud.dataca" + + "talog.v1.ListTagsRequest\032-.google.cloud." + + "datacatalog.v1.ListTagsResponse\"\213\001\202\323\344\223\002|" + + "\022@/v1/{parent=projects/*/locations/*/ent" + + "ryGroups/*/entries/*}/tagsZ8\0226/v1/{paren" + + "t=projects/*/locations/*/entryGroups/*}/" + + "tags\332A\006parent\022\274\001\n\tStarEntry\022-.google.clo" + + "ud.datacatalog.v1.StarEntryRequest\032..goo" + + "gle.cloud.datacatalog.v1.StarEntryRespon" + + "se\"P\202\323\344\223\002C\">/v1/{name=projects/*/locatio" + + "ns/*/entryGroups/*/entries/*}:star:\001*\332A\004" + + "name\022\304\001\n\013UnstarEntry\022/.google.cloud.data" + + "catalog.v1.UnstarEntryRequest\0320.google.c" + + "loud.datacatalog.v1.UnstarEntryResponse\"" + + "R\202\323\344\223\002E\"@/v1/{name=projects/*/locations/" + + "*/entryGroups/*/entries/*}:unstar:\001*\332A\004n" + + "ame\022\362\001\n\014SetIamPolicy\022\".google.iam.v1.Set" + + "IamPolicyRequest\032\025.google.iam.v1.Policy\"" + + "\246\001\202\323\344\223\002\215\001\"A/v1/{resource=projects/*/loca" + + "tions/*/tagTemplates/*}:setIamPolicy:\001*Z" + + "E\"@/v1/{resource=projects/*/locations/*/" + + "entryGroups/*}:setIamPolicy:\001*\332A\017resourc" + + "e,policy\022\274\002\n\014GetIamPolicy\022\".google.iam.v" + + "1.GetIamPolicyRequest\032\025.google.iam.v1.Po" + + "licy\"\360\001\202\323\344\223\002\336\001\"A/v1/{resource=projects/*" + + "/locations/*/tagTemplates/*}:getIamPolic" + + "y:\001*ZE\"@/v1/{resource=projects/*/locatio" + + "ns/*/entryGroups/*}:getIamPolicy:\001*ZO\"J/" + + "v1/{resource=projects/*/locations/*/entr" + + "yGroups/*/entries/*}:getIamPolicy:\001*\332A\010r" + + "esource\022\343\002\n\022TestIamPermissions\022(.google." + + "iam.v1.TestIamPermissionsRequest\032).googl" + + "e.iam.v1.TestIamPermissionsResponse\"\367\001\202\323" + + "\344\223\002\360\001\"G/v1/{resource=projects/*/location" + + "s/*/tagTemplates/*}:testIamPermissions:\001" + + "*ZK\"F/v1/{resource=projects/*/locations/" + + "*/entryGroups/*}:testIamPermissions:\001*ZU" + + "\"P/v1/{resource=projects/*/locations/*/e" + + "ntryGroups/*/entries/*}:testIamPermissio" + + "ns:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + + "ttps://www.googleapis.com/auth/cloud-pla", + "tformB\217\003\n\037com.google.cloud.datacatalog.v" + + "1P\001ZFgoogle.golang.org/genproto/googleap" + + "is/cloud/datacatalog/v1;datacatalog\370\001\001\252\002" + + "\033Google.Cloud.DataCatalog.V1\312\002\033Google\\Cl" + + "oud\\DataCatalog\\V1\352\002\036Google::Cloud::Data" + + "Catalog::V1\352A\300\001\n4datacatalog.googleapis." + + "com/TagTemplateFieldEnumValue\022\207\001projects" + + "/{project}/locations/{location}/tagTempl" + + "ates/{tag_template}/fields/{tag_template" + + "_field_id}/enumValues/{enum_value_displa" + + "y_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.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.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.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", "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", "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", + "GcsFilesetSpec", + "BigqueryTableSpec", + "BigqueryDateShardedSpec", + "DatabaseTableSpec", + "DataSourceConnectionSpec", + "RoutineSpec", + "FilesetSpec", + "DisplayName", + "Description", + "BusinessContext", + "Schema", + "SourceSystemTimestamps", + "UsageSignal", + "Labels", + "DataSource", + "PersonalDetails", + "EntryType", + "System", + "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", + }); + 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_BusinessContext_descriptor = + getDescriptor().getMessageTypes().get(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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_ListEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + 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(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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_ModifyEntryOverviewRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + 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(43); + 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); + 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.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/DataplexExternalTable.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.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/DataplexExternalTable.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java index a63a370c7ca8..705b40de462f 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,64 +52,77 @@ private DataplexExternalTable() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataplexExternalTable();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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_;
   /**
+   *
+   *
    * 
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.IntegratedSystem getSystem() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf(system_); + com.google.cloud.datacatalog.v1.IntegratedSystem result = + com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf(system_); return result == null ? com.google.cloud.datacatalog.v1.IntegratedSystem.UNRECOGNIZED : result; } public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 28; 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 @@ -100,29 +131,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 { @@ -133,11 +164,14 @@ public java.lang.String getFullyQualifiedName() { public static final int GOOGLE_CLOUD_RESOURCE_FIELD_NUMBER = 3; 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 @@ -146,29 +180,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 { @@ -179,11 +213,14 @@ public java.lang.String getGoogleCloudResource() { public static final int DATA_CATALOG_ENTRY_FIELD_NUMBER = 4; 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 @@ -192,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 { @@ -223,6 +260,7 @@ public java.lang.String getDataCatalogEntry() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,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_)) { @@ -257,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_); @@ -278,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; } @@ -317,96 +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
@@ -419,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();
@@ -461,9 +506,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
@@ -482,7 +527,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);
+      com.google.cloud.datacatalog.v1.DataplexExternalTable result =
+          new com.google.cloud.datacatalog.v1.DataplexExternalTable(this);
       result.system_ = system_;
       result.fullyQualifiedName_ = fullyQualifiedName_;
       result.googleCloudResource_ = googleCloudResource_;
@@ -495,38 +541,39 @@ public com.google.cloud.datacatalog.v1.DataplexExternalTable buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -534,7 +581,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());
       }
@@ -576,32 +624,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              system_ = input.readEnum();
+            case 8:
+              {
+                system_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 26: {
-              googleCloudResource_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 26:
+              {
+                googleCloudResource_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              dataCatalogEntry_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                dataCatalogEntry_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 226: {
-              fullyQualifiedName_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 226:
+              {
+                fullyQualifiedName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 226
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -614,51 +667,67 @@ public Builder mergeFrom(
 
     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. */ public Builder setSystemValue(int value) { - + system_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf(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.valueOf(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. */ @@ -666,21 +735,24 @@ public Builder setSystem(com.google.cloud.datacatalog.v1.IntegratedSystem value) if (value == null) { throw new NullPointerException(); } - + system_ = value.getNumber(); onChanged(); 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() { - + system_ = 0; onChanged(); return this; @@ -688,18 +760,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; @@ -708,20 +782,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 { @@ -729,54 +804,61 @@ 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) { + public Builder setFullyQualifiedName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullyQualifiedName_ = value; onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the external table.
      * 
* * string fully_qualified_name = 28; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { - + fullyQualifiedName_ = getDefaultInstance().getFullyQualifiedName(); onChanged(); 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) { + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullyQualifiedName_ = value; onChanged(); return this; @@ -784,18 +866,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; @@ -804,20 +888,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 { @@ -825,54 +910,61 @@ 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) { + public Builder setGoogleCloudResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + googleCloudResource_ = value; onChanged(); return this; } /** + * + * *
      * Google Cloud resource name of the external table.
      * 
* * string google_cloud_resource = 3; + * * @return This builder for chaining. */ public Builder clearGoogleCloudResource() { - + googleCloudResource_ = getDefaultInstance().getGoogleCloudResource(); onChanged(); 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) { + public Builder setGoogleCloudResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + googleCloudResource_ = value; onChanged(); return this; @@ -880,18 +972,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; @@ -900,20 +994,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 { @@ -921,61 +1016,68 @@ 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) { + public Builder setDataCatalogEntry(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataCatalogEntry_ = value; 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() { - + dataCatalogEntry_ = getDefaultInstance().getDataCatalogEntry(); onChanged(); 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) { + public Builder setDataCatalogEntryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataCatalogEntry_ = 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); } @@ -985,12 +1087,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 +1101,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 +1136,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..8f34c2d90397 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 66% 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 086253194131..4904eb51c9d8 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,60 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,18 +83,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.
    * 
@@ -86,6 +114,7 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,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 (dataplexSpec_ != null) { output.writeMessage(1, getDataplexSpec()); } @@ -112,8 +140,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; @@ -123,17 +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.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; @@ -156,129 +183,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(); @@ -292,9 +325,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 @@ -313,7 +346,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); + com.google.cloud.datacatalog.v1.DataplexFilesetSpec result = + new com.google.cloud.datacatalog.v1.DataplexFilesetSpec(this); if (dataplexSpecBuilder_ == null) { result.dataplexSpec_ = dataplexSpec_; } else { @@ -327,38 +361,39 @@ public com.google.cloud.datacatalog.v1.DataplexFilesetSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -366,7 +401,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()); } @@ -396,19 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataplexSpecFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + 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) { @@ -421,34 +457,47 @@ public Builder mergeFrom( 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 dataplexSpecBuilder_ != null || dataplexSpec_ != null; } /** + * + * *
      * 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.
      * 
@@ -469,6 +518,8 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -487,6 +538,8 @@ public Builder setDataplexSpec( return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -497,7 +550,9 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va if (dataplexSpecBuilder_ == null) { if (dataplexSpec_ != null) { dataplexSpec_ = - com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_) + .mergeFrom(value) + .buildPartial(); } else { dataplexSpec_ = value; } @@ -509,6 +564,8 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -527,6 +584,8 @@ public Builder clearDataplexSpec() { return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -534,11 +593,13 @@ public Builder clearDataplexSpec() { * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1; */ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuilder() { - + onChanged(); return getDataplexSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -549,11 +610,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.
      * 
@@ -561,21 +625,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); } @@ -585,12 +652,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(); } @@ -599,27 +666,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; @@ -634,6 +701,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..2c297ed2c80a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 4e0d31c7e4a6..f9241aee7128 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private DataplexSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataplexSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset = 1; + * * @return The asset. */ @java.lang.Override @@ -68,14 +90,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
@@ -83,16 +106,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 { @@ -103,11 +125,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 @@ -115,18 +140,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.
    * 
@@ -141,11 +173,14 @@ public com.google.cloud.datacatalog.v1.PhysicalSchemaOrBuilder getDataFormatOrBu public static final int COMPRESSION_FORMAT_FIELD_NUMBER = 3; 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 @@ -154,29 +189,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 { @@ -187,6 +222,8 @@ public java.lang.String getCompressionFormat() { public static final int PROJECT_ID_FIELD_NUMBER = 4; 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 /
@@ -194,6 +231,7 @@ public java.lang.String getCompressionFormat() {
    * 
* * string project_id = 4; + * * @return The projectId. */ @java.lang.Override @@ -202,14 +240,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 /
@@ -217,16 +256,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 { @@ -235,6 +273,7 @@ public java.lang.String getProjectId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,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(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -273,8 +311,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_); @@ -290,24 +327,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; } @@ -334,130 +368,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(); @@ -477,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 @@ -498,7 +538,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); + com.google.cloud.datacatalog.v1.DataplexSpec result = + new com.google.cloud.datacatalog.v1.DataplexSpec(this); result.asset_ = asset_; if (dataFormatBuilder_ == null) { result.dataFormat_ = dataFormat_; @@ -515,38 +556,39 @@ public com.google.cloud.datacatalog.v1.DataplexSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -596,34 +638,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - asset_ = input.readStringRequireUtf8(); + case 10: + { + asset_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getDataFormatFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getDataFormatFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - compressionFormat_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + compressionFormat_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - projectId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -636,6 +681,8 @@ public Builder mergeFrom( 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
@@ -643,13 +690,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; @@ -658,6 +705,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
@@ -665,15 +714,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 { @@ -681,6 +729,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
@@ -688,20 +738,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) { + public Builder setAsset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + asset_ = value; 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
@@ -709,15 +761,18 @@ public Builder setAsset(
      * 
* * string asset = 1; + * * @return This builder for chaining. */ public Builder clearAsset() { - + asset_ = getDefaultInstance().getAsset(); 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
@@ -725,16 +780,16 @@ 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) { + public Builder setAssetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + asset_ = value; onChanged(); return this; @@ -742,34 +797,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 dataFormatBuilder_ != null || dataFormat_ != null; } /** + * + * *
      * 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.
      * 
@@ -790,6 +858,8 @@ public Builder setDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema valu return this; } /** + * + * *
      * Format of the data.
      * 
@@ -808,6 +878,8 @@ public Builder setDataFormat( return this; } /** + * + * *
      * Format of the data.
      * 
@@ -818,7 +890,9 @@ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema va if (dataFormatBuilder_ == null) { if (dataFormat_ != null) { dataFormat_ = - com.google.cloud.datacatalog.v1.PhysicalSchema.newBuilder(dataFormat_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.PhysicalSchema.newBuilder(dataFormat_) + .mergeFrom(value) + .buildPartial(); } else { dataFormat_ = value; } @@ -830,6 +904,8 @@ public Builder mergeDataFormat(com.google.cloud.datacatalog.v1.PhysicalSchema va return this; } /** + * + * *
      * Format of the data.
      * 
@@ -848,6 +924,8 @@ public Builder clearDataFormat() { return this; } /** + * + * *
      * Format of the data.
      * 
@@ -855,11 +933,13 @@ public Builder clearDataFormat() { * .google.cloud.datacatalog.v1.PhysicalSchema data_format = 2; */ public com.google.cloud.datacatalog.v1.PhysicalSchema.Builder getDataFormatBuilder() { - + onChanged(); return getDataFormatFieldBuilder().getBuilder(); } /** + * + * *
      * Format of the data.
      * 
@@ -870,11 +950,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.
      * 
@@ -882,14 +965,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_; @@ -897,18 +983,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; @@ -917,20 +1005,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 { @@ -938,54 +1027,61 @@ 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) { + public Builder setCompressionFormat(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compressionFormat_ = value; 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() { - + compressionFormat_ = getDefaultInstance().getCompressionFormat(); onChanged(); 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) { + public Builder setCompressionFormatBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compressionFormat_ = value; onChanged(); return this; @@ -993,6 +1089,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 /
@@ -1000,13 +1098,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; @@ -1015,6 +1113,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 /
@@ -1022,15 +1122,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 { @@ -1038,6 +1137,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 /
@@ -1045,20 +1146,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) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; 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 /
@@ -1066,15 +1169,18 @@ public Builder setProjectId(
      * 
* * string project_id = 4; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); 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 /
@@ -1082,23 +1188,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) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1214,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 +1228,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 +1263,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..d923dec3297b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..10dace37d1e3 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java @@ -0,0 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\336\001\n\037com.google.cloud.datacat" + + "alog.v1B\021DataplexSpecProtoP\001ZFgoogle.gol" + + "ang.org/genproto/googleapis/cloud/dataca" + + "talog/v1;datacatalog\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.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 45c0f6c27cf0..34a363c0cd14 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List externalTables_; /** + * + * *
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -60,10 +81,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.
@@ -73,11 +97,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.
@@ -91,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 +132,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.
@@ -121,11 +151,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 @@ -133,18 +166,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.
    * 
@@ -159,11 +199,14 @@ public com.google.cloud.datacatalog.v1.DataplexSpecOrBuilder getDataplexSpecOrBu public static final int USER_MANAGED_FIELD_NUMBER = 3; 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 @@ -172,6 +215,7 @@ public boolean getUserManaged() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < externalTables_.size(); i++) { output.writeMessage(1, externalTables_.get(i)); } @@ -204,16 +247,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; @@ -223,22 +263,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; } @@ -259,137 +297,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(); @@ -412,9 +455,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 @@ -433,7 +476,8 @@ 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); int from_bitField0_ = bitField0_; if (externalTablesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -458,38 +502,39 @@ public com.google.cloud.datacatalog.v1.DataplexTableSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -497,7 +542,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()) { @@ -516,9 +562,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_); } @@ -556,37 +603,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); + 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); - break; - } // case 18 - case 24: { - userManaged_ = input.readBool(); + break; + } // case 18 + case 24: + { + userManaged_ = input.readBool(); - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -596,21 +645,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.
@@ -619,7 +677,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 {
@@ -627,6 +686,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -643,6 +704,8 @@ public int getExternalTablesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -659,6 +722,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.
@@ -682,6 +747,8 @@ public Builder setExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -702,6 +769,8 @@ public Builder setExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -724,6 +793,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.
@@ -747,6 +818,8 @@ public Builder addExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -767,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 +862,8 @@ public Builder addExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -796,11 +873,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);
@@ -808,6 +885,8 @@ public Builder addAllExternalTables(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -827,6 +906,8 @@ public Builder clearExternalTables() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -846,6 +927,8 @@ public Builder removeExternalTables(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of external tables registered by Dataplex in other systems based on
      * the same underlying data.
@@ -859,6 +942,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.
@@ -867,14 +952,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.
@@ -883,8 +971,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 {
@@ -892,6 +980,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.
@@ -900,11 +990,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.
@@ -915,10 +1008,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.
@@ -927,16 +1023,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(),
@@ -948,34 +1050,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 dataplexSpecBuilder_ != null || dataplexSpec_ != null; } /** + * + * *
      * 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.
      * 
@@ -996,6 +1111,8 @@ public Builder setDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec valu return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1014,6 +1131,8 @@ public Builder setDataplexSpec( return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1024,7 +1143,9 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va if (dataplexSpecBuilder_ == null) { if (dataplexSpec_ != null) { dataplexSpec_ = - com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.DataplexSpec.newBuilder(dataplexSpec_) + .mergeFrom(value) + .buildPartial(); } else { dataplexSpec_ = value; } @@ -1036,6 +1157,8 @@ public Builder mergeDataplexSpec(com.google.cloud.datacatalog.v1.DataplexSpec va return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1054,6 +1177,8 @@ public Builder clearDataplexSpec() { return this; } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1061,11 +1186,13 @@ public Builder clearDataplexSpec() { * .google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2; */ public com.google.cloud.datacatalog.v1.DataplexSpec.Builder getDataplexSpecBuilder() { - + onChanged(); return getDataplexSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Common Dataplex fields.
      * 
@@ -1076,11 +1203,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.
      * 
@@ -1088,26 +1218,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 @@ -1115,37 +1251,43 @@ 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. */ public Builder setUserManaged(boolean value) { - + userManaged_ = value; onChanged(); 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() { - + userManaged_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1155,12 +1297,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(); } @@ -1169,27 +1311,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; @@ -1204,6 +1346,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 311711fa409c..1daca8a7b050 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -16,9 +34,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.
@@ -29,6 +48,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.
@@ -39,6 +60,8 @@ public interface DataplexTableSpecOrBuilder extends
    */
   int getExternalTablesCount();
   /**
+   *
+   *
    * 
    * List of external tables registered by Dataplex in other systems based on
    * the same underlying data.
@@ -47,9 +70,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.
@@ -62,24 +87,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.
    * 
@@ -89,11 +122,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 35cb27ab01a2..43f4326c7a3b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,11 +124,14 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; 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 @@ -111,6 +140,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,8 +152,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,8 +172,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; @@ -154,17 +182,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; } @@ -179,104 +206,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].
@@ -284,33 +318,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();
@@ -322,9 +355,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
@@ -343,7 +376,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);
+      com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -354,38 +388,39 @@ public com.google.cloud.datacatalog.v1.DeleteEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -393,7 +428,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_;
         onChanged();
@@ -427,22 +463,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                force_ = input.readBool();
+
+                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) {
@@ -455,18 +494,22 @@ public Builder mergeFrom(
 
     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; @@ -475,20 +518,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 { @@ -496,66 +542,82 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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 @@ -563,37 +625,43 @@ 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. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,12 +671,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(); } @@ -617,27 +685,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; @@ -652,6 +720,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..1257cc04319a --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 5827b0a9ee78..bd30c6f2ea50 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.DeleteEntryRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.DeleteEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..f69fc193743b --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 63% 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 c96e42e2e065..1da8ce5ef935 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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 +293,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 +328,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,7 +349,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);
+      com.google.cloud.datacatalog.v1.DeletePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.DeletePolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1.DeletePolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,24 @@ 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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..bad944d40b4e --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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 d6eb59b68b74..e5932c38d98e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -159,97 +185,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.DeleteTagRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.DeleteTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..f215e3a73315 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 9d046f683a6f..3cbb5ccb4f8c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,12 +124,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * 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. */ @java.lang.Override @@ -112,6 +141,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -144,8 +173,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; @@ -155,17 +183,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; } @@ -180,104 +207,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].
@@ -285,33 +319,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();
@@ -323,13 +356,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();
     }
 
@@ -344,7 +378,8 @@ 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);
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -355,38 +390,39 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -394,7 +430,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_;
         onChanged();
@@ -428,22 +466,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                force_ = input.readBool();
+
+                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) {
@@ -456,18 +497,22 @@ public Builder mergeFrom(
 
     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; @@ -476,20 +521,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 { @@ -497,67 +545,83 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * 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. */ @java.lang.Override @@ -565,39 +629,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * 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]; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * 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 This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +677,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(); } @@ -621,27 +692,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; @@ -656,6 +727,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..13e7a164445d --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -0,0 +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/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 63% 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 58aaddb6ef77..47502eacb0a4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,12 +124,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * 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. */ @java.lang.Override @@ -112,6 +141,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -144,8 +173,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; @@ -155,17 +183,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; } @@ -180,104 +207,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].
@@ -285,33 +319,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();
@@ -323,9 +356,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
@@ -344,7 +377,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);
+      com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -355,38 +389,39 @@ public com.google.cloud.datacatalog.v1.DeleteTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -394,7 +429,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_;
         onChanged();
@@ -428,22 +464,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                force_ = input.readBool();
+
+                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) {
@@ -456,18 +495,22 @@ public Builder mergeFrom(
 
     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; @@ -476,20 +519,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 { @@ -497,67 +543,83 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * 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. */ @java.lang.Override @@ -565,39 +627,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * 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]; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * 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 This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +675,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(); } @@ -621,27 +689,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; @@ -656,6 +724,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..eb28ef501d69 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java @@ -0,0 +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/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 63% 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 3a3b0dcaa237..0584d43fa56d 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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 +293,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 +328,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,7 +349,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);
+      com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,24 @@ 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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..eaa080cc935d --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/Entry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.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/Entry.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java index efc49dd54bb0..b74839484ee9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -18,15 +35,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_ = "";
@@ -37,50 +55,53 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Entry();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -96,32 +117,38 @@ 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;
   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;
     }
@@ -137,33 +164,39 @@ 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;
   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;
     }
@@ -179,28 +212,34 @@ 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;
   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),
@@ -208,6 +247,7 @@ public enum SpecCase
     FILESET_SPEC(33),
     SPEC_NOT_SET(0);
     private final int value;
+
     private SpecCase(int value) {
       this.value = value;
     }
@@ -223,35 +263,45 @@ 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 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 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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The resource name of an entry in URL format.
    * Note: The entry itself and its child resources might not be
    * 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 @@ -260,31 +310,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name of an entry in URL format.
    * Note: The entry itself and its child resources might not be
    * 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 { @@ -295,6 +347,8 @@ public java.lang.String getName() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; private volatile java.lang.Object linkedResource_; /** + * + * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -312,6 +366,7 @@ public java.lang.String getName() {
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ @java.lang.Override @@ -320,14 +375,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.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -345,16 +401,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 { @@ -365,6 +420,8 @@ public java.lang.String getLinkedResource() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 29; private volatile java.lang.Object fullyQualifiedName_; /** + * + * *
    * Fully qualified name (FQN) of the resource. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -379,6 +436,7 @@ public java.lang.String getLinkedResource() {
    * 
* * string fully_qualified_name = 29; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -387,14 +445,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. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -409,16 +468,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 { @@ -428,6 +486,8 @@ public java.lang.String getFullyQualifiedName() { public static final int TYPE_FIELD_NUMBER = 2; /** + * + * *
    * The type of the entry.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -436,12 +496,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.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -450,6 +513,7 @@ public boolean hasType() {
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ public int getTypeValue() { @@ -459,6 +523,8 @@ public int getTypeValue() { return 0; } /** + * + * *
    * The type of the entry.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -467,13 +533,14 @@ public int getTypeValue() {
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The type. */ public com.google.cloud.datacatalog.v1.EntryType getType() { if (entryTypeCase_ == 2) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.valueOf( - (java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = + com.google.cloud.datacatalog.v1.EntryType.valueOf((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; @@ -481,6 +548,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.
@@ -495,12 +564,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.
@@ -515,6 +587,7 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -525,8 +598,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; @@ -535,6 +607,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.
@@ -549,18 +623,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; } @@ -572,24 +645,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() { @@ -599,26 +682,35 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf( - (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.valueOf((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.
@@ -630,12 +722,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.
@@ -647,6 +742,7 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -657,8 +753,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; @@ -667,6 +762,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
    * Indicates the entry's source system that Data Catalog doesn't
    * automatically integrate with.
@@ -678,18 +775,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; } @@ -701,12 +797,15 @@ public java.lang.String getUserSpecifiedSystem() { 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 @@ -714,22 +813,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.
@@ -740,19 +844,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 @@ -760,39 +869,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.
@@ -800,7 +921,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 @@ -808,6 +932,8 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** + * + * *
    * Output only. Specification for a group of BigQuery tables with
    * the `[prefix]YYYYMMDD` name pattern.
@@ -815,17 +941,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.
@@ -833,24 +964,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` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -858,22 +995,27 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** + * + * *
    * Specification that applies to a table resource. Valid only
    * for entries with the `TABLE` 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` type.
@@ -882,21 +1024,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 @@ -904,45 +1051,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 @@ -950,22 +1108,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.
@@ -976,19 +1139,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 @@ -996,22 +1162,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.
@@ -1022,7 +1193,7 @@ 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();
   }
@@ -1030,6 +1201,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
   public static final int DISPLAY_NAME_FIELD_NUMBER = 3;
   private volatile java.lang.Object displayName_;
   /**
+   *
+   *
    * 
    * Display name of an entry.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1039,6 +1212,7 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -1047,14 +1221,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -1064,16 +1239,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 { @@ -1084,6 +1258,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** + * + * *
    * Entry description that can consist of several sentences or paragraphs
    * that describe entry contents.
@@ -1095,6 +1271,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 4; + * * @return The description. */ @java.lang.Override @@ -1103,14 +1280,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.
@@ -1122,16 +1300,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 { @@ -1142,11 +1319,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 @@ -1154,18 +1334,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
    * 
@@ -1180,11 +1367,14 @@ public com.google.cloud.datacatalog.v1.BusinessContextOrBuilder getBusinessConte 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 @@ -1192,11 +1382,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 @@ -1204,6 +1397,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.
    * 
@@ -1218,6 +1413,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.
@@ -1227,6 +1424,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 @@ -1234,6 +1432,8 @@ public boolean hasSourceSystemTimestamps() { return sourceSystemTimestamps_ != null; } /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -1243,13 +1443,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.
@@ -1261,18 +1466,22 @@ 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() {
+  public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder
+      getSourceSystemTimestampsOrBuilder() {
     return getSourceSystemTimestamps();
   }
 
   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 @@ -1280,18 +1489,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.
    * 
@@ -1304,24 +1520,23 @@ public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuil } 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, + ""); } - 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_; } @@ -1330,6 +1545,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1339,22 +1556,22 @@ 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.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1365,11 +1582,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 14;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1380,16 +1598,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -1400,12 +1618,11 @@ public 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();
     }
@@ -1415,11 +1632,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 @@ -1427,23 +1649,34 @@ 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() { @@ -1453,11 +1686,16 @@ public com.google.cloud.datacatalog.v1.DataSourceOrBuilder getDataSourceOrBuilde 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 @@ -1465,23 +1703,34 @@ 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() { @@ -1489,6 +1738,7 @@ public com.google.cloud.datacatalog.v1.PersonalDetailsOrBuilder getPersonalDetai } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1500,8 +1750,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1532,12 +1781,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_); } @@ -1587,8 +1832,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_); @@ -1597,82 +1843,84 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1682,64 +1930,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: @@ -1747,12 +1981,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: @@ -1760,16 +1992,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: @@ -1777,20 +2006,17 @@ 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 0: default: @@ -1909,97 +2135,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
@@ -2014,55 +2246,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();
@@ -2146,9 +2375,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
@@ -2167,7 +2396,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);
+      com.google.cloud.datacatalog.v1.Entry result =
+          new com.google.cloud.datacatalog.v1.Entry(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.linkedResource_ = linkedResource_;
@@ -2279,38 +2509,39 @@ public com.google.cloud.datacatalog.v1.Entry buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -2351,8 +2582,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());
       if (other.hasDataSource()) {
         mergeDataSource(other.getDataSource());
       }
@@ -2360,72 +2590,87 @@ 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.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 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 SPEC_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2453,160 +2698,165 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              int rawValue = input.readEnum();
-              entryTypeCase_ = 2;
-              entryType_ = rawValue;
-              break;
-            } // case 16
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getGcsFilesetSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 74: {
-              linkedResource_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 98: {
-              input.readMessage(
-                  getBigqueryTableSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 12;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getUsageSignalFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 106
-            case 114: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              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);
-
-              break;
-            } // case 162
-            case 194: {
-              input.readMessage(
-                  getDatabaseTableSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 24;
-              break;
-            } // case 194
-            case 210: {
-              input.readMessage(
-                  getPersonalDetailsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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();
-
-              break;
-            } // case 234
-            case 266: {
-              input.readMessage(
-                  getFilesetSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              specCase_ = 33;
-              break;
-            } // case 266
-            case 298: {
-              input.readMessage(
-                  getBusinessContextFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 298
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                int rawValue = input.readEnum();
+                entryTypeCase_ = 2;
+                entryType_ = rawValue;
+                break;
+              } // case 16
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(
+                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 74:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 98:
+              {
+                input.readMessage(
+                    getBigqueryTableSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 12;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getUsageSignalFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 106
+            case 114:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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);
+
+                break;
+              } // case 162
+            case 194:
+              {
+                input.readMessage(
+                    getDatabaseTableSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 24;
+                break;
+              } // case 194
+            case 210:
+              {
+                input.readMessage(getPersonalDetailsFieldBuilder().getBuilder(), extensionRegistry);
+
+                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();
+
+                break;
+              } // case 234
+            case 266:
+              {
+                input.readMessage(getFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
+                specCase_ = 33;
+                break;
+              } // case 266
+            case 298:
+              {
+                input.readMessage(getBusinessContextFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 298
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2616,12 +2866,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() {
@@ -2633,10 +2883,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() {
@@ -2648,10 +2897,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() {
@@ -2663,10 +2911,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() {
@@ -2680,20 +2927,24 @@ public Builder clearSpec() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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; @@ -2702,22 +2953,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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 { @@ -2725,60 +2979,73 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of an entry in URL format.
      * Note: The entry itself and its child resources might not be
      * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2786,6 +3053,8 @@ public Builder setNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -2803,13 +3072,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; @@ -2818,6 +3087,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -2835,15 +3106,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 { @@ -2851,6 +3121,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -2868,20 +3140,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) { + public Builder setLinkedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; onChanged(); return this; } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -2899,15 +3173,18 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 9; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); onChanged(); return this; } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the
@@ -2925,16 +3202,16 @@ 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) { + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = value; onChanged(); return this; @@ -2942,6 +3219,8 @@ public Builder setLinkedResourceBytes( private java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -2956,13 +3235,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; @@ -2971,6 +3250,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -2985,15 +3266,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 { @@ -3001,6 +3281,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3015,20 +3297,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) { + public Builder setFullyQualifiedName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullyQualifiedName_ = value; onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3043,15 +3327,18 @@ public Builder setFullyQualifiedName(
      * 
* * string fully_qualified_name = 29; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { - + fullyQualifiedName_ = getDefaultInstance().getFullyQualifiedName(); onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource. Set automatically for entries
      * representing resources from synced systems. Settable only during creation
@@ -3066,22 +3353,24 @@ 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) { + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullyQualifiedName_ = value; onChanged(); return this; } /** + * + * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3090,6 +3379,7 @@ public Builder setFullyQualifiedNameBytes(
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return Whether the type field is set. */ @java.lang.Override @@ -3097,6 +3387,8 @@ public boolean hasType() { return entryTypeCase_ == 2; } /** + * + * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3105,6 +3397,7 @@ public boolean hasType() {
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; + * * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -3115,6 +3408,8 @@ public int getTypeValue() { return 0; } /** + * + * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3123,6 +3418,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. */ @@ -3133,6 +3429,8 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the entry.
      * Only used for entries with types listed in the `EntryType` enum.
@@ -3141,19 +3439,22 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.EntryType result = com.google.cloud.datacatalog.v1.EntryType.valueOf( - (java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1.EntryType result = + com.google.cloud.datacatalog.v1.EntryType.valueOf((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.
@@ -3162,6 +3463,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. */ @@ -3175,6 +3477,8 @@ 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.
@@ -3183,6 +3487,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() { @@ -3195,6 +3500,8 @@ public Builder clearType() { } /** + * + * *
      * Custom entry type that doesn't match any of the values allowed for input
      * and listed in the `EntryType` enum.
@@ -3209,6 +3516,7 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -3216,6 +3524,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.
@@ -3230,6 +3540,7 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ @java.lang.Override @@ -3239,8 +3550,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; @@ -3251,6 +3561,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.
@@ -3265,19 +3577,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; } @@ -3287,6 +3598,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.
@@ -3301,20 +3614,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) { + public Builder setUserSpecifiedType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryTypeCase_ = 16; + 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.
@@ -3329,6 +3644,7 @@ public Builder setUserSpecifiedType(
      * 
* * string user_specified_type = 16; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -3340,6 +3656,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.
@@ -3354,15 +3672,15 @@ 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) { + public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; onChanged(); @@ -3370,12 +3688,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 @@ -3383,12 +3706,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 @@ -3399,12 +3727,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. */ @@ -3415,31 +3748,43 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf( - (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.valueOf((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. */ @@ -3453,12 +3798,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() { @@ -3471,6 +3821,8 @@ public Builder clearIntegratedSystem() { } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3482,6 +3834,7 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -3489,6 +3842,8 @@ public boolean hasUserSpecifiedSystem() { return systemCase_ == 18; } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3500,6 +3855,7 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -3509,8 +3865,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; @@ -3521,6 +3876,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3532,19 +3889,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; } @@ -3554,6 +3910,8 @@ public java.lang.String getUserSpecifiedSystem() { } } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3565,20 +3923,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) { + public Builder setUserSpecifiedSystem(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - systemCase_ = 18; + throw new NullPointerException(); + } + systemCase_ = 18; system_ = value; onChanged(); return this; } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3590,6 +3950,7 @@ public Builder setUserSpecifiedSystem(
      * 
* * string user_specified_system = 18; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -3601,6 +3962,8 @@ public Builder clearUserSpecifiedSystem() { return this; } /** + * + * *
      * Indicates the entry's source system that Data Catalog doesn't
      * automatically integrate with.
@@ -3612,15 +3975,15 @@ 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) { + public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; onChanged(); @@ -3628,14 +3991,20 @@ public Builder setUserSpecifiedSystemBytes( } 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 @@ -3643,12 +4012,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 @@ -3666,6 +4038,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.
@@ -3687,6 +4061,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.
@@ -3706,6 +4082,8 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -3715,10 +4093,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;
         }
@@ -3734,6 +4115,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.
@@ -3758,6 +4141,8 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. Valid only
      * for entries with the `FILESET` type.
@@ -3769,6 +4154,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.
@@ -3788,6 +4175,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.
@@ -3796,33 +4185,47 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return gcsFilesetSpecBuilder_;
     }
 
     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 @@ -3830,12 +4233,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 @@ -3853,12 +4261,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) { @@ -3874,12 +4286,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) { @@ -3893,19 +4309,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; } @@ -3921,12 +4345,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) { @@ -3945,26 +4373,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 { @@ -3975,35 +4412,50 @@ 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()); typeSpec_ = null; } typeSpecCase_ = 12; - onChanged();; + onChanged(); + ; return bigqueryTableSpecBuilder_; } 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.
@@ -4011,7 +4463,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 @@ -4019,6 +4474,8 @@ public boolean hasBigqueryDateShardedSpec() { return typeSpecCase_ == 15; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -4026,7 +4483,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 @@ -4044,6 +4504,8 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh } } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -4051,9 +4513,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(); @@ -4067,6 +4532,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.
@@ -4074,7 +4541,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) { @@ -4088,6 +4557,8 @@ public Builder setBigqueryDateShardedSpec( return this; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -4095,14 +4566,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; } @@ -4118,6 +4596,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.
@@ -4125,7 +4605,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) { @@ -4144,6 +4626,8 @@ public Builder clearBigqueryDateShardedSpec() { return this; } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -4151,12 +4635,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.
@@ -4164,10 +4653,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 { @@ -4178,6 +4670,8 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpecOrBuilder getBigqu } } /** + * + * *
      * Output only. Specification for a group of BigQuery tables with
      * the `[prefix]YYYYMMDD` name pattern.
@@ -4185,36 +4679,50 @@ 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()); typeSpec_ = null; } typeSpecCase_ = 15; - onChanged();; + onChanged(); + ; return bigqueryDateShardedSpecBuilder_; } 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` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return Whether the databaseTableSpec field is set. */ @java.lang.Override @@ -4222,12 +4730,15 @@ public boolean hasDatabaseTableSpec() { return specCase_ == 24; } /** + * + * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; + * * @return The databaseTableSpec. */ @java.lang.Override @@ -4245,6 +4756,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() } } /** + * + * *
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4266,6 +4779,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` type.
@@ -4285,6 +4800,8 @@ public Builder setDatabaseTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4294,10 +4811,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;
         }
@@ -4313,6 +4833,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` type.
@@ -4337,6 +4859,8 @@ public Builder clearDatabaseTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4348,6 +4872,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` type.
@@ -4356,7 +4882,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 {
@@ -4367,6 +4894,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTab
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a table resource. Valid only
      * for entries with the `TABLE` type.
@@ -4375,33 +4904,46 @@ 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());
         spec_ = null;
       }
       specCase_ = 24;
-      onChanged();;
+      onChanged();
+      ;
       return databaseTableSpecBuilder_;
     }
 
     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 @@ -4409,12 +4951,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 @@ -4432,14 +4978,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(); @@ -4453,12 +5003,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) { @@ -4472,19 +5025,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; } @@ -4500,12 +5061,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) { @@ -4524,26 +5088,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 { @@ -4554,41 +5126,56 @@ 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()); spec_ = null; } specCase_ = 27; - onChanged();; + onChanged(); + ; return dataSourceConnectionSpecBuilder_; } 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 @@ -4596,12 +5183,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 @@ -4619,6 +5209,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.
@@ -4640,6 +5232,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.
@@ -4659,6 +5253,8 @@ public Builder setRoutineSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -4668,10 +5264,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;
         }
@@ -4687,6 +5286,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.
@@ -4711,6 +5312,8 @@ public Builder clearRoutineSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a user-defined function or procedure. Valid
      * only for entries with the `ROUTINE` type.
@@ -4722,6 +5325,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.
@@ -4741,6 +5346,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.
@@ -4749,33 +5356,45 @@ 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());
         spec_ = null;
       }
       specCase_ = 28;
-      onChanged();;
+      onChanged();
+      ;
       return routineSpecBuilder_;
     }
 
     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 @@ -4783,12 +5402,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 @@ -4806,6 +5428,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpec getFilesetSpec() { } } /** + * + * *
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -4827,6 +5451,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.
@@ -4846,6 +5472,8 @@ public Builder setFilesetSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -4855,10 +5483,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;
         }
@@ -4874,6 +5505,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.
@@ -4898,6 +5531,8 @@ public Builder clearFilesetSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -4909,6 +5544,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.
@@ -4928,6 +5565,8 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a fileset resource. Valid only
      * for entries with the `FILESET` type.
@@ -4936,26 +5575,34 @@ 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());
         spec_ = null;
       }
       specCase_ = 33;
-      onChanged();;
+      onChanged();
+      ;
       return filesetSpecBuilder_;
     }
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -4965,13 +5612,13 @@ public com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuil
      * 
* * 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; @@ -4980,6 +5627,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -4989,15 +5638,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 { @@ -5005,6 +5653,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5014,20 +5664,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5037,15 +5689,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name of an entry.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -5055,16 +5710,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -5072,6 +5727,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5083,13 +5740,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; @@ -5098,6 +5755,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5109,15 +5768,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 { @@ -5125,6 +5783,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5136,20 +5796,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5161,15 +5823,18 @@ public Builder setDescription(
      * 
* * string description = 4; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Entry description that can consist of several sentences or paragraphs
      * that describe entry contents.
@@ -5181,16 +5846,16 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -5198,34 +5863,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 businessContextBuilder_ != null || businessContext_ != null; } /** + * + * *
      * 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
      * 
@@ -5246,6 +5924,8 @@ public Builder setBusinessContext(com.google.cloud.datacatalog.v1.BusinessContex return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5264,6 +5944,8 @@ public Builder setBusinessContext( return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5274,7 +5956,9 @@ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessCont if (businessContextBuilder_ == null) { if (businessContext_ != null) { businessContext_ = - com.google.cloud.datacatalog.v1.BusinessContext.newBuilder(businessContext_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.BusinessContext.newBuilder(businessContext_) + .mergeFrom(value) + .buildPartial(); } else { businessContext_ = value; } @@ -5286,6 +5970,8 @@ public Builder mergeBusinessContext(com.google.cloud.datacatalog.v1.BusinessCont return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5304,6 +5990,8 @@ public Builder clearBusinessContext() { return this; } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5311,11 +5999,13 @@ public Builder clearBusinessContext() { * .google.cloud.datacatalog.v1.BusinessContext business_context = 37; */ public com.google.cloud.datacatalog.v1.BusinessContext.Builder getBusinessContextBuilder() { - + onChanged(); return getBusinessContextFieldBuilder().getBuilder(); } /** + * + * *
      * Business Context of the entry. Not supported for BigQuery datasets
      * 
@@ -5326,11 +6016,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
      * 
@@ -5338,14 +6031,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_; @@ -5353,34 +6049,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 schemaBuilder_ != null || 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. */ 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.
      * 
@@ -5401,14 +6110,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(); onChanged(); @@ -5419,6 +6129,8 @@ public Builder setSchema( return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -5429,7 +6141,9 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1.Schema value) { if (schemaBuilder_ == null) { if (schema_ != null) { schema_ = - com.google.cloud.datacatalog.v1.Schema.newBuilder(schema_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Schema.newBuilder(schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -5441,6 +6155,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.
      * 
@@ -5459,6 +6175,8 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -5466,11 +6184,13 @@ public Builder clearSchema() { * .google.cloud.datacatalog.v1.Schema schema = 5; */ public com.google.cloud.datacatalog.v1.Schema.Builder getSchemaBuilder() { - + onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -5481,11 +6201,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.
      * 
@@ -5493,14 +6216,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_; @@ -5508,8 +6234,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.
@@ -5519,12 +6250,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 sourceSystemTimestampsBuilder_ != null || sourceSystemTimestamps_ != null; } /** + * + * *
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -5534,16 +6268,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.
@@ -5554,7 +6293,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();
@@ -5568,6 +6308,8 @@ public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1.SystemT
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -5590,6 +6332,8 @@ public Builder setSourceSystemTimestamps(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -5600,11 +6344,14 @@ 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 (sourceSystemTimestamps_ != null) {
           sourceSystemTimestamps_ =
-            com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(sourceSystemTimestamps_).mergeFrom(value).buildPartial();
+              com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(sourceSystemTimestamps_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           sourceSystemTimestamps_ = value;
         }
@@ -5616,6 +6363,8 @@ public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1.Syste
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -5638,6 +6387,8 @@ public Builder clearSourceSystemTimestamps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -5648,12 +6399,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() {
+
       onChanged();
       return getSourceSystemTimestampsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamps from the underlying resource, not from the Data Catalog
      * entry.
@@ -5664,15 +6418,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.
@@ -5684,14 +6442,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_;
@@ -5699,34 +6460,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 usageSignalBuilder_ != null || usageSignal_ != null; } /** + * + * *
      * 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.
      * 
@@ -5747,6 +6521,8 @@ public Builder setUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -5765,6 +6541,8 @@ public Builder setUsageSignal( return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -5775,7 +6553,9 @@ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal valu if (usageSignalBuilder_ == null) { if (usageSignal_ != null) { usageSignal_ = - com.google.cloud.datacatalog.v1.UsageSignal.newBuilder(usageSignal_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.UsageSignal.newBuilder(usageSignal_) + .mergeFrom(value) + .buildPartial(); } else { usageSignal_ = value; } @@ -5787,6 +6567,8 @@ public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal valu return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -5805,6 +6587,8 @@ public Builder clearUsageSignal() { return this; } /** + * + * *
      * Resource usage statistics.
      * 
@@ -5812,11 +6596,13 @@ public Builder clearUsageSignal() { * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13; */ public com.google.cloud.datacatalog.v1.UsageSignal.Builder getUsageSignalBuilder() { - + onChanged(); return getUsageSignalFieldBuilder().getBuilder(); } /** + * + * *
      * Resource usage statistics.
      * 
@@ -5827,11 +6613,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.
      * 
@@ -5839,35 +6628,37 @@ 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -5879,6 +6670,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -5888,22 +6681,22 @@ 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.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -5914,11 +6707,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 14;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -5929,16 +6723,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -5949,12 +6744,11 @@ public 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();
       }
@@ -5962,11 +6756,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -5976,23 +6771,21 @@ 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6002,19 +6795,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"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Cloud labels attached to the entry.
      * In Data Catalog, you can create and modify labels attached only to custom
@@ -6024,49 +6818,65 @@ 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);
       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 dataSourceBuilder_ != null || 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. */ 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) { @@ -6082,11 +6892,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) { @@ -6100,17 +6914,23 @@ 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 (dataSource_ != null) { dataSource_ = - com.google.cloud.datacatalog.v1.DataSource.newBuilder(dataSource_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.DataSource.newBuilder(dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -6122,11 +6942,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() { if (dataSourceBuilder_ == null) { @@ -6140,48 +6964,64 @@ 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() { - + onChanged(); 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_; @@ -6189,39 +7029,58 @@ 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 personalDetailsBuilder_ != null || 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. */ 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) { @@ -6237,11 +7096,15 @@ 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) { @@ -6255,17 +7118,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 (personalDetails_ != null) { personalDetails_ = - com.google.cloud.datacatalog.v1.PersonalDetails.newBuilder(personalDetails_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.PersonalDetails.newBuilder(personalDetails_) + .mergeFrom(value) + .buildPartial(); } else { personalDetails_ = value; } @@ -6277,11 +7146,15 @@ 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() { if (personalDetailsBuilder_ == null) { @@ -6295,55 +7168,71 @@ 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() { - + onChanged(); 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); } @@ -6353,12 +7242,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(); } @@ -6367,27 +7256,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; @@ -6402,6 +7291,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 67% 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 94d9978a0a22..f94a8dad8d10 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * An `EntryGroup` resource represents a logical grouping of zero or more
@@ -12,15 +29,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_ = "";
@@ -29,32 +47,35 @@ private EntryGroup() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntryGroup();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -70,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.
    * Note: The entry group itself and its child resources might not be
@@ -85,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 { @@ -105,12 +127,15 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 +144,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 { @@ -153,6 +178,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -160,6 +187,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -168,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; } } /** + * + * *
    * Entry group description. Can consist of several sentences or
    * paragraphs that describe the entry group contents.
@@ -183,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 { @@ -203,11 +231,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 @@ -215,30 +248,43 @@ 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() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder() { return getDataCatalogTimestamps(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,8 +296,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -283,8 +328,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; @@ -294,23 +339,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; - - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + 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 (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; @@ -338,97 +380,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.
    * An `EntryGroup` resource represents a logical grouping of zero or more
@@ -437,33 +486,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();
@@ -483,9 +531,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
@@ -504,7 +552,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);
+      com.google.cloud.datacatalog.v1.EntryGroup result =
+          new com.google.cloud.datacatalog.v1.EntryGroup(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -521,38 +570,39 @@ public com.google.cloud.datacatalog.v1.EntryGroup buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -602,34 +652,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getDataCatalogTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getDataCatalogTimestampsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -642,6 +696,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -649,13 +705,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; @@ -664,6 +720,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -671,15 +729,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 { @@ -687,6 +744,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -694,20 +753,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -715,15 +776,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
@@ -731,16 +795,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -748,19 +812,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; @@ -769,21 +835,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 { @@ -791,57 +858,64 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -849,6 +923,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.
@@ -856,13 +932,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; @@ -871,6 +947,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -878,15 +956,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 { @@ -894,6 +971,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -901,20 +980,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -922,15 +1003,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Entry group description. Can consist of several sentences or
      * paragraphs that describe the entry group contents.
@@ -938,16 +1022,16 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -955,41 +1039,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 dataCatalogTimestampsBuilder_ != null || 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. */ 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(); @@ -1003,11 +1107,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) { @@ -1021,17 +1129,24 @@ 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 (dataCatalogTimestamps_ != null) { dataCatalogTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(dataCatalogTimestamps_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(dataCatalogTimestamps_) + .mergeFrom(value) + .buildPartial(); } else { dataCatalogTimestamps_ = value; } @@ -1043,11 +1158,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() { if (dataCatalogTimestampsBuilder_ == null) { @@ -1061,55 +1180,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() { + 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); } @@ -1119,12 +1256,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(); } @@ -1133,27 +1270,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; @@ -1168,6 +1305,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 1ebb2ed0e142..70ef44bbca16 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Note: The entry group itself and its child resources might not be
@@ -15,10 +33,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.
    * Note: The entry group itself and its child resources might not be
@@ -26,34 +47,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.
@@ -61,10 +89,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.
@@ -72,35 +103,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 83% 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 e52ff581e1dd..12100c319b9b 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,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Note: The entry itself and its child resources might not be
    * 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.
    * Note: The entry itself and its child resources might not be
    * 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.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -49,10 +76,13 @@ public interface EntryOrBuilder extends
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the
@@ -70,12 +100,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) of the resource. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -90,10 +122,13 @@ public interface EntryOrBuilder extends
    * 
* * string fully_qualified_name = 29; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * Fully qualified name (FQN) of the resource. Set automatically for entries
    * representing resources from synced systems. Settable only during creation
@@ -108,12 +143,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.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -122,10 +159,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.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -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.
    * Only used for entries with types listed in the `EntryType` enum.
@@ -146,11 +189,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.
@@ -165,10 +211,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.
@@ -183,10 +232,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.
@@ -201,43 +253,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.
@@ -249,10 +318,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.
@@ -264,10 +336,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.
@@ -279,32 +354,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. 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.
@@ -315,36 +398,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.
@@ -352,11 +451,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.
@@ -364,11 +468,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.
@@ -376,31 +485,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` 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` 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` type.
@@ -411,56 +531,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.
@@ -471,26 +611,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.
@@ -501,6 +649,8 @@ public interface EntryOrBuilder extends
   com.google.cloud.datacatalog.v1.FilesetSpecOrBuilder getFilesetSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * Display name of an entry.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -510,10 +660,13 @@ public interface EntryOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name of an entry.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -523,12 +676,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.
@@ -540,10 +695,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.
@@ -555,30 +713,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
    * 
@@ -588,24 +754,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.
    * 
@@ -615,6 +789,8 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder(); /** + * + * *
    * Timestamps from the underlying resource, not from the Data Catalog
    * entry.
@@ -624,10 +800,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.
@@ -637,10 +816,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.
@@ -654,24 +836,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.
    * 
@@ -681,6 +871,8 @@ public interface EntryOrBuilder extends com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder(); /** + * + * *
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -692,6 +884,8 @@ public interface EntryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -701,15 +895,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.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -719,9 +911,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 14;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -733,11 +926,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Cloud labels attached to the entry.
    * In Data Catalog, you can create and modify labels attached only to custom
@@ -747,61 +942,87 @@ 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 481aec56ba22..c51be7a62941 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object overview_; /** + * + * *
    * Entry overview with support for rich text.
    * The overview must only contain Unicode characters, and should be
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string overview = 1; + * * @return The overview. */ @java.lang.Override @@ -69,14 +91,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.
    * The overview must only contain Unicode characters, and should be
@@ -87,16 +110,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 { @@ -105,6 +127,7 @@ public java.lang.String getOverview() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overview_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, overview_); } @@ -141,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -168,130 +190,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 +329,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,7 +350,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); + com.google.cloud.datacatalog.v1.EntryOverview result = + new com.google.cloud.datacatalog.v1.EntryOverview(this); result.overview_ = overview_; onBuilt(); return result; @@ -332,38 +361,39 @@ public com.google.cloud.datacatalog.v1.EntryOverview buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -402,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - overview_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + overview_ = input.readStringRequireUtf8(); + + 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,6 +457,8 @@ public Builder mergeFrom( private java.lang.Object overview_ = ""; /** + * + * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -435,13 +469,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; @@ -450,6 +484,8 @@ public java.lang.String getOverview() { } } /** + * + * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -460,15 +496,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 { @@ -476,6 +511,8 @@ public java.lang.String getOverview() { } } /** + * + * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -486,20 +523,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) { + public Builder setOverview(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + overview_ = value; onChanged(); return this; } /** + * + * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -510,15 +549,18 @@ public Builder setOverview(
      * 
* * string overview = 1; + * * @return This builder for chaining. */ public Builder clearOverview() { - + overview_ = getDefaultInstance().getOverview(); onChanged(); return this; } /** + * + * *
      * Entry overview with support for rich text.
      * The overview must only contain Unicode characters, and should be
@@ -529,23 +571,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) { + public Builder setOverviewBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + overview_ = 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); } @@ -555,12 +597,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(); } @@ -569,27 +611,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; @@ -604,6 +646,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 bf8232418969..6d310937bf41 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * The overview must only contain Unicode characters, and should be
@@ -18,10 +36,13 @@ public interface EntryOverviewOrBuilder extends
    * 
* * string overview = 1; + * * @return The overview. */ java.lang.String getOverview(); /** + * + * *
    * Entry overview with support for rich text.
    * The overview must only contain Unicode characters, and should be
@@ -32,8 +53,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 75% 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 df1c39198ad3..848a2430d79e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -11,9 +28,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.
    * 
@@ -22,6 +40,8 @@ public enum EntryType */ ENTRY_TYPE_UNSPECIFIED(0), /** + * + * *
    * The entry type that has a GoogleSQL schema, including
    * logical views.
@@ -31,6 +51,8 @@ public enum EntryType
    */
   TABLE(2),
   /**
+   *
+   *
    * 
    * Output only. The type of models.
    * For more information, see [Supported models in BigQuery ML]
@@ -41,6 +63,8 @@ public enum EntryType
    */
   MODEL(5),
   /**
+   *
+   *
    * 
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -49,6 +73,8 @@ public enum EntryType */ DATA_STREAM(3), /** + * + * *
    * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
@@ -58,6 +84,8 @@ public enum EntryType
    */
   FILESET(4),
   /**
+   *
+   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -66,6 +94,8 @@ public enum EntryType */ CLUSTER(6), /** + * + * *
    * A database.
    * 
@@ -74,6 +104,8 @@ public enum EntryType */ DATABASE(7), /** + * + * *
    * Output only. Connection to a data source. For example, a BigQuery
    * connection.
@@ -83,6 +115,8 @@ public enum EntryType
    */
   DATA_SOURCE_CONNECTION(8),
   /**
+   *
+   *
    * 
    * Output only. Routine, for example, a BigQuery routine.
    * 
@@ -91,6 +125,8 @@ public enum EntryType */ ROUTINE(9), /** + * + * *
    * A Dataplex lake.
    * 
@@ -99,6 +135,8 @@ public enum EntryType */ LAKE(10), /** + * + * *
    * A Dataplex zone.
    * 
@@ -107,6 +145,8 @@ public enum EntryType */ ZONE(11), /** + * + * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -118,6 +158,8 @@ public enum EntryType ; /** + * + * *
    * Default unknown type.
    * 
@@ -126,6 +168,8 @@ public enum EntryType */ public static final int ENTRY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The entry type that has a GoogleSQL schema, including
    * logical views.
@@ -135,6 +179,8 @@ public enum EntryType
    */
   public static final int TABLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Output only. The type of models.
    * For more information, see [Supported models in BigQuery ML]
@@ -145,6 +191,8 @@ public enum EntryType
    */
   public static final int MODEL_VALUE = 5;
   /**
+   *
+   *
    * 
    * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
@@ -153,6 +201,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.
@@ -162,6 +212,8 @@ public enum EntryType
    */
   public static final int FILESET_VALUE = 4;
   /**
+   *
+   *
    * 
    * A group of servers that work together. For example, a Kafka cluster.
    * 
@@ -170,6 +222,8 @@ public enum EntryType */ public static final int CLUSTER_VALUE = 6; /** + * + * *
    * A database.
    * 
@@ -178,6 +232,8 @@ public enum EntryType */ public static final int DATABASE_VALUE = 7; /** + * + * *
    * Output only. Connection to a data source. For example, a BigQuery
    * connection.
@@ -187,6 +243,8 @@ public enum EntryType
    */
   public static final int DATA_SOURCE_CONNECTION_VALUE = 8;
   /**
+   *
+   *
    * 
    * Output only. Routine, for example, a BigQuery routine.
    * 
@@ -195,6 +253,8 @@ public enum EntryType */ public static final int ROUTINE_VALUE = 9; /** + * + * *
    * A Dataplex lake.
    * 
@@ -203,6 +263,8 @@ public enum EntryType */ public static final int LAKE_VALUE = 10; /** + * + * *
    * A Dataplex zone.
    * 
@@ -211,6 +273,8 @@ public enum EntryType */ public static final int ZONE_VALUE = 11; /** + * + * *
    * A service, for example, a Dataproc Metastore service.
    * 
@@ -219,7 +283,6 @@ public enum EntryType */ public static final int SERVICE_VALUE = 14; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -244,58 +307,67 @@ 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; - 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; + 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; @@ -311,4 +383,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 9c6a1742e16f..5ee8ef505710 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,15 +28,16 @@
  *
  * 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.EMPTY;
@@ -27,37 +45,41 @@ private ExportTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,30 +95,37 @@ 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;
   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 @@ -105,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. 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 { @@ -138,34 +169,48 @@ public java.lang.String getParent() { public static final int TAXONOMIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList 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 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. */ @@ -173,27 +218,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 @@ -201,12 +253,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 @@ -218,6 +273,7 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,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_); } @@ -238,8 +293,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 +316,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 +328,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: @@ -314,8 +366,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,96 +377,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].
@@ -423,33 +482,32 @@ 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();
@@ -463,9 +521,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_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
@@ -484,7 +542,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);
+      com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -504,38 +563,39 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -543,7 +603,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_;
         onChanged();
@@ -559,13 +620,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();
@@ -593,28 +656,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -624,12 +691,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() {
@@ -643,18 +710,22 @@ 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; @@ -663,20 +734,23 @@ 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 { @@ -684,95 +758,124 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList taxonomies_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList taxonomies_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -780,80 +883,100 @@ 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) { + public Builder setTaxonomies(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); 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 taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies( - java.lang.String value) { + public Builder addTaxonomies(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.add(value); 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 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_); 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() { @@ -863,20 +986,24 @@ public Builder clearTaxonomies() { 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) { + public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); onChanged(); @@ -884,24 +1011,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() { @@ -911,12 +1044,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. */ @@ -927,12 +1063,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() { @@ -943,9 +1082,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); } @@ -955,12 +1094,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(); } @@ -969,27 +1108,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; @@ -1004,6 +1143,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 52% 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 a87ef02a9e7f..2d5ec72fd5a9 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,93 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); - public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.DestinationCase getDestinationCase(); + public com.google.cloud.datacatalog.v1.ExportTaxonomiesRequest.DestinationCase + getDestinationCase(); } 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 b1263f043fc6..790e1bfe1fe9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTax return taxonomies_; } /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * List of taxonomies and policy tags as nested protocol buffers.
    * 
@@ -97,6 +124,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.
    * 
@@ -110,6 +139,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -136,8 +165,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; @@ -147,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -177,96 +205,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].
@@ -274,33 +310,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();
@@ -315,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_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
@@ -336,7 +371,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -355,38 +391,39 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -394,7 +431,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()) {
@@ -413,9 +451,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_);
           }
@@ -447,25 +486,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) {
@@ -475,21 +516,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.
      * 
@@ -504,6 +554,8 @@ public java.util.List getTax } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -518,6 +570,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -532,6 +586,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -553,6 +609,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -571,6 +629,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -591,6 +651,8 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -612,6 +674,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -630,6 +694,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -648,6 +714,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -658,8 +726,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); @@ -667,6 +734,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -684,6 +753,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -701,6 +772,8 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -712,6 +785,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -721,19 +796,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 { @@ -741,6 +819,8 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } } /** + * + * *
      * List of taxonomies and policy tags as nested protocol buffers.
      * 
@@ -748,10 +828,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.
      * 
@@ -760,37 +842,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); } @@ -800,12 +888,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(); } @@ -814,27 +902,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; @@ -849,6 +937,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..5ab817d544dc 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 8c17a768dc48..90df65ba4a5f 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,54 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
      * 
@@ -57,6 +70,8 @@ public enum PrimitiveType */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A double precision number.
      * 
@@ -65,6 +80,8 @@ public enum PrimitiveType */ DOUBLE(1), /** + * + * *
      * An UTF-8 string.
      * 
@@ -73,6 +90,8 @@ public enum PrimitiveType */ STRING(2), /** + * + * *
      * A boolean value.
      * 
@@ -81,6 +100,8 @@ public enum PrimitiveType */ BOOL(3), /** + * + * *
      * A timestamp.
      * 
@@ -89,6 +110,8 @@ public enum PrimitiveType */ TIMESTAMP(4), /** + * + * *
      * A Richtext description.
      * 
@@ -100,6 +123,8 @@ public enum PrimitiveType ; /** + * + * *
      * The default invalid value for a type.
      * 
@@ -108,6 +133,8 @@ public enum PrimitiveType */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A double precision number.
      * 
@@ -116,6 +143,8 @@ public enum PrimitiveType */ public static final int DOUBLE_VALUE = 1; /** + * + * *
      * An UTF-8 string.
      * 
@@ -124,6 +153,8 @@ public enum PrimitiveType */ public static final int STRING_VALUE = 2; /** + * + * *
      * A boolean value.
      * 
@@ -132,6 +163,8 @@ public enum PrimitiveType */ public static final int BOOL_VALUE = 3; /** + * + * *
      * A timestamp.
      * 
@@ -140,6 +173,8 @@ public enum PrimitiveType */ public static final int TIMESTAMP_VALUE = 4; /** + * + * *
      * A Richtext description.
      * 
@@ -148,7 +183,6 @@ public enum PrimitiveType */ public static final int RICHTEXT_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -173,52 +207,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; @@ -235,11 +272,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -250,11 +290,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -265,10 +308,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -279,10 +325,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -293,11 +342,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -308,57 +360,61 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -367,10 +423,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.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -379,55 +438,57 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object displayName_; /** + * + * *
        * Required. The display name of the enum value. Must not be an empty string.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -436,6 +497,7 @@ protected java.lang.Object newInstance(
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -444,14 +506,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.
        * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -460,16 +523,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 { @@ -478,6 +540,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -489,8 +552,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -514,15 +576,15 @@ public int getSerializedSize() { @java.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; } @@ -542,87 +604,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 @@ -631,36 +700,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(); @@ -670,13 +737,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(); } @@ -691,7 +759,8 @@ 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); + com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue result = + new com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -701,46 +770,52 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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_; onChanged(); @@ -771,17 +846,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + 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) { @@ -794,6 +871,8 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** + * + * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -802,13 +881,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; @@ -817,6 +896,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -825,15 +906,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 { @@ -841,6 +921,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -849,20 +931,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -871,15 +955,18 @@ public Builder setDisplayName(
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
          * Required. The display name of the enum value. Must not be an empty string.
          * The name must contain only Unicode letters, numbers (0-9), underscores
@@ -888,20 +975,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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -914,41 +1002,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; @@ -960,15 +1051,18 @@ 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; - private java.util.List allowedValues_; + private java.util.List + allowedValues_; /** + * + * *
      * The set of allowed values for this enum.
      * This set must not be empty and can include up to 100 allowed values.
@@ -979,13 +1073,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -996,14 +1094,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1014,13 +1116,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1031,13 +1136,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.
      * This set must not be empty and can include up to 100 allowed values.
@@ -1048,15 +1157,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; @@ -1068,8 +1179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < allowedValues_.size(); i++) { output.writeMessage(1, allowedValues_.get(i)); } @@ -1083,8 +1193,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; @@ -1094,15 +1203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -1124,87 +1233,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 @@ -1213,36 +1328,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(); @@ -1257,9 +1370,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 @@ -1278,7 +1391,8 @@ 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); int from_bitField0_ = bitField0_; if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1297,38 +1411,41 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1336,7 +1453,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()) { @@ -1355,9 +1473,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_); } @@ -1389,25 +1508,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) { @@ -1417,21 +1538,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1442,9 +1572,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 { @@ -1452,6 +1585,8 @@ public java.util.List * The set of allowed values for this enum. * This set must not be empty and can include up to 100 allowed values. @@ -1462,7 +1597,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) { @@ -1472,6 +1609,8 @@ public int getAllowedValuesCount() { } } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1482,9 +1621,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 { @@ -1492,6 +1634,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa } } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1502,7 +1646,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) { @@ -1519,6 +1665,8 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1529,10 +1677,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()); @@ -1543,6 +1694,8 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1553,9 +1706,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(); @@ -1569,6 +1725,8 @@ public Builder addAllowedValues(com.google.cloud.datacatalog.v1.FieldType.EnumTy return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1579,7 +1737,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) { @@ -1596,6 +1756,8 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1606,7 +1768,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) { @@ -1620,6 +1784,8 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1630,10 +1796,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()); @@ -1644,6 +1813,8 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1654,14 +1825,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); @@ -1669,6 +1842,8 @@ public Builder addAllAllowedValues( return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1679,7 +1854,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) { @@ -1692,6 +1869,8 @@ public Builder clearAllowedValues() { return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1702,7 +1881,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) { @@ -1715,6 +1896,8 @@ public Builder removeAllowedValues(int index) { return this; } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1725,13 +1908,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1742,16 +1929,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1762,10 +1954,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 { @@ -1773,6 +1968,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValueOrBuilder get } } /** + * + * *
        * The set of allowed values for this enum.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1783,13 +1980,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1800,14 +2003,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.
        * This set must not be empty and can include up to 100 allowed values.
@@ -1818,18 +2027,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(), @@ -1838,6 +2055,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) { @@ -1850,12 +2068,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(); } @@ -1864,27 +2082,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; @@ -1899,18 +2118,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeDeclCase_ = 0; 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; } @@ -1926,41 +2147,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() { @@ -1970,30 +2200,39 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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 @@ -2001,21 +2240,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.
    * 
@@ -2025,12 +2269,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; @@ -2042,8 +2287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_)); } @@ -2060,12 +2304,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; @@ -2075,22 +2320,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: @@ -2123,126 +2367,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(); @@ -2255,9 +2501,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 @@ -2276,7 +2522,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); + com.google.cloud.datacatalog.v1.FieldType result = + new com.google.cloud.datacatalog.v1.FieldType(this); if (typeDeclCase_ == 1) { result.typeDecl_ = typeDecl_; } @@ -2296,38 +2543,39 @@ public com.google.cloud.datacatalog.v1.FieldType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -2337,17 +2585,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(); @@ -2375,25 +2626,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) { @@ -2403,12 +2655,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() { @@ -2418,13 +2670,15 @@ public Builder clearTypeDecl() { return this; } - /** + * + * *
      * 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 @@ -2432,11 +2686,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 @@ -2447,11 +2704,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. */ @@ -2462,29 +2722,38 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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. */ @@ -2498,11 +2767,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() { @@ -2515,13 +2787,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 @@ -2529,11 +2807,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 @@ -2551,6 +2832,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { } } /** + * + * *
      * An enum type.
      * 
@@ -2571,6 +2854,8 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType va return this; } /** + * + * *
      * An enum type.
      * 
@@ -2589,6 +2874,8 @@ public Builder setEnumType( return this; } /** + * + * *
      * An enum type.
      * 
@@ -2597,10 +2884,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; } @@ -2616,6 +2907,8 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType return this; } /** + * + * *
      * An enum type.
      * 
@@ -2639,6 +2932,8 @@ public Builder clearEnumType() { return this; } /** + * + * *
      * An enum type.
      * 
@@ -2649,6 +2944,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder getEnumTypeBui return getEnumTypeFieldBuilder().getBuilder(); } /** + * + * *
      * An enum type.
      * 
@@ -2667,6 +2964,8 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr } } /** + * + * *
      * An enum type.
      * 
@@ -2674,26 +2973,32 @@ 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()); typeDecl_ = null; } typeDeclCase_ = 2; - onChanged();; + 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); } @@ -2703,12 +3008,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(); } @@ -2717,27 +3022,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; @@ -2752,6 +3057,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 5460ab3da96a..e777d0d04c08 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 68% 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 0a369224d4ab..2e446e1a2e9c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -64,19 +85,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.
@@ -85,11 +113,13 @@ 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() {
+  public com.google.cloud.datacatalog.v1.DataplexFilesetSpecOrBuilder
+      getDataplexFilesetOrBuilder() {
     return getDataplexFileset();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -101,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 (dataplexFileset_ != null) {
       output.writeMessage(1, getDataplexFileset());
     }
@@ -116,8 +145,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;
@@ -127,17 +155,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;
@@ -159,97 +187,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.
@@ -257,33 +292,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();
@@ -297,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_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
@@ -318,7 +352,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);
+      com.google.cloud.datacatalog.v1.FilesetSpec result =
+          new com.google.cloud.datacatalog.v1.FilesetSpec(this);
       if (dataplexFilesetBuilder_ == null) {
         result.dataplexFileset_ = dataplexFileset_;
       } else {
@@ -332,38 +367,39 @@ public com.google.cloud.datacatalog.v1.FilesetSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -401,19 +437,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDataplexFilesetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                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,36 +462,49 @@ public Builder mergeFrom(
 
     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 dataplexFilesetBuilder_ != null || 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. */ 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.
@@ -477,6 +526,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.
@@ -496,6 +547,8 @@ public Builder setDataplexFileset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -507,7 +560,9 @@ public Builder mergeDataplexFileset(com.google.cloud.datacatalog.v1.DataplexFile
       if (dataplexFilesetBuilder_ == null) {
         if (dataplexFileset_ != null) {
           dataplexFileset_ =
-            com.google.cloud.datacatalog.v1.DataplexFilesetSpec.newBuilder(dataplexFileset_).mergeFrom(value).buildPartial();
+              com.google.cloud.datacatalog.v1.DataplexFilesetSpec.newBuilder(dataplexFileset_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           dataplexFileset_ = value;
         }
@@ -519,6 +574,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.
@@ -538,6 +595,8 @@ public Builder clearDataplexFileset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -546,11 +605,13 @@ public Builder clearDataplexFileset() {
      * .google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;
      */
     public com.google.cloud.datacatalog.v1.DataplexFilesetSpec.Builder getDataplexFilesetBuilder() {
-      
+
       onChanged();
       return getDataplexFilesetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Fields specific to a Dataplex fileset and present only in the Dataplex
      * fileset entries.
@@ -558,15 +619,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.
@@ -575,21 +640,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);
     }
 
@@ -599,12 +667,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();
   }
@@ -613,27 +681,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;
@@ -648,6 +716,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..b53fd9ae7427 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 e3f5bd190077..8792d161cc53 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,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -64,29 +86,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 { @@ -97,11 +119,16 @@ 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 @@ -109,23 +136,34 @@ 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() { @@ -135,11 +173,14 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestamp public static final int SIZE_BYTES_FIELD_NUMBER = 4; 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 @@ -148,6 +189,7 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -183,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; @@ -198,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.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; } @@ -232,137 +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.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(); @@ -380,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 @@ -401,7 +443,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); + com.google.cloud.datacatalog.v1.GcsFileSpec result = + new com.google.cloud.datacatalog.v1.GcsFileSpec(this); result.filePath_ = filePath_; if (gcsTimestampsBuilder_ == null) { result.gcsTimestamps_ = gcsTimestamps_; @@ -417,38 +460,39 @@ public com.google.cloud.datacatalog.v1.GcsFileSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -493,29 +537,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - filePath_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getGcsTimestampsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 32: { - sizeBytes_ = input.readInt64(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + filePath_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 32: + { + sizeBytes_ = input.readInt64(); + + 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) { @@ -528,18 +574,20 @@ public Builder mergeFrom( 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; @@ -548,20 +596,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 { @@ -569,54 +618,61 @@ 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) { + public Builder setFilePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; 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() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); 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) { + public Builder setFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; @@ -624,39 +680,58 @@ 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 gcsTimestampsBuilder_ != null || 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. */ 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) { @@ -672,11 +747,15 @@ 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) { @@ -690,17 +769,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 (gcsTimestamps_ != null) { gcsTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(gcsTimestamps_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(gcsTimestamps_) + .mergeFrom(value) + .buildPartial(); } else { gcsTimestamps_ = value; } @@ -712,11 +797,15 @@ 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() { if (gcsTimestampsBuilder_ == null) { @@ -730,60 +819,79 @@ 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() { - + onChanged(); 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 @@ -791,37 +899,43 @@ 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. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); 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() { - + sizeBytes_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -831,12 +945,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(); } @@ -845,27 +959,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; @@ -880,6 +994,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 30446eaeaf1a..334e008900fe 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,65 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 81d1e86e7342..25557a7b2c37 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,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; sampleGcsFileSpecs_ = java.util.Collections.emptyList(); @@ -26,32 +44,35 @@ private GcsFilesetSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsFilesetSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private com.google.protobuf.LazyStringList filePatterns_; /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * For more information, see [Wildcard Names]
@@ -79,13 +100,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.
    * For more information, see [Wildcard Names]
@@ -113,12 +136,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.
    * For more information, see [Wildcard Names]
@@ -146,6 +172,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. */ @@ -153,6 +180,8 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * For more information, see [Wildcard Names]
@@ -180,72 +209,92 @@ 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; 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( @@ -254,6 +303,7 @@ public com.google.cloud.datacatalog.v1.GcsFileSpecOrBuilder getSampleGcsFileSpec } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,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 { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -291,8 +340,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; @@ -302,17 +351,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; } @@ -337,130 +385,136 @@ 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(); @@ -477,9 +531,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 @@ -498,7 +552,8 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { filePatterns_ = filePatterns_.getUnmodifiableView(); @@ -522,38 +577,39 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -590,9 +646,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_); } @@ -624,31 +681,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) { @@ -658,16 +717,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList filePatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList filePatterns_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFilePatternsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -695,13 +759,15 @@ 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() { return filePatterns_.getUnmodifiableView(); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -729,12 +795,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.
      * For more information, see [Wildcard Names]
@@ -762,6 +831,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. */ @@ -769,6 +839,8 @@ public java.lang.String getFilePatterns(int index) { return filePatterns_.get(index); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -796,14 +868,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.
      * For more information, see [Wildcard Names]
@@ -831,21 +905,23 @@ 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) { + public Builder setFilePatterns(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -873,20 +949,22 @@ 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) { + public Builder addFilePatterns(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -914,18 +992,19 @@ 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_); onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -953,6 +1032,7 @@ public Builder addAllFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePatterns() { @@ -962,6 +1042,8 @@ public Builder clearFilePatterns() { return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * For more information, see [Wildcard Names]
@@ -989,15 +1071,15 @@ 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) { + public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); @@ -1005,24 +1087,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) { @@ -1032,12 +1124,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) { @@ -1047,12 +1143,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) { @@ -1062,12 +1162,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) { @@ -1084,12 +1188,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) { @@ -1103,12 +1211,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) { @@ -1124,12 +1236,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) { @@ -1146,12 +1262,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) { @@ -1165,12 +1285,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) { @@ -1184,19 +1308,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); @@ -1204,12 +1331,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) { @@ -1222,12 +1353,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) { @@ -1240,42 +1375,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 { @@ -1283,48 +1431,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(), @@ -1333,9 +1499,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); } @@ -1345,12 +1511,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(); } @@ -1359,27 +1525,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; @@ -1394,6 +1560,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 ea775142ea64..aef969fa538c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * For more information, see [Wildcard Names]
@@ -35,11 +53,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.
    * For more information, see [Wildcard Names]
@@ -67,10 +87,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.
    * For more information, see [Wildcard Names]
@@ -98,11 +121,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.
    * For more information, see [Wildcard Names]
@@ -130,58 +156,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..99ce1952482f --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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" + + "\"z\n\016GcsFilesetSpec\022\032\n\rfile_patterns\030\001 \003(" + + "\tB\003\340A\002\022L\n\025sample_gcs_file_specs\030\002 \003(\0132(." + + "google.cloud.datacatalog.v1.GcsFileSpecB" + + "\003\340A\003\"\212\001\n\013GcsFileSpec\022\026\n\tfile_path\030\001 \001(\tB" + + "\003\340A\002\022J\n\016gcs_timestamps\030\002 \001(\0132-.google.cl" + + "oud.datacatalog.v1.SystemTimestampsB\003\340A\003" + + "\022\027\n\nsize_bytes\030\004 \001(\003B\003\340A\003B\313\001\n\037com.google" + + ".cloud.datacatalog.v1P\001ZFgoogle.golang.o" + + "rg/genproto/googleapis/cloud/datacatalog" + + "/v1;datacatalog\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 dd56989fe96d..19ecbafb3555 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,11 +124,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 @@ -110,11 +139,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 @@ -122,6 +154,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.
    * 
@@ -134,6 +168,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -166,8 +200,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; @@ -177,19 +210,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; @@ -214,96 +246,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].
@@ -311,33 +350,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();
@@ -353,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_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
@@ -374,7 +412,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);
+      com.google.cloud.datacatalog.v1.GetEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.GetEntryGroupRequest(this);
       result.name_ = name_;
       if (readMaskBuilder_ == null) {
         result.readMask_ = readMask_;
@@ -389,38 +428,39 @@ public com.google.cloud.datacatalog.v1.GetEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +468,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_;
         onChanged();
@@ -462,24 +503,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +534,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +558,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 { @@ -533,54 +582,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -588,24 +650,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 readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * 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() { @@ -616,6 +687,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -636,14 +709,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(); onChanged(); @@ -654,6 +728,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -664,7 +740,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -676,6 +752,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -694,6 +772,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -701,11 +781,13 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The fields to return. If empty or omitted, all fields are returned.
      * 
@@ -716,11 +798,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.
      * 
@@ -728,21 +811,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); } @@ -752,12 +838,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(); } @@ -766,27 +852,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; @@ -801,6 +887,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..5693a4c7e396 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 61% 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 aa41ddbb139b..c889cda1f333 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -159,97 +185,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.GetEntryRequest result =
+          new com.google.cloud.datacatalog.v1.GetEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.GetEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..0dacd7288e50 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 62% 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 020630f082bc..b734173d71d7 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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. 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.GetPolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.GetPolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.GetPolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..20df6f0aaf86 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 c3f3ded969e3..6bdd3cb35aec 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +291,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();
@@ -293,9 +326,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
@@ -314,7 +347,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);
+      com.google.cloud.datacatalog.v1.GetTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.GetTagTemplateRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +358,39 @@ public com.google.cloud.datacatalog.v1.GetTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +398,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_;
         onChanged();
@@ -394,17 +430,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +455,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +479,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 { @@ -458,61 +503,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +580,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(); } @@ -536,27 +594,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; @@ -571,6 +629,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..fdc955d4dddf --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 62% 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 72d0a8ae9028..9d331fdafb0f 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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. 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.GetTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.GetTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.GetTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..87380030f13e --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/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 bee3e707a5d0..176e40e1e4fe 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,58 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,31 +95,39 @@ 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;
   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 @@ -106,29 +136,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 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 { @@ -138,11 +170,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 @@ -150,21 +185,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.
    * 
@@ -174,18 +214,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 @@ -193,21 +236,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.
    * 
@@ -215,14 +263,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; @@ -234,8 +284,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -258,12 +307,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; @@ -273,24 +324,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: @@ -326,96 +375,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].
@@ -423,33 +480,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();
@@ -467,9 +523,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
@@ -488,7 +544,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);
+      com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest(this);
       result.parent_ = parent_;
       if (sourceCase_ == 2) {
         if (inlineSourceBuilder_ == null) {
@@ -513,38 +570,39 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -552,23 +610,27 @@ 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_;
         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();
@@ -596,31 +658,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -630,12 +693,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() {
@@ -645,21 +708,24 @@ public Builder clearSource() {
       return this;
     }
 
-
     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; @@ -668,20 +734,23 @@ 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 { @@ -689,67 +758,86 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.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 @@ -757,11 +845,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 @@ -779,6 +870,8 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { } } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -799,6 +892,8 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1.InlineSource valu return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -817,6 +912,8 @@ public Builder setInlineSource( return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -825,10 +922,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; } @@ -844,6 +944,8 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource va return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -867,6 +969,8 @@ public Builder clearInlineSource() { return this; } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -877,6 +981,8 @@ public com.google.cloud.datacatalog.v1.InlineSource.Builder getInlineSourceBuild return getInlineSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -895,6 +1001,8 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu } } /** + * + * *
      * Inline source taxonomy to import.
      * 
@@ -902,32 +1010,44 @@ 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()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return inlineSourceBuilder_; } 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 @@ -935,11 +1055,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 @@ -957,13 +1080,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(); @@ -977,6 +1103,8 @@ public Builder setCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossRegio return this; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -995,18 +1123,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; } @@ -1022,6 +1157,8 @@ public Builder mergeCrossRegionalSource(com.google.cloud.datacatalog.v1.CrossReg return this; } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1045,16 +1182,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.
      * 
@@ -1062,7 +1204,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 { @@ -1073,6 +1216,8 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSourceOrBuilder getCrossRegi } } /** + * + * *
      * Cross-regional source taxonomy to import.
      * 
@@ -1080,26 +1225,32 @@ 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()); source_ = null; } sourceCase_ = 3; - onChanged();; + 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); } @@ -1109,12 +1260,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(); } @@ -1123,27 +1274,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; @@ -1158,6 +1309,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 428417cc9cc2..5babff4b47d7 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,51 +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/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.
    * 
@@ -55,24 +88,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 53e1ebf47c3f..146dcdd0b31a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Imported taxonomies.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** + * + * *
    * Imported taxonomies.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Imported taxonomies.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Imported taxonomies.
    * 
@@ -104,12 +133,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; @@ -121,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -136,8 +164,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; @@ -147,15 +174,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -177,96 +204,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].
@@ -274,33 +309,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();
@@ -315,9 +349,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
@@ -336,7 +370,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -355,38 +390,39 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -394,7 +430,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()) {
@@ -413,9 +450,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_);
           }
@@ -447,25 +485,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) {
@@ -475,21 +514,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.
      * 
@@ -504,6 +551,8 @@ public java.util.List getTaxonomiesLis } } /** + * + * *
      * Imported taxonomies.
      * 
@@ -518,6 +567,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Imported taxonomies.
      * 
@@ -532,14 +583,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(); @@ -553,6 +605,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -571,6 +625,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -591,14 +647,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(); @@ -612,14 +669,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()); @@ -630,6 +688,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -648,6 +708,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -658,8 +720,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); @@ -667,6 +728,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -684,6 +747,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Imported taxonomies.
      * 
@@ -701,39 +766,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 { @@ -741,6 +811,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** + * + * *
      * Imported taxonomies.
      * 
@@ -748,49 +820,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); } @@ -800,12 +878,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(); } @@ -814,27 +892,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; @@ -849,6 +927,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..f87b9b49cf2a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 a525b1210ffc..e22be0169f9a 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,106 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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( @@ -109,6 +148,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +160,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -135,8 +174,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; @@ -146,15 +184,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -175,130 +213,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(); @@ -313,9 +357,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 @@ -334,7 +378,8 @@ 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); int from_bitField0_ = bitField0_; if (taxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -353,38 +398,39 @@ public com.google.cloud.datacatalog.v1.InlineSource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -411,9 +457,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_); } @@ -445,25 +492,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) { @@ -473,26 +522,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) { @@ -502,11 +562,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) { @@ -516,11 +580,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) { @@ -530,11 +598,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) { @@ -551,11 +623,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) { @@ -569,11 +645,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) { @@ -589,11 +669,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) { @@ -610,11 +694,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) { @@ -628,11 +716,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) { @@ -646,18 +738,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); @@ -665,11 +760,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) { @@ -682,11 +781,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) { @@ -699,39 +802,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 { @@ -739,56 +855,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); } @@ -798,12 +930,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(); } @@ -812,27 +944,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; @@ -847,6 +979,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..04c5d1cc6c8f --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 67% 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 005f9b5712a9..582bc0667a15 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * 
@@ -56,6 +82,8 @@ public enum IntegratedSystem ; /** + * + * *
    * Default unknown system.
    * 
@@ -64,6 +92,8 @@ public enum IntegratedSystem */ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BigQuery.
    * 
@@ -72,6 +102,8 @@ public enum IntegratedSystem */ public static final int BIGQUERY_VALUE = 1; /** + * + * *
    * Cloud Pub/Sub.
    * 
@@ -80,6 +112,8 @@ public enum IntegratedSystem */ public static final int CLOUD_PUBSUB_VALUE = 2; /** + * + * *
    * Dataproc Metastore.
    * 
@@ -88,6 +122,8 @@ public enum IntegratedSystem */ public static final int DATAPROC_METASTORE_VALUE = 3; /** + * + * *
    * Dataplex.
    * 
@@ -96,7 +132,6 @@ public enum IntegratedSystem */ public static final int DATAPLEX_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,51 +156,53 @@ 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; - 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; + 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; @@ -181,4 +218,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 7b69f36e1365..6baf6c244ce1 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,38 +45,44 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,30 +91,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 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 { @@ -101,12 +127,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -117,12 +146,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -131,30 +163,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 +197,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 +207,7 @@ public java.lang.String getPageToken() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -180,6 +215,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
@@ -188,6 +225,7 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ @java.lang.Override @@ -195,6 +233,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.
@@ -210,6 +250,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -221,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_);
     }
@@ -248,15 +288,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;
@@ -266,23 +304,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;
@@ -311,96 +346,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].
@@ -408,33 +450,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();
@@ -454,9 +495,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
@@ -475,7 +516,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);
+      com.google.cloud.datacatalog.v1.ListEntriesRequest result =
+          new com.google.cloud.datacatalog.v1.ListEntriesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -492,38 +534,39 @@ public com.google.cloud.datacatalog.v1.ListEntriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -531,7 +574,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_;
         onChanged();
@@ -572,34 +616,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -612,19 +659,23 @@ public Builder mergeFrom(
 
     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; @@ -633,21 +684,24 @@ 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 { @@ -655,70 +709,86 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -726,32 +796,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -759,19 +835,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; @@ -780,21 +858,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 { @@ -802,57 +881,64 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -860,8 +946,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.
@@ -870,12 +961,15 @@ public Builder setPageTokenBytes(
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -884,6 +978,7 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -894,6 +989,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -917,6 +1014,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.
@@ -926,8 +1025,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();
         onChanged();
@@ -938,6 +1036,8 @@ public Builder setReadMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -951,7 +1051,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
         if (readMask_ != null) {
           readMask_ =
-            com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
         } else {
           readMask_ = value;
         }
@@ -963,6 +1063,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.
@@ -984,6 +1086,8 @@ public Builder clearReadMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -994,11 +1098,13 @@ public Builder clearReadMask() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
-      
+
       onChanged();
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
@@ -1012,11 +1118,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.
@@ -1027,21 +1134,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);
     }
 
@@ -1051,12 +1161,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();
   }
@@ -1065,27 +1175,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;
@@ -1100,6 +1210,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 69%
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 52da0dd61a3a..16c60a377523 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,68 +1,103 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
@@ -71,10 +106,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.
@@ -83,10 +121,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 9ab02cfa751a..8416a49c62e3 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,32 +45,35 @@ private ListEntriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * Entry details.
    * 
@@ -64,6 +85,8 @@ public java.util.List getEntriesList() { return entries_; } /** + * + * *
    * Entry details.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getEntriesCount() { return entries_.size(); } /** + * + * *
    * Entry details.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1.Entry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * Entry details.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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; } } /** + * + * *
    * 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +369,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();
@@ -376,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_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
@@ -397,7 +432,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +453,39 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +493,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()) {
@@ -475,9 +513,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_);
           }
@@ -513,30 +552,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +587,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.
      * 
@@ -575,6 +623,8 @@ public java.util.List getEntriesList() { } } /** + * + * *
      * Entry details.
      * 
@@ -589,6 +639,8 @@ public int getEntriesCount() { } } /** + * + * *
      * Entry details.
      * 
@@ -603,14 +655,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(); @@ -624,6 +677,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -642,6 +697,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -662,14 +719,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(); @@ -683,14 +741,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()); @@ -701,6 +760,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -719,6 +780,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -729,8 +792,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); @@ -738,6 +800,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -755,6 +819,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * Entry details.
      * 
@@ -772,39 +838,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 { @@ -812,6 +883,8 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder( } } /** + * + * *
      * Entry details.
      * 
@@ -819,42 +892,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_; @@ -862,19 +940,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; @@ -883,21 +963,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 { @@ -905,64 +986,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1060,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(); } @@ -986,27 +1074,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; @@ -1021,6 +1109,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..32c64d5971a0 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 8b8d79ec6b56..c6a021daec3f 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,38 +45,44 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,30 +91,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 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 { @@ -101,6 +127,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of items to return.
    * Default is 10. Maximum limit is 1000.
@@ -108,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -118,12 +147,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 +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; } } /** + * + * *
    * 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 +196,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +231,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 +244,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,96 +278,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].
@@ -346,33 +383,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,7 +443,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);
+      com.google.cloud.datacatalog.v1.ListEntryGroupsRequest result =
+          new com.google.cloud.datacatalog.v1.ListEntryGroupsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -419,38 +456,39 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -458,7 +496,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_;
         onChanged();
@@ -496,27 +535,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -529,19 +572,23 @@ public Builder mergeFrom(
 
     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; @@ -550,21 +597,24 @@ 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 { @@ -572,64 +622,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of items to return.
      * Default is 10. Maximum limit is 1000.
@@ -637,6 +702,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -644,6 +710,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of items to return.
      * Default is 10. Maximum limit is 1000.
@@ -651,16 +719,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of items to return.
      * Default is 10. Maximum limit is 1000.
@@ -668,10 +739,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -679,19 +751,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; @@ -700,21 +774,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 { @@ -722,64 +797,71 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +871,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(); } @@ -803,27 +885,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; @@ -838,6 +920,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 636ce5af7efa..5d7d2998513e 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,35 +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/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.
    * Default is 10. Maximum limit is 1000.
@@ -37,29 +64,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 1b958ac4cf35..df2cef0c2805 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListEntryGroupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List entryGroups_;
   /**
+   *
+   *
    * 
    * Entry group details.
    * 
@@ -64,6 +85,8 @@ public java.util.List getEntryGroups return entryGroups_; } /** + * + * *
    * Entry group details.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** + * + * *
    * Entry group details.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { return entryGroups_.get(index); } /** + * + * *
    * Entry group details.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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; } } /** + * + * *
    * 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -188,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +625,8 @@ public java.util.List getEntryGroups } } /** + * + * *
      * Entry group details.
      * 
@@ -589,6 +641,8 @@ public int getEntryGroupsCount() { } } /** + * + * *
      * Entry group details.
      * 
@@ -603,14 +657,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(); @@ -624,6 +679,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -642,6 +699,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -662,14 +721,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(); @@ -683,6 +743,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -701,6 +763,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -719,6 +783,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -729,8 +795,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); @@ -738,6 +803,8 @@ public Builder addAllEntryGroups( return this; } /** + * + * *
      * Entry group details.
      * 
@@ -755,6 +822,8 @@ public Builder clearEntryGroups() { return this; } /** + * + * *
      * Entry group details.
      * 
@@ -772,39 +841,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 { @@ -812,6 +886,8 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild } } /** + * + * *
      * Entry group details.
      * 
@@ -819,42 +895,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_; @@ -862,19 +944,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; @@ -883,21 +967,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 { @@ -905,64 +990,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1064,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(); } @@ -986,27 +1078,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; @@ -1021,6 +1113,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..bfb6b8501ad0 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 67% 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 a0dbbc9630b1..f63ce74f64e5 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,37 +45,43 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,29 +90,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 { @@ -99,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return. Must be a value between 1 and 1000
    * inclusively.
@@ -106,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,6 +145,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The pagination token of the next results page. If not set, returns the
    * first page.
@@ -123,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -131,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.
@@ -146,16 +179,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 { @@ -164,6 +196,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +231,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 +244,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; } @@ -249,96 +278,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].
@@ -346,33 +383,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();
@@ -386,9 +422,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
@@ -407,7 +443,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);
+      com.google.cloud.datacatalog.v1.ListPolicyTagsRequest result =
+          new com.google.cloud.datacatalog.v1.ListPolicyTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -419,38 +456,39 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -458,7 +496,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_;
         onChanged();
@@ -496,27 +535,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -529,18 +572,22 @@ public Builder mergeFrom(
 
     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; @@ -549,20 +596,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 { @@ -570,61 +620,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -632,6 +697,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -639,6 +705,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -646,16 +714,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return. Must be a value between 1 and 1000
      * inclusively.
@@ -663,10 +734,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -674,6 +746,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -681,13 +755,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; @@ -696,6 +770,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -703,15 +779,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 { @@ -719,6 +794,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -726,20 +803,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -747,15 +826,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token of the next results page. If not set, returns the
      * first page.
@@ -763,23 +845,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +871,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(); } @@ -803,27 +885,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; @@ -838,6 +920,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 1cfb74cc4011..84740ef4b264 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -47,10 +77,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.
@@ -58,8 +91,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 450c6cc38ffb..b742d572060f 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListPolicyTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List policyTags_;
   /**
+   *
+   *
    * 
    * The policy tags that belong to the taxonomy.
    * 
@@ -64,6 +85,8 @@ public java.util.List getPolicyTagsLi return policyTags_; } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** + * + * *
    * The policy tags that belong to the taxonomy.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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; } } /** + * + * *
    * 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1.ListPolicyTagsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +625,8 @@ public java.util.List getPolicyTagsLi } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -589,6 +641,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -603,14 +657,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(); @@ -624,6 +679,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -642,6 +699,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -662,14 +721,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(); @@ -683,6 +743,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -701,6 +763,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -719,6 +783,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -729,8 +795,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); @@ -738,6 +803,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -755,6 +822,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -772,39 +841,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 { @@ -812,6 +886,8 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder } } /** + * + * *
      * The policy tags that belong to the taxonomy.
      * 
@@ -819,42 +895,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_; @@ -862,19 +944,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; @@ -883,21 +967,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 { @@ -905,64 +990,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1064,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(); } @@ -986,27 +1078,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; @@ -1021,6 +1113,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..f8999959c582 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 67% 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 ebe238ba2e66..8266c471b0c2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the Data Catalog resource to list the tags of.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the Data Catalog resource to list the tags of.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -84,17 +109,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 { @@ -105,11 +131,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -120,12 +149,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -134,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; } } /** + * + * *
    * 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 { @@ -166,6 +198,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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_); } @@ -201,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_); @@ -215,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.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; } @@ -250,97 +279,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].
@@ -348,33 +384,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();
@@ -388,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_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
@@ -409,7 +444,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);
+      com.google.cloud.datacatalog.v1.ListTagsRequest result =
+          new com.google.cloud.datacatalog.v1.ListTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -421,38 +457,39 @@ public com.google.cloud.datacatalog.v1.ListTagsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -460,7 +497,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_;
         onChanged();
@@ -498,27 +536,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -531,6 +573,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -538,14 +582,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; @@ -554,6 +600,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -561,16 +609,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 { @@ -578,6 +627,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -585,21 +636,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -607,16 +662,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Data Catalog resource to list the tags of.
      * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -624,29 +684,34 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -654,30 +719,36 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -685,19 +756,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; @@ -706,21 +779,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 { @@ -728,64 +802,71 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,12 +876,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(); } @@ -809,27 +890,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; @@ -844,6 +925,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 ef9469953f86..d8c81997c5a4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -15,11 +33,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.
    * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
@@ -27,41 +50,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 2799465098e7..ba28e7241ced 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List tags_;
   /**
+   *
+   *
    * 
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -64,6 +85,8 @@ public java.util.List getTagsList() { return tags_; } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1.Tag] details.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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; } } /** + * + * *
    * 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -235,97 +264,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].
@@ -333,33 +369,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();
@@ -376,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_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
@@ -397,7 +432,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +453,39 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +493,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()) {
@@ -475,9 +513,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_);
           }
@@ -513,30 +552,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +587,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.
      * 
@@ -575,6 +623,8 @@ public java.util.List getTagsList() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -589,6 +639,8 @@ public int getTagsCount() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -603,14 +655,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(); @@ -624,14 +677,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()); @@ -642,6 +696,8 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -662,14 +718,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(); @@ -683,14 +740,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()); @@ -701,14 +759,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()); @@ -719,6 +778,8 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -729,8 +790,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); @@ -738,6 +798,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -755,6 +817,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -772,39 +836,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 { @@ -812,6 +881,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1.Tag] details.
      * 
@@ -819,42 +890,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_; @@ -862,19 +938,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; @@ -883,21 +961,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 { @@ -905,64 +984,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1058,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(); } @@ -986,27 +1072,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; @@ -1021,6 +1107,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..3594b50f47f9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 67% 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 fb846e28be74..15d8e0b52afa 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = "";
@@ -27,37 +45,43 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,29 +90,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 { @@ -99,12 +125,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -115,6 +144,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The pagination token of the next results page. If not set,
    * the first page is returned.
@@ -122,6 +153,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +162,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 +178,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 +195,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -198,8 +230,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 +243,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!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,96 +277,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].
@@ -345,33 +382,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();
@@ -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_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
@@ -406,7 +442,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);
+      com.google.cloud.datacatalog.v1.ListTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1.ListTaxonomiesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -418,38 +455,39 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -457,7 +495,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_;
         onChanged();
@@ -495,27 +534,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -528,18 +571,22 @@ public Builder mergeFrom(
 
     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; @@ -548,20 +595,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 { @@ -569,67 +619,83 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -637,32 +703,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -670,6 +742,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.
@@ -677,13 +751,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; @@ -692,6 +766,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -699,15 +775,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 { @@ -715,6 +790,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -722,20 +799,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -743,15 +822,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The pagination token of the next results page. If not set,
      * the first page is returned.
@@ -759,23 +841,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,12 +867,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(); } @@ -799,27 +881,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; @@ -834,6 +916,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 57% 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 627a81520201..58f63d94ffd8 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -46,10 +76,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.
@@ -57,8 +90,8 @@ public interface ListTaxonomiesRequestOrBuilder 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/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 703f86c02cb4..c971c4e04181 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListTaxonomiesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -64,6 +85,8 @@ public java.util.List getTaxonomiesLis return taxonomies_; } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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; } } /** + * + * *
    * 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +625,8 @@ public java.util.List getTaxonomiesLis } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -589,6 +641,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -603,14 +657,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(); @@ -624,6 +679,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -642,6 +699,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -662,14 +721,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(); @@ -683,14 +743,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()); @@ -701,6 +762,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -719,6 +782,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -729,8 +794,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); @@ -738,6 +802,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -755,6 +821,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -772,39 +840,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 { @@ -812,6 +885,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -819,42 +894,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_; @@ -862,19 +943,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; @@ -883,21 +966,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 { @@ -905,64 +989,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1063,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(); } @@ -986,27 +1077,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; @@ -1021,6 +1112,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..ff8be78bfc8a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/LookupEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.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/LookupEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java index 7252375ee822..e90f0e03c085 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,57 @@
  *
  * 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() {
-  }
+
+  private LookupEntryRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LookupEntryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,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 +130,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]
@@ -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. For more information, see [Full Resource Name]
@@ -149,18 +181,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; } @@ -172,6 +203,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.
    * Examples:
@@ -186,12 +219,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.
    * Examples:
@@ -206,6 +242,7 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; + * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -216,8 +253,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; @@ -226,6 +262,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
@@ -240,18 +278,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; } @@ -263,6 +300,8 @@ public java.lang.String getSqlResource() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 5; /** + * + * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -275,12 +314,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) of the resource.
    * FQNs take two forms:
@@ -293,6 +335,7 @@ public boolean hasFullyQualifiedName() {
    * 
* * string fully_qualified_name = 5; + * * @return The fullyQualifiedName. */ public java.lang.String getFullyQualifiedName() { @@ -303,8 +346,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; @@ -313,6 +355,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -325,18 +369,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; } @@ -347,6 +390,7 @@ public java.lang.String getFullyQualifiedName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,8 +402,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -395,26 +438,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.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 (!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: @@ -452,96 +493,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].
@@ -549,33 +597,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();
@@ -585,9 +632,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
@@ -606,7 +653,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);
+      com.google.cloud.datacatalog.v1.LookupEntryRequest result =
+          new com.google.cloud.datacatalog.v1.LookupEntryRequest(this);
       if (targetNameCase_ == 1) {
         result.targetName_ = targetName_;
       }
@@ -625,38 +673,39 @@ public com.google.cloud.datacatalog.v1.LookupEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -664,29 +713,34 @@ 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;
       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();
@@ -714,30 +768,34 @@ 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
-            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
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -747,12 +805,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() {
@@ -762,8 +820,9 @@ public Builder clearTargetName() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. For more information, see [Full Resource Name]
@@ -774,6 +833,7 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -781,6 +841,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]
@@ -791,6 +853,7 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; + * * @return The linkedResource. */ @java.lang.Override @@ -800,8 +863,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; @@ -812,6 +874,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]
@@ -822,19 +886,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; } @@ -844,6 +907,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]
@@ -854,20 +919,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) { + public Builder setLinkedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 1; + 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]
@@ -878,6 +945,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 1; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -889,6 +957,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]
@@ -899,15 +969,15 @@ 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) { + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; onChanged(); @@ -915,6 +985,8 @@ public Builder setLinkedResourceBytes( } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -929,6 +1001,7 @@ public Builder setLinkedResourceBytes(
      * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -936,6 +1009,8 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -950,6 +1025,7 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; + * * @return The sqlResource. */ @java.lang.Override @@ -959,8 +1035,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; @@ -971,6 +1046,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -985,19 +1062,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; } @@ -1007,6 +1083,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1021,20 +1099,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) { + public Builder setSqlResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 3; + throw new NullPointerException(); + } + targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1049,6 +1129,7 @@ public Builder setSqlResource(
      * 
* * string sql_resource = 3; + * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -1060,6 +1141,8 @@ public Builder clearSqlResource() { return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -1074,15 +1157,15 @@ 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) { + public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 3; targetName_ = value; onChanged(); @@ -1090,6 +1173,8 @@ public Builder setSqlResourceBytes( } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1102,6 +1187,7 @@ public Builder setSqlResourceBytes(
      * 
* * string fully_qualified_name = 5; + * * @return Whether the fullyQualifiedName field is set. */ @java.lang.Override @@ -1109,6 +1195,8 @@ public boolean hasFullyQualifiedName() { return targetNameCase_ == 5; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1121,6 +1209,7 @@ public boolean hasFullyQualifiedName() {
      * 
* * string fully_qualified_name = 5; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -1130,8 +1219,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; @@ -1142,6 +1230,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1154,19 +1244,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; } @@ -1176,6 +1265,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1188,20 +1279,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) { + public Builder setFullyQualifiedName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 5; + throw new NullPointerException(); + } + targetNameCase_ = 5; targetName_ = value; onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1214,6 +1307,7 @@ public Builder setFullyQualifiedName(
      * 
* * string fully_qualified_name = 5; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { @@ -1225,6 +1319,8 @@ public Builder clearFullyQualifiedName() { return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1237,23 +1333,23 @@ 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) { + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 5; 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); } @@ -1263,12 +1359,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(); } @@ -1277,27 +1373,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; @@ -1312,6 +1408,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 86% 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 3578a32876a7..f8d20c0479fc 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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]
@@ -18,10 +36,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]
@@ -32,10 +53,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]
@@ -46,12 +70,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.
    * Examples:
@@ -66,10 +92,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.
    * Examples:
@@ -84,10 +113,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.
    * Examples:
@@ -102,12 +134,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) of the resource.
    * FQNs take two forms:
@@ -120,10 +154,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string fully_qualified_name = 5; + * * @return Whether the fullyQualifiedName field is set. */ boolean hasFullyQualifiedName(); /** + * + * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -136,10 +173,13 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string fully_qualified_name = 5; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -152,10 +192,10 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string fully_qualified_name = 5; + * * @return The bytes for fullyQualifiedName. */ - com.google.protobuf.ByteString - getFullyQualifiedNameBytes(); + com.google.protobuf.ByteString getFullyQualifiedNameBytes(); public 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/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 f988c1224ac4..a86dad8ea99a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,11 +124,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 @@ -110,23 +141,34 @@ 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() { @@ -134,6 +176,7 @@ public com.google.cloud.datacatalog.v1.ContactsOrBuilder getContactsOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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_); } @@ -166,8 +208,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; @@ -177,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.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; @@ -214,96 +254,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].
@@ -311,33 +359,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();
@@ -353,9 +400,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
@@ -374,7 +421,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);
+      com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest result =
+          new com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest(this);
       result.name_ = name_;
       if (contactsBuilder_ == null) {
         result.contacts_ = contacts_;
@@ -389,38 +437,39 @@ public com.google.cloud.datacatalog.v1.ModifyEntryContactsRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +477,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_;
         onChanged();
@@ -462,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getContactsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getContactsFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +543,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +567,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 { @@ -533,54 +591,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -588,39 +659,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 contactsBuilder_ != null || 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. */ 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) { @@ -636,14 +726,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(); onChanged(); @@ -654,17 +747,23 @@ 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 (contacts_ != null) { contacts_ = - com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Contacts.newBuilder(contacts_) + .mergeFrom(value) + .buildPartial(); } else { contacts_ = value; } @@ -676,11 +775,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() { if (contactsBuilder_ == null) { @@ -694,55 +797,71 @@ 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() { - + onChanged(); 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); } @@ -752,12 +871,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(); } @@ -766,27 +885,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; @@ -801,6 +920,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..a0196c7468ac --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 40268165adda..dda3316dbc80 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,11 +124,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 @@ -110,23 +141,34 @@ 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() { @@ -134,6 +176,7 @@ public com.google.cloud.datacatalog.v1.EntryOverviewOrBuilder getEntryOverviewOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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_); } @@ -166,8 +208,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; @@ -177,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.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; @@ -214,96 +254,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].
@@ -311,33 +359,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();
@@ -353,9 +400,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
@@ -374,7 +421,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);
+      com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest result =
+          new com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest(this);
       result.name_ = name_;
       if (entryOverviewBuilder_ == null) {
         result.entryOverview_ = entryOverview_;
@@ -389,38 +437,39 @@ public com.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +477,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_;
         onChanged();
@@ -462,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryOverviewFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryOverviewFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +543,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +567,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 { @@ -533,54 +591,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -588,39 +659,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 entryOverviewBuilder_ != null || 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. */ 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) { @@ -636,11 +726,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) { @@ -654,17 +748,23 @@ 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 (entryOverview_ != null) { entryOverview_ = - com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.EntryOverview.newBuilder(entryOverview_) + .mergeFrom(value) + .buildPartial(); } else { entryOverview_ = value; } @@ -676,11 +776,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() { if (entryOverviewBuilder_ == null) { @@ -694,55 +798,71 @@ 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() { - + onChanged(); 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); } @@ -752,12 +872,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(); } @@ -766,27 +886,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; @@ -801,6 +921,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..51caae7cd389 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 6d428f880946..c00c03019f7d 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,60 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
    * True if the entry is starred by the user; false otherwise.
    * 
* * bool starred = 1; + * * @return The starred. */ @java.lang.Override @@ -65,11 +86,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 @@ -77,11 +101,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 @@ -89,6 +116,8 @@ public com.google.protobuf.Timestamp getStarTime() { return starTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : starTime_; } /** + * + * *
    * Set if the entry is starred; unset otherwise.
    * 
@@ -101,6 +130,7 @@ public com.google.protobuf.TimestampOrBuilder getStarTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,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 (starred_ != false) { output.writeBool(1, starred_); } @@ -130,12 +159,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; @@ -145,19 +172,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; @@ -171,8 +197,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(); @@ -182,130 +207,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(); @@ -321,9 +352,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 @@ -342,7 +373,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); + com.google.cloud.datacatalog.v1.PersonalDetails result = + new com.google.cloud.datacatalog.v1.PersonalDetails(this); result.starred_ = starred_; if (starTimeBuilder_ == null) { result.starTime_ = starTime_; @@ -357,38 +389,39 @@ public com.google.cloud.datacatalog.v1.PersonalDetails buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -396,7 +429,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()); } @@ -429,24 +463,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - starred_ = input.readBool(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStarTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + starred_ = input.readBool(); + + break; + } // case 8 + case 18: + { + input.readMessage(getStarTimeFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -457,13 +492,16 @@ public Builder mergeFrom( return this; } - 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 @@ -471,30 +509,36 @@ 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. */ public Builder setStarred(boolean value) { - + starred_ = value; onChanged(); return this; } /** + * + * *
      * True if the entry is starred by the user; false otherwise.
      * 
* * bool starred = 1; + * * @return This builder for chaining. */ public Builder clearStarred() { - + starred_ = false; onChanged(); return this; @@ -502,24 +546,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 starTimeBuilder_ != null || starTime_ != null; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
* * .google.protobuf.Timestamp star_time = 2; + * * @return The starTime. */ public com.google.protobuf.Timestamp getStarTime() { @@ -530,6 +583,8 @@ public com.google.protobuf.Timestamp getStarTime() { } } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -550,14 +605,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(); onChanged(); @@ -568,6 +624,8 @@ public Builder setStarTime( return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -578,7 +636,7 @@ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { if (starTimeBuilder_ == null) { if (starTime_ != null) { starTime_ = - com.google.protobuf.Timestamp.newBuilder(starTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(starTime_).mergeFrom(value).buildPartial(); } else { starTime_ = value; } @@ -590,6 +648,8 @@ public Builder mergeStarTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -608,6 +668,8 @@ public Builder clearStarTime() { return this; } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -615,11 +677,13 @@ public Builder clearStarTime() { * .google.protobuf.Timestamp star_time = 2; */ public com.google.protobuf.Timestamp.Builder getStarTimeBuilder() { - + onChanged(); return getStarTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Set if the entry is starred; unset otherwise.
      * 
@@ -630,11 +694,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.
      * 
@@ -642,21 +707,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); } @@ -666,12 +734,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(); } @@ -680,27 +748,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; @@ -715,6 +783,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..9ecd76aafd75 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 c8cbcee530bb..0608e0447939 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,120 +28,134 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object text_; /** + * + * *
      * JSON source of the Avro schema.
      * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -133,29 +164,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 { @@ -164,6 +195,7 @@ public java.lang.String getText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -200,15 +231,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -228,87 +259,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 @@ -318,39 +356,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(); @@ -360,9 +400,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 @@ -381,7 +421,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); + com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema(this); result.text_ = text_; onBuilt(); return result; @@ -391,38 +432,41 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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 +474,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_; onChanged(); @@ -461,17 +506,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = input.readStringRequireUtf8(); + + 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,18 +531,20 @@ public Builder mergeFrom( 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; @@ -504,20 +553,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 { @@ -525,58 +575,66 @@ 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) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
        * JSON source of the Avro schema.
        * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -589,12 +647,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(); } @@ -603,27 +661,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; @@ -638,86 +697,98 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object text_; /** + * + * *
      * Thrift IDL source of the schema.
      * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -726,29 +797,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 { @@ -757,6 +828,7 @@ public java.lang.String getText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -768,8 +840,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -793,15 +864,15 @@ public int getSerializedSize() { @java.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; } @@ -821,87 +892,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 @@ -911,39 +989,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(); @@ -953,13 +1033,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(); } @@ -974,7 +1055,8 @@ 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); + com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema(this); result.text_ = text_; onBuilt(); return result; @@ -984,38 +1066,41 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1023,7 +1108,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_; onChanged(); @@ -1054,17 +1141,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = input.readStringRequireUtf8(); + + 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) { @@ -1077,18 +1166,20 @@ public Builder mergeFrom( 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; @@ -1097,20 +1188,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 { @@ -1118,58 +1210,66 @@ 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) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
        * Thrift IDL source of the schema.
        * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1182,12 +1282,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(); } @@ -1196,27 +1297,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; @@ -1231,86 +1333,98 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object text_; /** + * + * *
      * Protocol buffer source of the schema.
      * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -1319,29 +1433,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 { @@ -1350,6 +1464,7 @@ public java.lang.String getText() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1361,8 +1476,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1386,15 +1500,15 @@ public int getSerializedSize() { @java.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; } @@ -1414,87 +1528,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, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom(java.io.InputStream input) + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.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 @@ -1504,39 +1625,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(); @@ -1546,13 +1669,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(); } @@ -1567,7 +1691,8 @@ 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); + com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema result = + new com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema(this); result.text_ = text_; onBuilt(); return result; @@ -1577,46 +1702,52 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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_; onChanged(); @@ -1647,17 +1778,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - text_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + text_ = input.readStringRequireUtf8(); + + 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) { @@ -1670,18 +1803,20 @@ public Builder mergeFrom( 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; @@ -1690,20 +1825,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 { @@ -1711,58 +1847,66 @@ 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) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
        * Protocol buffer source of the schema.
        * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1775,41 +1919,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; @@ -1821,61 +1968,65 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -1887,8 +2038,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -1906,12 +2056,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; @@ -1930,87 +2081,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 @@ -2020,39 +2178,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(); @@ -2060,13 +2220,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(); } @@ -2081,7 +2242,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; } @@ -2090,38 +2252,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; @@ -2129,7 +2294,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; @@ -2156,12 +2323,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) { @@ -2171,6 +2339,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2183,41 +2352,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; @@ -2229,61 +2401,65 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -2295,8 +2471,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2314,12 +2489,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; @@ -2338,87 +2514,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 @@ -2428,39 +2611,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(); @@ -2468,9 +2653,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 @@ -2489,7 +2674,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; } @@ -2498,38 +2684,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; @@ -2537,7 +2726,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; @@ -2564,12 +2754,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) { @@ -2579,6 +2770,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2591,12 +2783,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(); } @@ -2605,27 +2797,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; @@ -2640,58 +2833,61 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -2703,8 +2899,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2722,12 +2917,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; @@ -2746,87 +2942,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 @@ -2836,39 +3039,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(); @@ -2876,9 +3081,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 @@ -2897,7 +3102,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; } @@ -2906,38 +3112,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; @@ -2945,7 +3154,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; @@ -2972,12 +3182,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) { @@ -2987,6 +3198,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2999,12 +3211,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(); } @@ -3013,27 +3225,28 @@ 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; @@ -3048,13 +3261,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int schemaCase_ = 0; 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), @@ -3064,6 +3278,7 @@ public enum SchemaCase CSV(6), SCHEMA_NOT_SET(0); private final int value; + private SchemaCase(int value) { this.value = value; } @@ -3079,34 +3294,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 @@ -3114,21 +3339,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.
    * 
@@ -3138,18 +3368,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 @@ -3157,21 +3390,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.
    * 
@@ -3181,18 +3419,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 @@ -3200,21 +3441,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.
    * 
@@ -3222,20 +3468,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 @@ -3243,21 +3493,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.
    * 
@@ -3265,20 +3520,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 @@ -3286,21 +3545,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.
    * 
@@ -3310,18 +3574,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 @@ -3329,21 +3596,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.
    * 
@@ -3353,12 +3625,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; @@ -3370,8 +3643,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (schemaCase_ == 1) { output.writeMessage(1, (com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema) schema_); } @@ -3379,10 +3651,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_); @@ -3400,28 +3674,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; @@ -3431,38 +3711,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: @@ -3511,97 +3786,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.
@@ -3609,33 +3891,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();
@@ -3663,9 +3944,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
@@ -3684,7 +3965,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);
+      com.google.cloud.datacatalog.v1.PhysicalSchema result =
+          new com.google.cloud.datacatalog.v1.PhysicalSchema(this);
       if (schemaCase_ == 1) {
         if (avroBuilder_ == null) {
           result.schema_ = schema_;
@@ -3736,38 +4018,39 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -3777,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();
@@ -3831,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) {
@@ -3888,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() {
@@ -3903,15 +4188,20 @@ public Builder clearSchema() {
       return this;
     }
 
-
     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 @@ -3919,11 +4209,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 @@ -3941,6 +4234,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema getAvro() { } } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -3961,6 +4256,8 @@ public Builder setAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -3979,6 +4276,8 @@ public Builder setAvro( return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -3987,10 +4286,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; } @@ -4006,6 +4309,8 @@ public Builder mergeAvro(com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSche return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4029,6 +4334,8 @@ public Builder clearAvro() { return this; } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4039,6 +4346,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema.Builder getAvro return getAvroFieldBuilder().getBuilder(); } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4057,6 +4366,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaOrBuilder getAvr } } /** + * + * *
      * Schema in Avro JSON format.
      * 
@@ -4064,32 +4375,44 @@ 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()); schema_ = null; } schemaCase_ = 1; - onChanged();; + onChanged(); + ; return avroBuilder_; } 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 @@ -4097,11 +4420,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 @@ -4119,6 +4445,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema getThrift() { } } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4139,6 +4467,8 @@ public Builder setThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSc return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4157,6 +4487,8 @@ public Builder setThrift( return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4165,10 +4497,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; } @@ -4184,6 +4521,8 @@ public Builder mergeThrift(com.google.cloud.datacatalog.v1.PhysicalSchema.Thrift return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4207,6 +4546,8 @@ public Builder clearThrift() { return this; } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4217,6 +4558,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema.Builder getTh return getThriftFieldBuilder().getBuilder(); } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4224,7 +4567,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 { @@ -4235,6 +4579,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaOrBuilder getT } } /** + * + * *
      * Schema in Thrift format.
      * 
@@ -4242,32 +4588,45 @@ 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()); schema_ = null; } schemaCase_ = 2; - onChanged();; + onChanged(); + ; return thriftBuilder_; } 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 @@ -4275,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 @@ -4297,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(); @@ -4317,6 +4682,8 @@ public Builder setProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.Protob return this; } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4335,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; } @@ -4362,6 +4737,8 @@ public Builder mergeProtobuf(com.google.cloud.datacatalog.v1.PhysicalSchema.Prot return this; } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4385,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.
      * 
@@ -4402,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 { @@ -4413,6 +4796,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaOrBuilder ge } } /** + * + * *
      * Schema in protocol buffer format.
      * 
@@ -4420,32 +4805,45 @@ 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()); schema_ = null; } schemaCase_ = 3; - onChanged();; + onChanged(); + ; return protobufBuilder_; } 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 @@ -4453,11 +4851,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 @@ -4475,6 +4876,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema getParquet() } } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4495,6 +4898,8 @@ public Builder setParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.Parquet return this; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4513,18 +4918,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; } @@ -4540,6 +4953,8 @@ public Builder mergeParquet(com.google.cloud.datacatalog.v1.PhysicalSchema.Parqu return this; } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4563,16 +4978,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.
      * 
@@ -4580,7 +5000,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 { @@ -4591,6 +5012,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaOrBuilder get } } /** + * + * *
      * Marks a Parquet-encoded data source.
      * 
@@ -4598,32 +5021,45 @@ 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()); schema_ = null; } schemaCase_ = 4; - onChanged();; + onChanged(); + ; return parquetBuilder_; } 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 @@ -4631,11 +5067,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 @@ -4653,6 +5092,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema getOrc() { } } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4673,6 +5114,8 @@ public Builder setOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema v return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4691,6 +5134,8 @@ public Builder setOrc( return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4699,10 +5144,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; } @@ -4718,6 +5167,8 @@ public Builder mergeOrc(com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4741,6 +5192,8 @@ public Builder clearOrc() { return this; } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4751,6 +5204,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema.Builder getOrcBu return getOrcFieldBuilder().getBuilder(); } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4769,6 +5224,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaOrBuilder getOrcO } } /** + * + * *
      * Marks an ORC-encoded data source.
      * 
@@ -4776,32 +5233,44 @@ 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()); schema_ = null; } schemaCase_ = 5; - onChanged();; + onChanged(); + ; return orcBuilder_; } 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 @@ -4809,11 +5278,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 @@ -4831,6 +5303,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema getCsv() { } } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4851,6 +5325,8 @@ public Builder setCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema v return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4869,6 +5345,8 @@ public Builder setCsv( return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4877,10 +5355,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; } @@ -4896,6 +5378,8 @@ public Builder mergeCsv(com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4919,6 +5403,8 @@ public Builder clearCsv() { return this; } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4929,6 +5415,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema.Builder getCsvBu return getCsvFieldBuilder().getBuilder(); } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4947,6 +5435,8 @@ public com.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaOrBuilder getCsvO } } /** + * + * *
      * Marks a CSV-encoded data source.
      * 
@@ -4954,26 +5444,32 @@ 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()); schema_ = null; } schemaCase_ = 6; - onChanged();; + 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); } @@ -4983,12 +5479,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(); } @@ -4997,27 +5493,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; @@ -5032,6 +5528,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 6cf513e9e8b0..44f42875289b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..bf32d6b59f3c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java @@ -0,0 +1,160 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\340\001\n\037com.google.cloud.datacatalo" + + "g.v1B\023PhysicalSchemaProtoP\001ZFgoogle.gola" + + "ng.org/genproto/googleapis/cloud/datacat" + + "alog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.Da" + + "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" + + "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" + + "to3" + }; + 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 a9e061db7241..2a494361f95d 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Policy tags can be defined in a hierarchy. For example:
@@ -18,15 +35,16 @@
  *
  * 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_ = "";
@@ -37,38 +55,42 @@ private PolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PolicyTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Resource name of this policy tag in the URL format.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -77,30 +99,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 in the URL format.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * 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,6 +133,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. User-defined name of this policy tag.
    * The name can't start or end with spaces and must be unique within the
@@ -119,6 +143,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -127,14 +152,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.
    * The name can't start or end with spaces and must be unique within the
@@ -143,16 +169,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 { @@ -163,6 +188,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Description of this policy tag. If not set, defaults to empty.
    * The description must contain only Unicode characters,
@@ -171,6 +198,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -179,14 +207,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.
    * The description must contain only Unicode characters,
@@ -195,16 +224,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 { @@ -215,6 +243,8 @@ public java.lang.String getDescription() { public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; 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.
@@ -224,6 +254,7 @@ public java.lang.String getDescription() {
    * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ @java.lang.Override @@ -232,14 +263,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.
@@ -249,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 { @@ -269,34 +300,45 @@ public java.lang.String getParentPolicyTag() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList 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 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. */ @@ -304,20 +346,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; @@ -329,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -383,23 +428,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; } @@ -428,97 +469,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.
    * Policy tags can be defined in a hierarchy. For example:
@@ -533,33 +581,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();
@@ -577,9 +624,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_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
@@ -598,7 +645,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);
+      com.google.cloud.datacatalog.v1.PolicyTag result =
+          new com.google.cloud.datacatalog.v1.PolicyTag(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -617,38 +665,39 @@ public com.google.cloud.datacatalog.v1.PolicyTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -709,38 +758,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              parentPolicyTag_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                parentPolicyTag_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -750,23 +805,26 @@ 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.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * 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; @@ -775,21 +833,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * 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 { @@ -797,57 +856,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this policy tag in the URL format.
      * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -855,6 +921,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -863,13 +931,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; @@ -878,6 +946,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -886,15 +956,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 { @@ -902,6 +971,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -910,20 +981,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -932,15 +1005,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. User-defined name of this policy tag.
      * The name can't start or end with spaces and must be unique within the
@@ -949,16 +1025,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -966,6 +1042,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -974,13 +1052,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 +1067,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -997,15 +1077,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 +1092,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1021,20 +1102,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1043,15 +1126,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of this policy tag. If not set, defaults to empty.
      * The description must contain only Unicode characters,
@@ -1060,16 +1146,16 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1077,6 +1163,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.
@@ -1086,13 +1174,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; @@ -1101,6 +1189,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.
@@ -1110,15 +1200,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 { @@ -1126,6 +1215,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.
@@ -1135,20 +1226,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) { + public Builder setParentPolicyTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentPolicyTag_ = value; 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.
@@ -1158,15 +1251,18 @@ public Builder setParentPolicyTag(
      * 
* * string parent_policy_tag = 4; + * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { - + parentPolicyTag_ = getDefaultInstance().getParentPolicyTag(); 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.
@@ -1176,57 +1272,70 @@ 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) { + public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentPolicyTag_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList childPolicyTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -1234,80 +1343,95 @@ 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) { + public Builder setChildPolicyTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); 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 childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags( - java.lang.String value) { + public Builder addChildPolicyTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); 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 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_); 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() { @@ -1317,28 +1441,31 @@ public Builder clearChildPolicyTags() { 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) { + public Builder addChildPolicyTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.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); } @@ -1348,12 +1475,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(); } @@ -1362,27 +1489,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; @@ -1397,6 +1524,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..f298b647b8c7 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java @@ -0,0 +1,387 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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/timestamps.pro" + + "to\032\036google/iam/v1/iam_policy.proto\032\032goog" + + "le/iam/v1/policy.proto\032\033google/protobuf/" + + "empty.proto\032 google/protobuf/field_mask." + + "proto\"\316\003\n\010Taxonomy\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" + + "\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030" + + "\003 \001(\tB\003\340A\001\022\035\n\020policy_tag_count\030\004 \001(\005B\003\340A" + + "\003\022O\n\023taxonomy_timestamps\030\005 \001(\0132-.google." + + "cloud.datacatalog.v1.SystemTimestampsB\003\340" + + "A\003\022U\n\026activated_policy_types\030\006 \003(\01620.goo" + + "gle.cloud.datacatalog.v1.Taxonomy.Policy" + + "TypeB\003\340A\001\"J\n\nPolicyType\022\033\n\027POLICY_TYPE_U" + + "NSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCESS_CONT" + + "ROL\020\001:g\352Ad\n#datacatalog.googleapis.com/T" + + "axonomy\022=projects/{project}/locations/{l" + + "ocation}/taxonomies/{taxonomy}\"\214\002\n\tPolic" + + "yTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030" + + "\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022\031\n\021paren" + + "t_policy_tag\030\004 \001(\t\022\036\n\021child_policy_tags\030" + + "\005 \003(\tB\003\340A\003:\200\001\352A}\n$datacatalog.googleapis" + + ".com/PolicyTag\022Uprojects/{project}/locat" + + "ions/{location}/taxonomies/{taxonomy}/po" + + "licyTags/{policy_tag}\"\215\001\n\025CreateTaxonomy" + + "Request\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacat" + + "alog.googleapis.com/Taxonomy\0227\n\010taxonomy" + + "\030\002 \001(\0132%.google.cloud.datacatalog.v1.Tax" + + "onomy\"R\n\025DeleteTaxonomyRequest\0229\n\004name\030\001" + + " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" + + "/Taxonomy\"\201\001\n\025UpdateTaxonomyRequest\0227\n\010t" + + "axonomy\030\001 \001(\0132%.google.cloud.datacatalog" + + ".v1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.goog" + + "le.protobuf.FieldMask\"{\n\025ListTaxonomiesR" + + "equest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacata" + + "log.googleapis.com/Taxonomy\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"l\n\026ListTaxono" + + "miesResponse\0229\n\ntaxonomies\030\001 \003(\0132%.googl" + + "e.cloud.datacatalog.v1.Taxonomy\022\027\n\017next_" + + "page_token\030\002 \001(\t\"O\n\022GetTaxonomyRequest\0229" + + "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.google" + + "apis.com/Taxonomy\"\222\001\n\026CreatePolicyTagReq" + + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacatalo" + + "g.googleapis.com/PolicyTag\022:\n\npolicy_tag" + + "\030\002 \001(\0132&.google.cloud.datacatalog.v1.Pol" + + "icyTag\"T\n\026DeletePolicyTagRequest\022:\n\004name" + + "\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.googleapis.c" + + "om/PolicyTag\"\205\001\n\026UpdatePolicyTagRequest\022" + + ":\n\npolicy_tag\030\001 \001(\0132&.google.cloud.datac" + + "atalog.v1.PolicyTag\022/\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMask\"|\n\025ListPoli" + + "cyTagsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$d" + + "atacatalog.googleapis.com/PolicyTag\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026Li" + + "stPolicyTagsResponse\022;\n\013policy_tags\030\001 \003(" + + "\0132&.google.cloud.datacatalog.v1.PolicyTa" + + "g\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\023GetPolicyT" + + "agRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacat" + + "alog.googleapis.com/PolicyTag2\273\025\n\020Policy" + + "TagManager\022\277\001\n\016CreateTaxonomy\0222.google.c" + + "loud.datacatalog.v1.CreateTaxonomyReques" + + "t\032%.google.cloud.datacatalog.v1.Taxonomy" + + "\"R\202\323\344\223\002:\"./v1/{parent=projects/*/locatio" + + "ns/*}/taxonomies:\010taxonomy\332A\017parent,taxo" + + "nomy\022\233\001\n\016DeleteTaxonomy\0222.google.cloud.d" + + "atacatalog.v1.DeleteTaxonomyRequest\032\026.go" + + "ogle.protobuf.Empty\"=\202\323\344\223\0020*./v1/{name=p" + + "rojects/*/locations/*/taxonomies/*}\332A\004na" + + "me\022\301\001\n\016UpdateTaxonomy\0222.google.cloud.dat" + + "acatalog.v1.UpdateTaxonomyRequest\032%.goog" + + "le.cloud.datacatalog.v1.Taxonomy\"T\202\323\344\223\002C" + + "27/v1/{taxonomy.name=projects/*/location" + + "s/*/taxonomies/*}:\010taxonomy\332A\010taxonomy\022\272" + + "\001\n\016ListTaxonomies\0222.google.cloud.datacat" + + "alog.v1.ListTaxonomiesRequest\0323.google.c" + + "loud.datacatalog.v1.ListTaxonomiesRespon" + + "se\"?\202\323\344\223\0020\022./v1/{parent=projects/*/locat" + + "ions/*}/taxonomies\332A\006parent\022\244\001\n\013GetTaxon" + + "omy\022/.google.cloud.datacatalog.v1.GetTax" + + "onomyRequest\032%.google.cloud.datacatalog." + + "v1.Taxonomy\"=\202\323\344\223\0020\022./v1/{name=projects/" + + "*/locations/*/taxonomies/*}\332A\004name\022\323\001\n\017C" + + "reatePolicyTag\0223.google.cloud.datacatalo" + + "g.v1.CreatePolicyTagRequest\032&.google.clo" + + "ud.datacatalog.v1.PolicyTag\"c\202\323\344\223\002I\";/v1" + + "/{parent=projects/*/locations/*/taxonomi" + + "es/*}/policyTags:\npolicy_tag\332A\021parent,po" + + "licy_tag\022\252\001\n\017DeletePolicyTag\0223.google.cl" + + "oud.datacatalog.v1.DeletePolicyTagReques" + + "t\032\026.google.protobuf.Empty\"J\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/taxonomies/*" + + "/policyTags/*}\332A\004name\022\327\001\n\017UpdatePolicyTa" + + "g\0223.google.cloud.datacatalog.v1.UpdatePo" + + "licyTagRequest\032&.google.cloud.datacatalo" + + "g.v1.PolicyTag\"g\202\323\344\223\002T2F/v1/{policy_tag." + + "name=projects/*/locations/*/taxonomies/*" + + "/policyTags/*}:\npolicy_tag\332A\npolicy_tag\022" + + "\307\001\n\016ListPolicyTags\0222.google.cloud.dataca" + + "talog.v1.ListPolicyTagsRequest\0323.google." + + "cloud.datacatalog.v1.ListPolicyTagsRespo" + + "nse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loca" + + "tions/*/taxonomies/*}/policyTags\332A\006paren" + + "t\022\264\001\n\014GetPolicyTag\0220.google.cloud.dataca" + + "talog.v1.GetPolicyTagRequest\032&.google.cl" + + "oud.datacatalog.v1.PolicyTag\"J\202\323\344\223\002=\022;/v" + + "1/{name=projects/*/locations/*/taxonomie" + + "s/*/policyTags/*}\332A\004name\022\352\001\n\014GetIamPolic" + + "y\022\".google.iam.v1.GetIamPolicyRequest\032\025." + + "google.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{res" + + "ource=projects/*/locations/*/taxonomies/" + + "*}:getIamPolicy:\001*ZQ\"L/v1/{resource=proj" + + "ects/*/locations/*/taxonomies/*/policyTa" + + "gs/*}:getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\"" + + ".google.iam.v1.SetIamPolicyRequest\032\025.goo" + + "gle.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resour" + + "ce=projects/*/locations/*/taxonomies/*}:" + + "setIamPolicy:\001*ZQ\"L/v1/{resource=project" + + "s/*/locations/*/taxonomies/*/policyTags/" + + "*}:setIamPolicy:\001*\022\226\002\n\022TestIamPermission" + + "s\022(.google.iam.v1.TestIamPermissionsRequ" + + "est\032).google.iam.v1.TestIamPermissionsRe" + + "sponse\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects" + + "/*/locations/*/taxonomies/*}:testIamPerm" + + "issions:\001*ZW\"R/v1/{resource=projects/*/l" + + "ocations/*/taxonomies/*/policyTags/*}:te" + + "stIamPermissions:\001*\032N\312A\032datacatalog.goog" + + "leapis.com\322A.https://www.googleapis.com/" + + "auth/cloud-platformB\342\001\n\037com.google.cloud" + + ".datacatalog.v1B\025PolicyTagManagerProtoP\001" + + "ZFgoogle.golang.org/genproto/googleapis/" + + "cloud/datacatalog/v1;datacatalog\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.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.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", + }); + 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", + }); + 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.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..3fef2ee93a9d --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\335\001\n\022SerializedTaxo" + + "nomy\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\022\023\n\013descr" + + "iption\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goog" + + "le.cloud.datacatalog.v1.SerializedPolicy" + + "Tag\022P\n\026activated_policy_types\030\004 \003(\01620.go" + + "ogle.cloud.datacatalog.v1.Taxonomy.Polic" + + "yType\"\246\001\n\023SerializedPolicyTag\022\022\n\npolicy_" + + "tag\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" + + "description\030\003 \001(\t\022K\n\021child_policy_tags\030\004" + + " \003(\01320.google.cloud.datacatalog.v1.Seria" + + "lizedPolicyTag\"\246\001\n\026ReplaceTaxonomyReques" + + "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" + + "gleapis.com/Taxonomy\022Q\n\023serialized_taxon" + + "omy\030\002 \001(\0132/.google.cloud.datacatalog.v1." + + "SerializedTaxonomyB\003\340A\002\"\367\001\n\027ImportTaxono" + + "miesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#dat" + + "acatalog.googleapis.com/Taxonomy\022B\n\rinli" + + "ne_source\030\002 \001(\0132).google.cloud.datacatal" + + "og.v1.InlineSourceH\000\022Q\n\025cross_regional_s" + + "ource\030\003 \001(\01320.google.cloud.datacatalog.v" + + "1.CrossRegionalSourceH\000B\010\n\006source\"X\n\014Inl" + + "ineSource\022H\n\ntaxonomies\030\001 \003(\0132/.google.c" + + "loud.datacatalog.v1.SerializedTaxonomyB\003" + + "\340A\002\"T\n\023CrossRegionalSource\022=\n\010taxonomy\030\001" + + " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" + + "/Taxonomy\"U\n\030ImportTaxonomiesResponse\0229\n" + + "\ntaxonomies\030\001 \003(\0132%.google.cloud.datacat" + + "alog.v1.Taxonomy\"\307\001\n\027ExportTaxonomiesReq" + + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" + + "g.googleapis.com/Taxonomy\022?\n\ntaxonomies\030" + + "\002 \003(\tB+\340A\002\372A%\n#datacatalog.googleapis.co" + + "m/Taxonomy\022\037\n\025serialized_taxonomies\030\003 \001(" + + "\010H\000B\r\n\013destination\"_\n\030ExportTaxonomiesRe" + + "sponse\022C\n\ntaxonomies\030\001 \003(\0132/.google.clou" + + "d.datacatalog.v1.SerializedTaxonomy2\247\005\n\035" + + "PolicyTagManagerSerialization\022\260\001\n\017Replac" + + "eTaxonomy\0223.google.cloud.datacatalog.v1." + + "ReplaceTaxonomyRequest\032%.google.cloud.da" + + "tacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6/v1/{name" + + "=projects/*/locations/*/taxonomies/*}:re" + + "place:\001*\022\301\001\n\020ImportTaxonomies\0224.google.c" + + "loud.datacatalog.v1.ImportTaxonomiesRequ" + + "est\0325.google.cloud.datacatalog.v1.Import" + + "TaxonomiesResponse\"@\202\323\344\223\002:\"5/v1/{parent=" + + "projects/*/locations/*}/taxonomies:impor" + + "t:\001*\022\276\001\n\020ExportTaxonomies\0224.google.cloud" + + ".datacatalog.v1.ExportTaxonomiesRequest\032" + + "5.google.cloud.datacatalog.v1.ExportTaxo" + + "nomiesResponse\"=\202\323\344\223\0027\0225/v1/{parent=proj" + + "ects/*/locations/*}/taxonomies:export\032N\312" + + "A\032datacatalog.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformB\357\001" + + "\n\037com.google.cloud.datacatalog.v1B\"Polic" + + "yTagManagerSerializationProtoP\001ZFgoogle." + + "golang.org/genproto/googleapis/cloud/dat" + + "acatalog/v1;datacatalog\370\001\001\252\002\033Google.Clou" + + "d.DataCatalog.V1\312\002\033Google\\Cloud\\DataCata" + + "log\\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 b2cd83ca447c..8a6ab9036584 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,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * 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.
    * The policy tag manager generates unique taxonomy IDs and policy tag IDs.
    * 
* * 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.
    * The name can't start or end with spaces and must be unique within the
@@ -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.
    * The name can't start or end with spaces and must be unique within the
@@ -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. If not set, defaults to empty.
    * The description must contain only Unicode characters,
@@ -64,10 +92,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.
    * The description must contain only Unicode characters,
@@ -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. If empty, this is a
    * top level tag. If not set, defaults to an empty string.
@@ -91,10 +124,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.
@@ -104,49 +140,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/RenameTagTemplateFieldEnumValueRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.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/RenameTagTemplateFieldEnumValueRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java index cc104f858181..fff0894e2243 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,37 +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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,29 +92,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 { @@ -99,11 +127,14 @@ public java.lang.String getName() { public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -112,29 +143,29 @@ 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 { @@ -143,6 +174,7 @@ public java.lang.String getNewEnumValueDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -185,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -217,96 +247,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].
@@ -314,33 +353,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,7 +415,8 @@ 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);
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest result =
+          new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest(this);
       result.name_ = name_;
       result.newEnumValueDisplayName_ = newEnumValueDisplayName_;
       onBuilt();
@@ -384,46 +427,51 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest bu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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_;
         onChanged();
@@ -458,22 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              newEnumValueDisplayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                newEnumValueDisplayName_ = input.readStringRequireUtf8();
+
+                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) {
@@ -486,18 +537,22 @@ public Builder mergeFrom(
 
     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; @@ -506,20 +561,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 { @@ -527,54 +585,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -582,18 +653,21 @@ 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; @@ -602,20 +676,22 @@ 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 { @@ -623,61 +699,71 @@ 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) { + public Builder setNewEnumValueDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newEnumValueDisplayName_ = value; 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() { - + newEnumValueDisplayName_ = getDefaultInstance().getNewEnumValueDisplayName(); 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]; + * + * * @param value The bytes for newEnumValueDisplayName to set. * @return This builder for chaining. */ - public Builder setNewEnumValueDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNewEnumValueDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newEnumValueDisplayName_ = 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); } @@ -687,41 +773,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; @@ -733,9 +821,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 d16145e052b9..89d8d4c4dc0c 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,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 b90cbed2abf2..4498b2c7deb6 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,37 +45,43 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,29 +90,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 { @@ -99,11 +125,14 @@ public java.lang.String getName() { public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; 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 @@ -112,29 +141,29 @@ 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 { @@ -143,6 +172,7 @@ public java.lang.String getNewTagTemplateFieldId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -185,17 +214,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; } @@ -217,96 +245,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].
@@ -314,33 +350,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,7 +409,8 @@ 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);
+      com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.newTagTemplateFieldId_ = newTagTemplateFieldId_;
       onBuilt();
@@ -384,38 +421,39 @@ public com.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -423,7 +461,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_;
         onChanged();
@@ -458,22 +498,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              newTagTemplateFieldId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                newTagTemplateFieldId_ = input.readStringRequireUtf8();
+
+                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) {
@@ -486,18 +529,22 @@ public Builder mergeFrom(
 
     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; @@ -506,20 +553,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 { @@ -527,54 +577,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -582,18 +645,20 @@ 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; @@ -602,20 +667,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 { @@ -623,61 +689,68 @@ 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) { + public Builder setNewTagTemplateFieldId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newTagTemplateFieldId_ = value; 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() { - + newTagTemplateFieldId_ = getDefaultInstance().getNewTagTemplateFieldId(); 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]; + * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes( - com.google.protobuf.ByteString value) { + public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newTagTemplateFieldId_ = 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); } @@ -687,12 +760,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(); } @@ -701,27 +775,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; @@ -736,6 +810,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 8e4b59b814cd..488f6af0639f 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,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 27e66e72c175..ec4cd266cb44 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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. 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 { @@ -98,11 +124,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 @@ -110,30 +141,43 @@ 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() { + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder + getSerializedTaxonomyOrBuilder() { return getSerializedTaxonomy(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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_); } @@ -166,8 +209,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; @@ -177,19 +219,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; @@ -214,96 +255,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].
@@ -311,33 +360,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();
@@ -353,9 +401,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
@@ -374,7 +422,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);
+      com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this);
       result.name_ = name_;
       if (serializedTaxonomyBuilder_ == null) {
         result.serializedTaxonomy_ = serializedTaxonomy_;
@@ -389,38 +438,39 @@ public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +478,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_;
         onChanged();
@@ -462,24 +513,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getSerializedTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getSerializedTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +545,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +569,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 { @@ -533,54 +593,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -588,39 +661,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 serializedTaxonomyBuilder_ != null || 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. */ 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) { @@ -636,11 +728,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) { @@ -654,17 +750,24 @@ 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 (serializedTaxonomy_ != null) { serializedTaxonomy_ = - com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder(serializedTaxonomy_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder(serializedTaxonomy_) + .mergeFrom(value) + .buildPartial(); } else { serializedTaxonomy_ = value; } @@ -676,11 +779,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() { if (serializedTaxonomyBuilder_ == null) { @@ -694,55 +801,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() { + 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); } @@ -752,12 +877,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(); } @@ -766,27 +891,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; @@ -801,6 +926,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..d49ecc1f6d9e --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 72% 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 98ea207a4d8d..f15084daec90 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +48,43 @@ private RoutineSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RoutineSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -71,6 +93,8 @@ public enum RoutineType */ ROUTINE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Non-builtin permanent scalar function.
      * 
@@ -79,6 +103,8 @@ public enum RoutineType */ SCALAR_FUNCTION(1), /** + * + * *
      * Stored procedure.
      * 
@@ -90,6 +116,8 @@ public enum RoutineType ; /** + * + * *
      * Unspecified type.
      * 
@@ -98,6 +126,8 @@ public enum RoutineType */ public static final int ROUTINE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Non-builtin permanent scalar function.
      * 
@@ -106,6 +136,8 @@ public enum RoutineType */ public static final int SCALAR_FUNCTION_VALUE = 1; /** + * + * *
      * Stored procedure.
      * 
@@ -114,7 +146,6 @@ public enum RoutineType */ public static final int PROCEDURE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -139,49 +170,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; @@ -198,89 +229,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; @@ -289,39 +340,43 @@ private Argument() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Argument(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
        * 
@@ -330,6 +385,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * The argument is input-only.
        * 
@@ -338,6 +395,8 @@ public enum Mode */ IN(1), /** + * + * *
        * The argument is output-only.
        * 
@@ -346,6 +405,8 @@ public enum Mode */ OUT(2), /** + * + * *
        * The argument is both an input and an output.
        * 
@@ -357,6 +418,8 @@ public enum Mode ; /** + * + * *
        * Unspecified mode.
        * 
@@ -365,6 +428,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The argument is input-only.
        * 
@@ -373,6 +438,8 @@ public enum Mode */ public static final int IN_VALUE = 1; /** + * + * *
        * The argument is output-only.
        * 
@@ -381,6 +448,8 @@ public enum Mode */ public static final int OUT_VALUE = 2; /** + * + * *
        * The argument is both an input and an output.
        * 
@@ -389,7 +458,6 @@ public enum Mode */ public static final int INOUT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -414,50 +482,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; @@ -477,12 +548,15 @@ private Mode(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -491,30 +565,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 { @@ -525,39 +599,53 @@ public java.lang.String getName() { public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** + * + * *
      * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.valueOf(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.valueOf(mode_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED + : result; } public static final int TYPE_FIELD_NUMBER = 3; 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 @@ -566,30 +654,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 { @@ -598,6 +686,7 @@ public java.lang.String getType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -609,12 +698,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_)) { @@ -632,9 +722,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_); @@ -647,18 +738,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; } @@ -682,87 +772,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 @@ -772,39 +869,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(); @@ -818,9 +917,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 @@ -839,7 +938,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); + com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = + new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); result.name_ = name_; result.mode_ = mode_; result.type_ = type_; @@ -851,38 +951,41 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -890,7 +993,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_; onChanged(); @@ -928,27 +1032,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - mode_ = input.readEnum(); - - break; - } // case 16 - case 26: { - type_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + mode_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + type_ = input.readStringRequireUtf8(); + + 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) { @@ -961,19 +1069,21 @@ public Builder mergeFrom( 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; @@ -982,21 +1092,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 { @@ -1004,57 +1115,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * The name of the argument. A return argument of a function might not have
        * a name.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1062,51 +1180,67 @@ 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. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.valueOf(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.valueOf(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. */ @@ -1114,21 +1248,24 @@ public Builder setMode(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); 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() { - + mode_ = 0; onChanged(); return this; @@ -1136,19 +1273,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 +1296,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,61 +1319,69 @@ 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) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; 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() { - + type_ = getDefaultInstance().getType(); onChanged(); 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) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1246,12 +1394,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(); } @@ -1260,27 +1408,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; @@ -1295,17 +1444,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int systemSpecCase_ = 0; 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; } @@ -1321,52 +1472,67 @@ 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.valueOf(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.valueOf(routineType_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED + : result; } public static final int LANGUAGE_FIELD_NUMBER = 2; 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:
@@ -1375,6 +1541,7 @@ public int getNumber() {
    * 
* * string language = 2; + * * @return The language. */ @java.lang.Override @@ -1383,14 +1550,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:
@@ -1399,16 +1567,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 { @@ -1419,6 +1586,8 @@ public java.lang.String getLanguage() { public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER = 3; private java.util.List routineArguments_; /** + * + * *
    * Arguments of the routine.
    * 
@@ -1426,10 +1595,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 +1609,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 +1627,8 @@ public int getRoutineArgumentsCount() { return routineArguments_.size(); } /** + * + * *
    * Arguments of the routine.
    * 
@@ -1464,6 +1640,8 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments( return routineArguments_.get(index); } /** + * + * *
    * Arguments of the routine.
    * 
@@ -1479,12 +1657,15 @@ public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineA public static final int RETURN_TYPE_FIELD_NUMBER = 4; 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 @@ -1493,30 +1674,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 { @@ -1527,11 +1708,14 @@ public java.lang.String getReturnType() { public static final int DEFINITION_BODY_FIELD_NUMBER = 5; private volatile java.lang.Object definitionBody_; /** + * + * *
    * The body of the routine.
    * 
* * string definition_body = 5; + * * @return The definitionBody. */ @java.lang.Override @@ -1540,29 +1724,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 { @@ -1572,11 +1756,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 @@ -1584,21 +1771,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.
    * 
@@ -1606,14 +1798,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; @@ -1625,9 +1819,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_)) { @@ -1654,16 +1849,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_); @@ -1672,8 +1867,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; @@ -1683,27 +1879,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: @@ -1744,97 +1936,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.
@@ -1842,33 +2041,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();
@@ -1896,9 +2094,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
@@ -1917,7 +2115,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.routineType_ = routineType_;
       result.language_ = language_;
@@ -1948,38 +2147,39 @@ public com.google.cloud.datacatalog.v1.RoutineSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -2013,9 +2213,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) {
             routineArgumentsBuilder_ = null;
             routineArguments_ = other.routineArguments_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            routineArgumentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRoutineArgumentsFieldBuilder() : null;
+            routineArgumentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRoutineArgumentsFieldBuilder()
+                    : null;
           } else {
             routineArgumentsBuilder_.addAllMessages(other.routineArguments_);
           }
@@ -2030,13 +2231,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();
@@ -2064,52 +2267,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              routineType_ = input.readEnum();
+            case 8:
+              {
+                routineType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              language_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                language_ = input.readStringRequireUtf8();
 
-              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();
+                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();
 
-              break;
-            } // case 34
-            case 42: {
-              definitionBody_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                definitionBody_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -2119,12 +2328,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() {
@@ -2138,51 +2347,67 @@ 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. */ public Builder setRoutineTypeValue(int value) { - + routineType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.valueOf(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.valueOf(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. */ @@ -2190,21 +2415,24 @@ public Builder setRoutineType(com.google.cloud.datacatalog.v1.RoutineSpec.Routin if (value == null) { throw new NullPointerException(); } - + routineType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the routine.
      * 
* * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * * @return This builder for chaining. */ public Builder clearRoutineType() { - + routineType_ = 0; onChanged(); return this; @@ -2212,6 +2440,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:
@@ -2220,13 +2450,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; @@ -2235,6 +2465,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:
@@ -2243,15 +2475,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 { @@ -2259,6 +2490,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:
@@ -2267,20 +2500,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) { + public Builder setLanguage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + language_ = value; onChanged(); return this; } /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2289,15 +2524,18 @@ public Builder setLanguage(
      * 
* * string language = 2; + * * @return This builder for chaining. */ public Builder clearLanguage() { - + language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** + * + * *
      * The language the routine is written in. The exact value depends on the
      * source system. For BigQuery routines, possible values are:
@@ -2306,41 +2544,51 @@ 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) { + public Builder setLanguageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + language_ = value; onChanged(); return this; } private java.util.List routineArguments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRoutineArgumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - routineArguments_ = new java.util.ArrayList(routineArguments_); + routineArguments_ = + new java.util.ArrayList( + routineArguments_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2348,11 +2596,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) { @@ -2362,11 +2613,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) { @@ -2376,11 +2630,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) { @@ -2397,11 +2654,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) { @@ -2415,11 +2675,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) { @@ -2435,11 +2698,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) { @@ -2456,11 +2722,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) { @@ -2474,11 +2743,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) { @@ -2492,18 +2764,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); @@ -2511,11 +2785,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) { @@ -2528,11 +2805,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) { @@ -2545,39 +2825,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 { @@ -2585,45 +2875,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2635,19 +2942,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; @@ -2656,21 +2965,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 { @@ -2678,57 +2988,64 @@ 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) { + public Builder setReturnType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + returnType_ = value; 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() { - + returnType_ = getDefaultInstance().getReturnType(); onChanged(); 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) { + public Builder setReturnTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + returnType_ = value; onChanged(); return this; @@ -2736,18 +3053,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; @@ -2756,20 +3075,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 { @@ -2777,67 +3097,80 @@ 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) { + public Builder setDefinitionBody(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + definitionBody_ = value; onChanged(); return this; } /** + * + * *
      * The body of the routine.
      * 
* * string definition_body = 5; + * * @return This builder for chaining. */ public Builder clearDefinitionBody() { - + definitionBody_ = getDefaultInstance().getDefinitionBody(); onChanged(); 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) { + public Builder setDefinitionBodyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + definitionBody_ = value; onChanged(); return this; } 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 @@ -2845,11 +3178,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 @@ -2867,13 +3203,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(); @@ -2887,6 +3226,8 @@ public Builder setBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQueryRo return this; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -2905,18 +3246,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; } @@ -2932,6 +3280,8 @@ public Builder mergeBigqueryRoutineSpec(com.google.cloud.datacatalog.v1.BigQuery return this; } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -2955,16 +3305,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.
      * 
@@ -2972,7 +3327,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 { @@ -2983,6 +3339,8 @@ public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryR } } /** + * + * *
      * Fields specific for BigQuery routines.
      * 
@@ -2990,26 +3348,32 @@ 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()); systemSpec_ = null; } systemSpecCase_ = 6; - onChanged();; + 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); } @@ -3019,12 +3383,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(); } @@ -3033,27 +3397,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; @@ -3068,6 +3432,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 8a97d3cfa180..54e0b121e18a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -35,10 +59,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:
@@ -47,21 +74,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.
    * 
@@ -70,6 +100,8 @@ public interface RoutineSpecOrBuilder extends */ com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index); /** + * + * *
    * Arguments of the routine.
    * 
@@ -78,15 +110,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.
    * 
@@ -97,66 +133,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 73% 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 3846145014d9..ed6e1e0f8ed2 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List columns_; /** + * + * *
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -64,6 +85,8 @@ public java.util.List getColumnsLi
     return columns_;
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -73,11 +96,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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -91,6 +116,8 @@ public int getColumnsCount() {
     return columns_.size();
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -104,6 +131,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
     return columns_.get(index);
   }
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -113,12 +142,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;
@@ -130,8 +159,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.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));
     }
@@ -145,8 +173,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;
@@ -156,15 +183,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;
   }
@@ -185,130 +211,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(); @@ -323,9 +355,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 @@ -344,7 +376,8 @@ 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); int from_bitField0_ = bitField0_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -363,38 +396,39 @@ public com.google.cloud.datacatalog.v1.Schema buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -421,9 +455,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_); } @@ -455,25 +490,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) { @@ -483,21 +519,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -514,6 +557,8 @@ public java.util.List getColumnsLi
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -530,6 +575,8 @@ public int getColumnsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -546,6 +593,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -554,8 +603,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();
@@ -569,6 +617,8 @@ public Builder setColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -589,6 +639,8 @@ public Builder setColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -611,6 +663,8 @@ public Builder addColumns(com.google.cloud.datacatalog.v1.ColumnSchema value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -619,8 +673,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();
@@ -634,6 +687,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -654,6 +709,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -674,6 +731,8 @@ public Builder addColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -686,8 +745,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);
@@ -695,6 +753,8 @@ public Builder addAllColumns(
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -714,6 +774,8 @@ public Builder clearColumns() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -733,6 +795,8 @@ public Builder removeColumns(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -741,11 +805,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -754,14 +819,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -770,8 +837,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 {
@@ -779,6 +846,8 @@ public com.google.cloud.datacatalog.v1.ColumnSchemaOrBuilder getColumnsOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * The unified GoogleSQL-like schema of columns.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -788,10 +857,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -800,12 +871,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.
      * The overall maximum number of columns and nested columns is 10,000.
@@ -814,27 +886,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);
     }
 
@@ -844,12 +919,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();
   }
@@ -858,27 +933,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;
@@ -893,6 +968,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 329e3e96bc06..6af75cb27ea7 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -16,9 +34,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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -29,6 +48,8 @@ public interface SchemaOrBuilder extends
    */
   com.google.cloud.datacatalog.v1.ColumnSchema getColumns(int index);
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -39,6 +60,8 @@ public interface SchemaOrBuilder extends
    */
   int getColumnsCount();
   /**
+   *
+   *
    * 
    * The unified GoogleSQL-like schema of columns.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -47,9 +70,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.
    * The overall maximum number of columns and nested columns is 10,000.
@@ -58,6 +83,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..6866bdfd724b
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java
@@ -0,0 +1,93 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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;
+
+  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\"\247\001\n\014ColumnSchema\022\023\n\006colum"
+          + "n\030\006 \001(\tB\003\340A\002\022\021\n\004type\030\001 \001(\tB\003\340A\002\022\030\n\013descr"
+          + "iption\030\002 \001(\tB\003\340A\001\022\021\n\004mode\030\003 \001(\tB\003\340A\001\022B\n\n"
+          + "subcolumns\030\007 \003(\0132).google.cloud.datacata"
+          + "log.v1.ColumnSchemaB\003\340A\001B\313\001\n\037com.google."
+          + "cloud.datacatalog.v1P\001ZFgoogle.golang.or"
+          + "g/genproto/googleapis/cloud/datacatalog/"
+          + "v1;datacatalog\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[] {
+              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", "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-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..968a281a304e
--- /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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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\"\256\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\022O\n\021integrated_system\030\010 \001"
+          + "(\0162-.google.cloud.datacatalog.v1.Integra"
+          + "tedSystemB\003\340A\003H\000\022\037\n\025user_specified_syste"
+          + "m\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\036SEAR"
+          + "CH_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\313\001\n\037c"
+          + "om.google.cloud.datacatalog.v1P\001ZFgoogle"
+          + ".golang.org/genproto/googleapis/cloud/da"
+          + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo"
+          + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat"
+          + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1"
+          + "b\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.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 7c7e60f997a3..789e2456b810 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,34 +46,38 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * To find your organization ID, follow the steps from
@@ -64,11 +86,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 the steps from
@@ -77,10 +101,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 the steps from
@@ -89,11 +116,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 the steps from
@@ -102,13 +132,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.
      * For more information on the distinction between project names, IDs, and
@@ -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.
      * For more information on the distinction between project names, IDs, and
@@ -128,10 +162,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.
      * For more information on the distinction between project names, IDs, and
@@ -139,11 +176,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.
      * For more information on the distinction between project names, IDs, and
@@ -151,13 +191,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 Platform (GCP) public datasets in
      * search results. By default, they are excluded.
@@ -166,11 +208,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.
@@ -182,12 +227,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.
@@ -199,11 +247,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.
@@ -215,12 +267,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.
@@ -232,53 +288,67 @@ 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.
      * By default, all results are returned, starred or not.
      * 
* * 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=604 + * + * 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=604 * @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.EMPTY; includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -287,32 +357,35 @@ private Scope() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Scope(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private com.google.protobuf.LazyStringList includeOrgIds_; /** + * + * *
      * The list of organization IDs to search within.
      * To find your organization ID, follow the steps from
@@ -321,13 +394,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 the steps from
@@ -336,12 +411,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 the steps from
@@ -350,6 +428,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. */ @@ -357,6 +436,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 the steps from
@@ -365,17 +446,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; private com.google.protobuf.LazyStringList includeProjectIds_; /** + * + * *
      * The list of project IDs to search within.
      * For more information on the distinction between project names, IDs, and
@@ -383,13 +466,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.
      * For more information on the distinction between project names, IDs, and
@@ -397,12 +482,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.
      * For more information on the distinction between project names, IDs, and
@@ -410,6 +498,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. */ @@ -417,6 +506,8 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** + * + * *
      * The list of project IDs to search within.
      * For more information on the distinction between project names, IDs, and
@@ -424,17 +515,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_; /** + * + * *
      * If `true`, include Google Cloud Platform (GCP) public datasets in
      * search results. By default, they are excluded.
@@ -443,6 +536,7 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -453,6 +547,8 @@ public boolean getIncludeGcpPublicDatasets() { public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; private com.google.protobuf.LazyStringList restrictedLocations_; /** + * + * *
      * Optional. The list of locations to search within. If empty, all locations are
      * searched.
@@ -464,14 +560,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.
@@ -483,13 +582,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.
@@ -501,7 +604,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. */ @@ -509,6 +614,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.
@@ -520,24 +627,28 @@ 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_; /** + * + * *
      * Optional. If `true`, search only among starred entries.
      * By default, all results are returned, starred or not.
      * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The starredOnly. */ @java.lang.Override @@ -548,22 +659,30 @@ public boolean getStarredOnly() { public static final int INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER = 19; 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=604 + * + * 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=604 * @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; @@ -575,8 +694,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -587,7 +705,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_); @@ -621,8 +740,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; @@ -633,12 +751,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; @@ -648,25 +765,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; } @@ -687,105 +799,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 @@ -795,39 +911,41 @@ 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(); @@ -847,13 +965,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_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(); } @@ -868,7 +987,8 @@ 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); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope result = + new com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = includeOrgIds_.getUnmodifiableView(); @@ -896,38 +1016,41 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -935,7 +1058,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_; @@ -1001,45 +1126,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(); - - break; - } // case 56 - case 130: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRestrictedLocationsIsMutable(); - restrictedLocations_.add(s); - break; - } // case 130 - case 144: { - starredOnly_ = input.readBool(); - - break; - } // case 144 - case 152: { - includePublicTagTemplates_ = input.readBool(); - - 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(); + + break; + } // case 56 + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 + case 144: + { + starredOnly_ = input.readBool(); + + break; + } // case 144 + case 152: + { + includePublicTagTemplates_ = input.readBool(); + + 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) { @@ -1049,16 +1181,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludeOrgIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1067,13 +1204,15 @@ 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() { return includeOrgIds_.getUnmodifiableView(); } /** + * + * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1082,12 +1221,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 the steps from
@@ -1096,6 +1238,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. */ @@ -1103,6 +1246,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 the steps from
@@ -1111,14 +1256,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 the steps from
@@ -1127,21 +1274,23 @@ 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) { + public Builder setIncludeOrgIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1150,20 +1299,22 @@ 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) { + public Builder addIncludeOrgIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1172,18 +1323,19 @@ 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_); onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1192,6 +1344,7 @@ public Builder addAllIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { @@ -1201,6 +1354,8 @@ public Builder clearIncludeOrgIds() { return this; } /** + * + * *
        * The list of organization IDs to search within.
        * To find your organization ID, follow the steps from
@@ -1209,29 +1364,33 @@ 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) { + public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludeProjectIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1239,13 +1398,15 @@ 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() { return includeProjectIds_.getUnmodifiableView(); } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1253,12 +1414,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.
        * For more information on the distinction between project names, IDs, and
@@ -1266,6 +1430,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. */ @@ -1273,6 +1438,8 @@ public java.lang.String getIncludeProjectIds(int index) { return includeProjectIds_.get(index); } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1280,14 +1447,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.
        * For more information on the distinction between project names, IDs, and
@@ -1295,21 +1464,23 @@ 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) { + public Builder setIncludeProjectIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1317,20 +1488,22 @@ 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) { + public Builder addIncludeProjectIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1338,18 +1511,19 @@ 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_); onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1357,6 +1531,7 @@ public Builder addAllIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { @@ -1366,6 +1541,8 @@ public Builder clearIncludeProjectIds() { return this; } /** + * + * *
        * The list of project IDs to search within.
        * For more information on the distinction between project names, IDs, and
@@ -1373,23 +1550,25 @@ 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) { + public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } - private boolean includeGcpPublicDatasets_ ; + private boolean includeGcpPublicDatasets_; /** + * + * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in
        * search results. By default, they are excluded.
@@ -1398,6 +1577,7 @@ public Builder addIncludeProjectIdsBytes(
        * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1405,6 +1585,8 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** + * + * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in
        * search results. By default, they are excluded.
@@ -1413,16 +1595,19 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; + * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ public Builder setIncludeGcpPublicDatasets(boolean value) { - + includeGcpPublicDatasets_ = value; onChanged(); return this; } /** + * + * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in
        * search results. By default, they are excluded.
@@ -1431,23 +1616,28 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; + * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { - + includeGcpPublicDatasets_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList restrictedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRestrictedLocationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1459,14 +1649,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 A list containing the restrictedLocations. */ - public com.google.protobuf.ProtocolStringList - getRestrictedLocationsList() { + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { return restrictedLocations_.getUnmodifiableView(); } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1478,13 +1671,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.
@@ -1496,7 +1693,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. */ @@ -1504,6 +1703,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.
@@ -1515,15 +1716,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.
@@ -1535,22 +1739,25 @@ 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) { + public Builder setRestrictedLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRestrictedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureRestrictedLocationsIsMutable(); restrictedLocations_.set(index, value); onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1562,21 +1769,24 @@ 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) { + public Builder addRestrictedLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRestrictedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1588,19 +1798,21 @@ 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_); onChanged(); return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1612,7 +1824,9 @@ 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() { @@ -1622,6 +1836,8 @@ public Builder clearRestrictedLocations() { return this; } /** + * + * *
        * Optional. The list of locations to search within. If empty, all locations are
        * searched.
@@ -1633,30 +1849,34 @@ 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) { + public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRestrictedLocationsIsMutable(); restrictedLocations_.add(value); onChanged(); return this; } - private boolean starredOnly_ ; + private boolean starredOnly_; /** + * + * *
        * Optional. If `true`, search only among starred entries.
        * By default, all results are returned, starred or not.
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The starredOnly. */ @java.lang.Override @@ -1664,88 +1884,116 @@ public boolean getStarredOnly() { return starredOnly_; } /** + * + * *
        * Optional. If `true`, search only among starred entries.
        * By default, all results are returned, starred or not.
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The starredOnly to set. * @return This builder for chaining. */ public Builder setStarredOnly(boolean value) { - + starredOnly_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If `true`, search only among starred entries.
        * By default, all results are returned, starred or not.
        * 
* * bool starred_only = 18 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStarredOnly() { - + starredOnly_ = false; onChanged(); 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=604 + * + * 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=604 * @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=604 + * + * 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=604 * @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; onChanged(); 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=604 + * + * 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=604 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearIncludePublicTagTemplates() { - + @java.lang.Deprecated + public Builder clearIncludePublicTagTemplates() { + includePublicTagTemplates_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1758,12 +2006,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(); } @@ -1772,27 +2021,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; @@ -1807,12 +2057,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -1820,7 +2071,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 @@ -1828,6 +2082,8 @@ public boolean hasScope() { return scope_ != null; } /** + * + * *
    * Required. The scope of this search request.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -1835,14 +2091,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -1850,7 +2113,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]; + * */ @java.lang.Override public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getScopeOrBuilder() { @@ -1860,6 +2125,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * Optional. The query string with a minimum of 3 characters and specific syntax.
    * For more information, see
@@ -1874,6 +2141,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -1882,14 +2150,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
@@ -1904,16 +2173,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 { @@ -1924,6 +2192,8 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Number of results to return in a single search page.
    * Can't be negative or 0, defaults to 10 in this case.
@@ -1932,6 +2202,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -1942,6 +2213,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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.
@@ -1952,6 +2225,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -1960,14 +2234,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.
@@ -1978,16 +2253,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 { @@ -1998,6 +2272,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Specifies the order of results.
    * Currently supported case-sensitive values are:
@@ -2008,6 +2284,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -2016,14 +2293,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.
    * Currently supported case-sensitive values are:
@@ -2034,16 +2312,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 { @@ -2052,6 +2329,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2063,8 +2341,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2093,8 +2370,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_); @@ -2103,8 +2379,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; @@ -2114,26 +2389,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; } @@ -2163,96 +2434,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].
@@ -2260,33 +2538,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();
@@ -2308,9 +2585,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
@@ -2329,7 +2606,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);
+      com.google.cloud.datacatalog.v1.SearchCatalogRequest result =
+          new com.google.cloud.datacatalog.v1.SearchCatalogRequest(this);
       if (scopeBuilder_ == null) {
         result.scope_ = scope_;
       } else {
@@ -2347,38 +2625,39 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -2386,7 +2665,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());
       }
@@ -2431,39 +2711,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              query_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                query_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 42: {
-              orderBy_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 42:
+              {
+                orderBy_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getScopeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -2476,8 +2760,13 @@ public Builder mergeFrom(
 
     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.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2485,13 +2774,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 scopeBuilder_ != null || scope_ != null; } /** + * + * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2499,17 +2793,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.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2517,7 +2818,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) { @@ -2533,6 +2836,8 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco return this; } /** + * + * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2540,7 +2845,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) { @@ -2554,6 +2861,8 @@ public Builder setScope( return this; } /** + * + * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2561,13 +2870,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 (scope_ != null) { scope_ = - com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.newBuilder(scope_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.newBuilder(scope_) + .mergeFrom(value) + .buildPartial(); } else { scope_ = value; } @@ -2579,6 +2892,8 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S return this; } /** + * + * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2586,7 +2901,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() { if (scopeBuilder_ == null) { @@ -2600,6 +2917,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2607,14 +2926,18 @@ 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() { - + onChanged(); return getScopeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The scope of this search request.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2622,17 +2945,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.
      * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -2640,17 +2968,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_; @@ -2658,6 +2991,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
@@ -2672,13 +3007,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; @@ -2687,6 +3022,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -2701,15 +3038,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 { @@ -2717,6 +3053,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -2731,20 +3069,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) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -2759,15 +3099,18 @@ public Builder setQuery(
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The query string with a minimum of 3 characters and specific syntax.
      * For more information, see
@@ -2782,23 +3125,25 @@ 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) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Number of results to return in a single search page.
      * Can't be negative or 0, defaults to 10 in this case.
@@ -2807,6 +3152,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -2814,6 +3160,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Number of results to return in a single search page.
      * Can't be negative or 0, defaults to 10 in this case.
@@ -2822,16 +3170,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Number of results to return in a single search page.
      * Can't be negative or 0, defaults to 10 in this case.
@@ -2840,10 +3191,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -2851,6 +3203,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.
@@ -2861,13 +3215,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; @@ -2876,6 +3230,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.
@@ -2886,15 +3242,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 { @@ -2902,6 +3257,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.
@@ -2912,20 +3269,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of search
      * results. If empty, returns the first page.
@@ -2936,15 +3295,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Pagination token that, if specified, returns the next page of search
      * results. If empty, returns the first page.
@@ -2955,16 +3317,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -2972,6 +3334,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -2982,13 +3346,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; @@ -2997,6 +3361,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3007,15 +3373,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 { @@ -3023,6 +3388,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3033,20 +3400,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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3057,15 +3426,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Specifies the order of results.
      * Currently supported case-sensitive values are:
@@ -3076,23 +3448,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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3102,12 +3474,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(); } @@ -3116,27 +3488,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; @@ -3151,6 +3523,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 78% 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 2ce5371af8e8..e3e9dbef4828 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -15,11 +33,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -27,11 +50,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.
    * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
@@ -39,11 +67,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
@@ -58,10 +90,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
@@ -76,12 +111,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(); /** + * + * *
    * Number of results to return in a single search page.
    * Can't be negative or 0, defaults to 10 in this case.
@@ -90,11 +127,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.
@@ -105,10 +145,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.
@@ -119,12 +162,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.
    * Currently supported case-sensitive values are:
@@ -135,10 +180,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Specifies the order of results.
    * Currently supported case-sensitive values are:
@@ -149,8 +197,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 5e6e28f6d445..eb08494e78cb 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,15 +28,16 @@
  *
  * 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_ = "";
@@ -28,32 +46,35 @@ private SearchCatalogResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List results_;
   /**
+   *
+   *
    * 
    * Search results.
    * 
@@ -65,6 +86,8 @@ public java.util.List getRe return results_; } /** + * + * *
    * Search results.
    * 
@@ -72,11 +95,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.
    * 
@@ -88,6 +113,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * Search results.
    * 
@@ -99,6 +126,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) return results_.get(index); } /** + * + * *
    * Search results.
    * 
@@ -114,12 +143,15 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -128,30 +160,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 { @@ -162,6 +194,8 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -171,13 +205,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.
@@ -187,12 +223,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.
@@ -202,6 +241,7 @@ public int getUnreachableCount() {
    * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -209,6 +249,8 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Unreachable locations. Search results don't include data from those
    * locations.
@@ -218,15 +260,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; @@ -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 { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -259,8 +301,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -281,19 +322,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.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 (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getResultsList().equals(other.getResultsList())) 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; } @@ -321,96 +360,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].
@@ -418,33 +465,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();
@@ -463,9 +509,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_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
@@ -484,7 +530,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -509,38 +556,39 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -548,7 +596,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()) {
@@ -567,9 +616,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_);
           }
@@ -615,36 +665,40 @@ 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 26: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            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 26:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -654,21 +708,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.
      * 
@@ -683,6 +745,8 @@ public java.util.List getRe } } /** + * + * *
      * Search results.
      * 
@@ -697,6 +761,8 @@ public int getResultsCount() { } } /** + * + * *
      * Search results.
      * 
@@ -711,6 +777,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult getResults(int index) } } /** + * + * *
      * Search results.
      * 
@@ -732,6 +800,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -750,6 +820,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -770,6 +842,8 @@ public Builder addResults(com.google.cloud.datacatalog.v1.SearchCatalogResult va return this; } /** + * + * *
      * Search results.
      * 
@@ -791,6 +865,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -809,6 +885,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -827,6 +905,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -837,8 +917,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); @@ -846,6 +925,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -863,6 +944,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * Search results.
      * 
@@ -880,6 +963,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * Search results.
      * 
@@ -891,6 +976,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder getResultsBui return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Search results.
      * 
@@ -900,19 +987,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 { @@ -920,6 +1010,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr } } /** + * + * *
      * Search results.
      * 
@@ -927,10 +1019,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.
      * 
@@ -939,30 +1033,36 @@ 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_; @@ -970,19 +1070,21 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBui 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; @@ -991,21 +1093,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 { @@ -1013,70 +1116,81 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1086,13 +1200,15 @@ 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() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1102,12 +1218,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.
@@ -1117,6 +1236,7 @@ public int getUnreachableCount() {
      * 
* * repeated string unreachable = 6; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1124,6 +1244,8 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1133,14 +1255,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.
@@ -1150,21 +1274,23 @@ 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) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1174,20 +1300,22 @@ 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) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1197,18 +1325,19 @@ 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_); onChanged(); return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1218,6 +1347,7 @@ public Builder addAllUnreachable(
      * 
* * repeated string unreachable = 6; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1227,6 +1357,8 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Unreachable locations. Search results don't include data from those
      * locations.
@@ -1236,23 +1368,23 @@ 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) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.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); } @@ -1262,12 +1394,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(); } @@ -1276,27 +1408,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; @@ -1311,6 +1443,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 babe50653a5e..3f0fbd17419c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +54,57 @@ 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); /** + * + * *
    * 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.
@@ -83,11 +114,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.
@@ -97,10 +130,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.
@@ -110,11 +146,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.
@@ -124,9 +163,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 88bb699a0362..d6df2e946d33 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Each result captures details of one entry that matches the search.
@@ -11,15 +28,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_ = "";
@@ -32,38 +50,42 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -79,26 +101,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_;
   /**
+   *
+   *
    * 
    * Type of the search result.
    * You can use this field to determine which get method to call to fetch the
@@ -106,12 +133,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.
    * You can use this field to determine which get method to call to fetch the
@@ -119,17 +150,22 @@ 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.valueOf(searchResultType_); + com.google.cloud.datacatalog.v1.SearchResultType result = + com.google.cloud.datacatalog.v1.SearchResultType.valueOf(searchResultType_); return result == null ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; private volatile java.lang.Object searchResultSubtype_; /** + * + * *
    * Sub-type of the search result.
    * A dot-delimited full type of the resource. The same type you
@@ -138,6 +174,7 @@ public int getNumber() {
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ @java.lang.Override @@ -146,14 +183,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.
    * A dot-delimited full type of the resource. The same type you
@@ -162,16 +200,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 { @@ -182,6 +219,8 @@ public java.lang.String getSearchResultSubtype() { public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object relativeResourceName_; /** + * + * *
    * The relative name of the resource in URL format.
    * Examples:
@@ -190,6 +229,7 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ @java.lang.Override @@ -198,14 +238,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.
    * Examples:
@@ -214,16 +255,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 { @@ -234,6 +274,8 @@ public java.lang.String getRelativeResourceName() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; private volatile java.lang.Object linkedResource_; /** + * + * *
    * The full name of the Google Cloud resource the entry belongs to.
    * For more information, see [Full Resource Name]
@@ -243,6 +285,7 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string linked_resource = 4; + * * @return The linkedResource. */ @java.lang.Override @@ -251,14 +294,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.
    * For more information, see [Full Resource Name]
@@ -268,16 +312,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 { @@ -288,11 +331,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 @@ -300,11 +346,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 @@ -312,6 +361,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.
    * 
@@ -325,24 +376,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() { @@ -352,42 +413,55 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf( - (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.valueOf((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() { @@ -398,8 +472,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; @@ -408,23 +481,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; } @@ -437,6 +511,8 @@ public java.lang.String getUserSpecifiedSystem() { public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER = 10; private volatile java.lang.Object fullyQualifiedName_; /** + * + * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -449,6 +525,7 @@ public java.lang.String getUserSpecifiedSystem() {
    * 
* * string fully_qualified_name = 10; + * * @return The fullyQualifiedName. */ @java.lang.Override @@ -457,14 +534,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.
    * FQNs take two forms:
@@ -477,16 +555,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 { @@ -497,11 +574,14 @@ public java.lang.String getFullyQualifiedName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the result.
    * 
* * string display_name = 12; + * * @return The displayName. */ @java.lang.Override @@ -510,29 +590,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 { @@ -543,12 +623,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 13; 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 @@ -557,30 +640,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 { @@ -589,6 +672,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -600,9 +684,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_)) { @@ -641,9 +726,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_); @@ -655,12 +741,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_); @@ -682,40 +767,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: @@ -767,96 +844,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.
    * Each result captures details of one entry that matches the search.
@@ -864,33 +948,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();
@@ -920,9 +1003,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
@@ -941,7 +1024,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);
+      com.google.cloud.datacatalog.v1.SearchCatalogResult result =
+          new com.google.cloud.datacatalog.v1.SearchCatalogResult(this);
       result.searchResultType_ = searchResultType_;
       result.searchResultSubtype_ = searchResultSubtype_;
       result.relativeResourceName_ = relativeResourceName_;
@@ -969,38 +1053,39 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1008,7 +1093,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());
       }
@@ -1040,19 +1126,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();
@@ -1080,66 +1169,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              searchResultType_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              searchResultSubtype_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              relativeResourceName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              linkedResource_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 58: {
-              input.readMessage(
-                  getModifyTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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();
-
-              break;
-            } // case 82
-            case 98: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 98
-            case 106: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                searchResultType_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                searchResultSubtype_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                relativeResourceName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 58:
+              {
+                input.readMessage(getModifyTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                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();
+
+                break;
+              } // case 82
+            case 98:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 98
+            case 106:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                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) {
@@ -1149,12 +1247,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() {
@@ -1164,9 +1262,10 @@ public Builder clearSystem() {
       return this;
     }
 
-
     private int searchResultType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1174,12 +1273,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.
      * You can use this field to determine which get method to call to fetch the
@@ -1187,16 +1290,19 @@ 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. */ public Builder setSearchResultTypeValue(int value) { - + searchResultType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1204,15 +1310,21 @@ 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.SearchResultType result = com.google.cloud.datacatalog.v1.SearchResultType.valueOf(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.valueOf(searchResultType_); + return result == null + ? com.google.cloud.datacatalog.v1.SearchResultType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1220,6 +1332,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. */ @@ -1227,12 +1340,14 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT if (value == null) { throw new NullPointerException(); } - + searchResultType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the search result.
      * You can use this field to determine which get method to call to fetch the
@@ -1240,10 +1355,11 @@ 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() { - + searchResultType_ = 0; onChanged(); return this; @@ -1251,6 +1367,8 @@ public Builder clearSearchResultType() { private java.lang.Object searchResultSubtype_ = ""; /** + * + * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1259,13 +1377,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; @@ -1274,6 +1392,8 @@ public java.lang.String getSearchResultSubtype() { } } /** + * + * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1282,15 +1402,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 { @@ -1298,6 +1417,8 @@ public java.lang.String getSearchResultSubtype() { } } /** + * + * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1306,20 +1427,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) { + public Builder setSearchResultSubtype(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchResultSubtype_ = value; onChanged(); return this; } /** + * + * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1328,15 +1451,18 @@ public Builder setSearchResultSubtype(
      * 
* * string search_result_subtype = 2; + * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { - + searchResultSubtype_ = getDefaultInstance().getSearchResultSubtype(); onChanged(); return this; } /** + * + * *
      * Sub-type of the search result.
      * A dot-delimited full type of the resource. The same type you
@@ -1345,16 +1471,16 @@ 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) { + public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchResultSubtype_ = value; onChanged(); return this; @@ -1362,6 +1488,8 @@ public Builder setSearchResultSubtypeBytes( private java.lang.Object relativeResourceName_ = ""; /** + * + * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1370,13 +1498,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; @@ -1385,6 +1513,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1393,15 +1523,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 { @@ -1409,6 +1538,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1417,20 +1548,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) { + public Builder setRelativeResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeResourceName_ = value; onChanged(); return this; } /** + * + * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1439,15 +1572,18 @@ public Builder setRelativeResourceName(
      * 
* * string relative_resource_name = 3; + * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { - + relativeResourceName_ = getDefaultInstance().getRelativeResourceName(); onChanged(); return this; } /** + * + * *
      * The relative name of the resource in URL format.
      * Examples:
@@ -1456,16 +1592,16 @@ 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) { + public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeResourceName_ = value; onChanged(); return this; @@ -1473,6 +1609,8 @@ public Builder setRelativeResourceNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1482,13 +1620,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; @@ -1497,6 +1635,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1506,15 +1646,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 { @@ -1522,6 +1661,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1531,20 +1672,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) { + public Builder setLinkedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1554,15 +1697,18 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 4; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); onChanged(); return this; } /** + * + * *
      * The full name of the Google Cloud resource the entry belongs to.
      * For more information, see [Full Resource Name]
@@ -1572,16 +1718,16 @@ 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) { + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = value; onChanged(); return this; @@ -1589,34 +1735,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 modifyTimeBuilder_ != null || modifyTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -1637,14 +1796,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(); onChanged(); @@ -1655,6 +1815,8 @@ public Builder setModifyTime( return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1665,7 +1827,7 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { if (modifyTimeBuilder_ == null) { if (modifyTime_ != null) { modifyTime_ = - com.google.protobuf.Timestamp.newBuilder(modifyTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(modifyTime_).mergeFrom(value).buildPartial(); } else { modifyTime_ = value; } @@ -1677,6 +1839,8 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1695,6 +1859,8 @@ public Builder clearModifyTime() { return this; } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1702,11 +1868,13 @@ public Builder clearModifyTime() { * .google.protobuf.Timestamp modify_time = 7; */ public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { - + onChanged(); return getModifyTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The last modification timestamp of the entry in the source system.
      * 
@@ -1717,11 +1885,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.
      * 
@@ -1729,26 +1900,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 @@ -1756,12 +1935,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 @@ -1772,12 +1956,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. */ @@ -1788,31 +1977,43 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.IntegratedSystem result = com.google.cloud.datacatalog.v1.IntegratedSystem.valueOf( - (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.valueOf((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. */ @@ -1826,12 +2027,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() { @@ -1844,11 +2050,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 @@ -1856,11 +2065,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 @@ -1870,8 +2082,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; @@ -1882,24 +2093,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; } @@ -1909,30 +2121,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) { + public Builder setUserSpecifiedSystem(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - systemCase_ = 9; + 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() { @@ -1944,20 +2161,22 @@ 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) { + public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); systemCase_ = 9; system_ = value; onChanged(); @@ -1966,6 +2185,8 @@ public Builder setUserSpecifiedSystemBytes( private java.lang.Object fullyQualifiedName_ = ""; /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -1978,13 +2199,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; @@ -1993,6 +2214,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2005,15 +2228,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 { @@ -2021,6 +2243,8 @@ public java.lang.String getFullyQualifiedName() { } } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2033,20 +2257,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) { + public Builder setFullyQualifiedName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullyQualifiedName_ = value; onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2059,15 +2285,18 @@ public Builder setFullyQualifiedName(
      * 
* * string fully_qualified_name = 10; + * * @return This builder for chaining. */ public Builder clearFullyQualifiedName() { - + fullyQualifiedName_ = getDefaultInstance().getFullyQualifiedName(); onChanged(); return this; } /** + * + * *
      * Fully qualified name (FQN) of the resource.
      * FQNs take two forms:
@@ -2080,16 +2309,16 @@ 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) { + public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullyQualifiedName_ = value; onChanged(); return this; @@ -2097,18 +2326,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; @@ -2117,20 +2348,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 { @@ -2138,54 +2370,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the result.
      * 
* * string display_name = 12; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2193,19 +2432,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; @@ -2214,21 +2455,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 { @@ -2236,64 +2478,71 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2303,12 +2552,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(); } @@ -2317,27 +2566,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; @@ -2352,6 +2601,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 80% 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 6b7bac423409..9d3ecc1b4796 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * You can use this field to determine which get method to call to fetch the
@@ -15,10 +33,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.
    * You can use this field to determine which get method to call to fetch the
@@ -26,11 +47,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.
    * A dot-delimited full type of the resource. The same type you
@@ -39,10 +63,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ java.lang.String getSearchResultSubtype(); /** + * + * *
    * Sub-type of the search result.
    * A dot-delimited full type of the resource. The same type you
@@ -51,12 +78,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.
    * Examples:
@@ -65,10 +94,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.
    * 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 Google Cloud resource the entry belongs to.
    * For more information, see [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 Google Cloud resource the entry belongs to.
    * For more information, see [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(); /** + * + * *
    * 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.
    * 
@@ -138,66 +183,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.
    * FQNs take two forms:
@@ -210,10 +280,13 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string fully_qualified_name = 10; + * * @return The fullyQualifiedName. */ java.lang.String getFullyQualifiedName(); /** + * + * *
    * Fully qualified name (FQN) of the resource.
    * FQNs take two forms:
@@ -226,52 +299,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(); public 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..de81477e35d2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 553b8b5ccef5..3f3a3e21814a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,38 +47,42 @@ private SerializedPolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SerializedPolicyTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object policyTag_;
   /**
+   *
+   *
    * 
    * Resource name of the policy tag.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; + * * @return The policyTag. */ @java.lang.Override @@ -69,30 +91,30 @@ 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.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * 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 { @@ -103,12 +125,15 @@ public java.lang.String getPolicyTag() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -117,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. 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 { @@ -151,6 +176,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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 +185,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -166,14 +194,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 +210,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 { @@ -201,6 +229,8 @@ public java.lang.String getDescription() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; private java.util.List childPolicyTags_; /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -208,10 +238,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.
    * 
@@ -219,11 +252,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.
    * 
@@ -235,6 +270,8 @@ public int getChildPolicyTagsCount() { return childPolicyTags_.size(); } /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -246,6 +283,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in return childPolicyTags_.get(index); } /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -259,6 +298,7 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyTag_); } @@ -303,8 +342,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 +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.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; } @@ -356,96 +391,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.
@@ -453,33 +495,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();
@@ -500,9 +541,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
@@ -521,7 +562,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.policyTag_ = policyTag_;
       result.displayName_ = displayName_;
@@ -543,38 +585,39 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -582,7 +625,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_;
         onChanged();
@@ -613,9 +657,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedPolicyTag oth
             childPolicyTagsBuilder_ = null;
             childPolicyTags_ = other.childPolicyTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            childPolicyTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getChildPolicyTagsFieldBuilder() : null;
+            childPolicyTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getChildPolicyTagsFieldBuilder()
+                    : null;
           } else {
             childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_);
           }
@@ -647,40 +692,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              policyTag_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                policyTag_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -690,23 +740,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object policyTag_ = "";
     /**
+     *
+     *
      * 
      * Resource name of the policy tag.
      * This field is 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyTag_ = s; return s; @@ -715,21 +768,22 @@ public java.lang.String getPolicyTag() { } } /** + * + * *
      * Resource name of the policy tag.
      * This field is ignored when calling `ImportTaxonomies`.
      * 
* * 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 { @@ -737,57 +791,64 @@ public java.lang.String getPolicyTag() { } } /** + * + * *
      * Resource name of the policy tag.
      * This field is 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) { + public Builder setPolicyTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + policyTag_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of the policy tag.
      * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; + * * @return This builder for chaining. */ public Builder clearPolicyTag() { - + policyTag_ = getDefaultInstance().getPolicyTag(); onChanged(); return this; } /** + * + * *
      * Resource name of the policy tag.
      * This field is 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) { + public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + policyTag_ = value; onChanged(); return this; @@ -795,19 +856,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; @@ -816,21 +879,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 { @@ -838,57 +902,64 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -896,6 +967,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
@@ -903,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; @@ -918,6 +991,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
@@ -925,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 { @@ -941,6 +1015,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
@@ -948,20 +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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -969,15 +1047,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of the serialized policy tag. At most
      * 2000 bytes when encoded in UTF-8. If not set, defaults to an
@@ -985,41 +1066,50 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List childPolicyTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); + childPolicyTags_ = + new java.util.ArrayList( + childPolicyTags_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -1027,6 +1117,8 @@ public java.util.List getCh } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1041,6 +1133,8 @@ public int getChildPolicyTagsCount() { } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1055,6 +1149,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(in } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1076,6 +1172,8 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1094,6 +1192,8 @@ public Builder setChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1114,6 +1214,8 @@ public Builder addChildPolicyTags(com.google.cloud.datacatalog.v1.SerializedPoli return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1135,6 +1237,8 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1153,6 +1257,8 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1171,6 +1277,8 @@ public Builder addChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1181,8 +1289,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); @@ -1190,6 +1297,8 @@ public Builder addAllChildPolicyTags( return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1207,6 +1316,8 @@ public Builder clearChildPolicyTags() { return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1224,6 +1335,8 @@ public Builder removeChildPolicyTags(int index) { return this; } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1235,6 +1348,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getChildPolic return getChildPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1244,19 +1359,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 { @@ -1264,6 +1382,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getChildPoli } } /** + * + * *
      * Children of the policy tag, if any.
      * 
@@ -1271,10 +1391,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.
      * 
@@ -1283,26 +1405,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1311,9 +1442,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); } @@ -1323,12 +1454,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(); } @@ -1337,27 +1468,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; @@ -1372,6 +1503,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 f5200a7effe7..c3ee0e7c6f9d 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,57 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; + * * @return The policyTag. */ java.lang.String getPolicyTag(); /** + * + * *
    * Resource name of the policy tag.
    * This field is ignored when calling `ImportTaxonomies`.
    * 
* * 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
@@ -59,10 +87,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
@@ -70,21 +101,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.
    * 
@@ -93,6 +127,8 @@ public interface SerializedPolicyTagOrBuilder extends */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getChildPolicyTags(int index); /** + * + * *
    * Children of the policy tag, if any.
    * 
@@ -101,15 +137,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 344945001fb6..007f1d54561f 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,37 +48,41 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -69,29 +91,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; } } /** + * + * *
    * 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 { @@ -102,12 +124,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -116,30 +141,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 { @@ -150,6 +175,8 @@ public java.lang.String getDescription() { public static final int POLICY_TAGS_FIELD_NUMBER = 3; private java.util.List policyTags_; /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -161,6 +188,8 @@ public java.util.List getPo return policyTags_; } /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -168,11 +197,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 +215,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -195,6 +228,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.
    * 
@@ -210,34 +245,49 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; 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) { + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(from); - return result == null ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(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 +295,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 +312,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 +344,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 +360,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 +394,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 +418,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,96 +459,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
@@ -496,33 +564,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();
@@ -543,9 +610,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
@@ -564,7 +631,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -590,38 +658,39 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -629,7 +698,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_;
         onChanged();
@@ -656,9 +726,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SerializedTaxonomy othe
             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_);
           }
@@ -700,52 +771,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              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) {
+                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) {
@@ -755,22 +832,25 @@ 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; @@ -779,20 +859,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 { @@ -800,54 +881,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -855,19 +943,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; @@ -876,21 +966,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 { @@ -898,75 +989,90 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List 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.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.
      * 
@@ -981,6 +1087,8 @@ public java.util.List getPo } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -995,6 +1103,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1009,6 +1119,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int ind } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1030,6 +1142,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1048,6 +1162,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1068,6 +1184,8 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.SerializedPolicyTag return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1089,6 +1207,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1107,6 +1227,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1125,6 +1247,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1135,8 +1259,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); @@ -1144,6 +1267,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1161,6 +1286,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1178,6 +1305,8 @@ public Builder removePolicyTags(int index) { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1189,6 +1318,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTag.Builder getPolicyTags return getPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1198,19 +1329,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 { @@ -1218,6 +1352,8 @@ public com.google.cloud.datacatalog.v1.SerializedPolicyTagOrBuilder getPolicyTag } } /** + * + * *
      * Top level policy tags associated with the taxonomy, if any.
      * 
@@ -1225,10 +1361,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.
      * 
@@ -1237,37 +1375,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_ & 0x00000001) != 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_ & 0x00000001) != 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_ & 0x00000002) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1275,34 +1420,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. */ @@ -1310,11 +1469,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. @@ -1330,15 +1493,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(); } @@ -1348,11 +1516,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. */ @@ -1366,11 +1538,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() { @@ -1380,23 +1556,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. */ @@ -1404,28 +1587,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. */ @@ -1436,16 +1626,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); @@ -1453,9 +1646,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); } @@ -1465,12 +1658,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(); } @@ -1479,27 +1672,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; @@ -1514,6 +1707,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 e7063f40b098..16e5db8cd234 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,64 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * 
@@ -67,6 +96,8 @@ public interface SerializedTaxonomyOrBuilder extends */ com.google.cloud.datacatalog.v1.SerializedPolicyTag getPolicyTags(int index); /** + * + * *
    * Top level policy tags associated with the taxonomy, if any.
    * 
@@ -75,68 +106,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/StarEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.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/StarEntryRequest.java rename to java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java index 3845c6aeea57..a7093c827317 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -159,97 +185,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.StarEntryRequest result =
+          new com.google.cloud.datacatalog.v1.StarEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.StarEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..d02bb5305637 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 15950de1a3ff..de9242111f90 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,44 +29,46 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
@@ -61,8 +80,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -80,12 +98,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;
@@ -104,96 +123,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].
@@ -202,33 +228,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();
@@ -236,9 +261,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
@@ -257,7 +282,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;
     }
@@ -266,38 +292,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;
@@ -305,7 +332,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;
@@ -332,12 +360,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) {
@@ -347,9 +376,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);
     }
 
@@ -359,12 +388,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();
   }
@@ -373,27 +402,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;
@@ -408,6 +437,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..28c8b511dfe2
--- /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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 80%
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 c3406d8660c6..a43a325e9fe7 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,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.EMPTY; fileType_ = ""; @@ -26,32 +44,35 @@ private StorageProperties() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StorageProperties(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private com.google.protobuf.LazyStringList filePattern_; /** + * + * *
    * Patterns to identify a set of files for this fileset.
    * Examples of a valid `file_pattern`:
@@ -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.
    * Examples of a valid `file_pattern`:
@@ -103,12 +126,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.
    * Examples of a valid `file_pattern`:
@@ -131,6 +157,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. */ @@ -138,6 +165,8 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** + * + * *
    * Patterns to identify a set of files for this fileset.
    * Examples of a valid `file_pattern`:
@@ -160,22 +189,25 @@ 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; 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 @@ -184,29 +216,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 { @@ -215,6 +247,7 @@ public java.lang.String getFileType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < filePattern_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePattern_.getRaw(i)); } @@ -262,17 +294,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -296,129 +327,135 @@ 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(); @@ -430,9 +467,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_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 @@ -451,7 +488,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); + com.google.cloud.datacatalog.v1.StorageProperties result = + new com.google.cloud.datacatalog.v1.StorageProperties(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { filePattern_ = filePattern_.getUnmodifiableView(); @@ -467,38 +505,39 @@ public com.google.cloud.datacatalog.v1.StorageProperties buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -506,7 +545,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_; @@ -547,23 +587,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(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFilePatternIsMutable(); + filePattern_.add(s); + break; + } // case 10 + case 18: + { + fileType_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -573,16 +616,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList filePattern_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList filePattern_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFilePatternIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filePattern_ = new com.google.protobuf.LazyStringArrayList(filePattern_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -605,13 +653,15 @@ 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() { return filePattern_.getUnmodifiableView(); } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -634,12 +684,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.
      * Examples of a valid `file_pattern`:
@@ -662,6 +715,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. */ @@ -669,6 +723,8 @@ public java.lang.String getFilePattern(int index) { return filePattern_.get(index); } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -691,14 +747,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.
      * Examples of a valid `file_pattern`:
@@ -721,21 +779,23 @@ 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) { + public Builder setFilePattern(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternIsMutable(); filePattern_.set(index, value); onChanged(); return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -758,20 +818,22 @@ 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) { + public Builder addFilePattern(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternIsMutable(); filePattern_.add(value); onChanged(); return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -794,18 +856,19 @@ 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_); onChanged(); return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -828,6 +891,7 @@ public Builder addAllFilePattern(
      * 
* * repeated string file_pattern = 1; + * * @return This builder for chaining. */ public Builder clearFilePattern() { @@ -837,6 +901,8 @@ public Builder clearFilePattern() { return this; } /** + * + * *
      * Patterns to identify a set of files for this fileset.
      * Examples of a valid `file_pattern`:
@@ -859,15 +925,15 @@ 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) { + public Builder addFilePatternBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFilePatternIsMutable(); filePattern_.add(value); onChanged(); @@ -876,18 +942,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; @@ -896,20 +964,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 { @@ -917,61 +986,68 @@ 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) { + public Builder setFileType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileType_ = value; onChanged(); return this; } /** + * + * *
      * File type in MIME format, for example, `text/plain`.
      * 
* * string file_type = 2; + * * @return This builder for chaining. */ public Builder clearFileType() { - + fileType_ = getDefaultInstance().getFileType(); onChanged(); 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) { + public Builder setFileTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fileType_ = 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); } @@ -981,12 +1057,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(); } @@ -995,27 +1071,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; @@ -1030,6 +1106,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 a35472c5fcec..4d69e4c76ec3 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Examples of a valid `file_pattern`:
@@ -30,11 +48,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.
    * Examples of a valid `file_pattern`:
@@ -57,10 +77,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.
    * Examples of a valid `file_pattern`:
@@ -83,11 +106,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.
    * Examples of a valid `file_pattern`:
@@ -110,29 +136,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 71% 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 58994de7dfac..7f6ca2f8da32 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,60 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,11 +83,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 @@ -74,6 +98,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.
    * 
@@ -88,6 +114,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.
@@ -98,6 +126,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -105,6 +134,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Timestamp of the last modification of the resource or its metadata within
    * a given system.
@@ -115,6 +146,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ @java.lang.Override @@ -122,6 +154,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.
@@ -141,12 +175,16 @@ 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 @@ -154,12 +192,16 @@ 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,12 +209,15 @@ 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() { @@ -180,6 +225,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -212,16 +257,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; @@ -231,27 +273,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; @@ -281,130 +321,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(); @@ -430,9 +476,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 @@ -451,7 +497,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); + com.google.cloud.datacatalog.v1.SystemTimestamps result = + new com.google.cloud.datacatalog.v1.SystemTimestamps(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -475,38 +522,39 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -514,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()); } @@ -550,33 +599,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -589,34 +636,47 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -637,14 +697,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(); onChanged(); @@ -655,6 +716,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -665,7 +728,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -677,6 +740,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -695,6 +760,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -702,11 +769,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Creation timestamp of the resource within the given system.
      * 
@@ -717,11 +786,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.
      * 
@@ -729,14 +801,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_; @@ -744,8 +819,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.
@@ -756,12 +836,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -772,16 +855,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.
@@ -807,6 +895,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.
@@ -818,8 +908,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();
         onChanged();
@@ -830,6 +919,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -845,7 +936,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -857,6 +948,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.
@@ -880,6 +973,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -892,11 +987,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp of the last modification of the resource or its metadata within
      * a given system.
@@ -912,11 +1009,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.
@@ -929,14 +1029,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_;
@@ -944,42 +1047,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. 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 expireTimeBuilder_ != null || 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. */ 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) { @@ -995,15 +1117,18 @@ 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(); onChanged(); @@ -1014,18 +1139,22 @@ 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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1037,12 +1166,16 @@ 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() { if (expireTimeBuilder_ == null) { @@ -1056,58 +1189,74 @@ 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() { - + onChanged(); 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); } @@ -1117,12 +1266,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(); } @@ -1131,27 +1280,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; @@ -1166,6 +1315,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 a2bdce94dde2..b4aabd4946a5 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -45,10 +71,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.
@@ -59,10 +88,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.
@@ -77,32 +109,43 @@ 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..23271a76e299 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 a25147eade0f..bf53c9620acf 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 name of the
@@ -59,7 +80,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 @@ -68,14 +92,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 name of the
@@ -84,17 +109,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 +129,7 @@ public java.lang.String getGroupedEntry() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupedEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupedEntry_); } @@ -139,15 +165,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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,130 +192,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(); @@ -299,9 +331,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 @@ -320,7 +352,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); + com.google.cloud.datacatalog.v1.TableSpec result = + new com.google.cloud.datacatalog.v1.TableSpec(this); result.groupedEntry_ = groupedEntry_; onBuilt(); return result; @@ -330,38 +363,39 @@ public com.google.cloud.datacatalog.v1.TableSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -400,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - groupedEntry_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + groupedEntry_ = input.readStringRequireUtf8(); + + 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) { @@ -423,6 +459,8 @@ public Builder mergeFrom( 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 name of the
@@ -431,14 +469,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; @@ -447,6 +487,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 name of the
@@ -455,16 +497,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 { @@ -472,6 +515,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 name of the
@@ -480,21 +525,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) { + public Builder setGroupedEntry(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupedEntry_ = value; 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 name of the
@@ -503,16 +552,21 @@ 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() { - + groupedEntry_ = getDefaultInstance().getGroupedEntry(); 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 name of the
@@ -521,24 +575,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) { + public Builder setGroupedEntryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupedEntry_ = 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); } @@ -548,12 +604,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(); } @@ -562,27 +618,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; @@ -597,6 +653,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 53% 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 7aa9e7955c59..24de67ab5345 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 name of the
@@ -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 date-sharded, that is, it matches the `[prefix]YYYYMMDD`
    * name pattern, this field is the Data Catalog resource name of the
@@ -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-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..bd0ca5b35c80 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java @@ -0,0 +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/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\"\350\001\n\021BigQueryTableSpec\022L\n" + + "\021table_source_type\030\001 \001(\0162,.google.cloud." + + "datacatalog.v1.TableSourceTypeB\003\340A\003\022:\n\tv" + + "iew_spec\030\002 \001(\0132%.google.cloud.datacatalo" + + "g.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.go" + + "ogle.cloud.datacatalog.v1.TableSpecH\000B\013\n" + + "\ttype_spec\"#\n\010ViewSpec\022\027\n\nview_query\030\001 \001" + + "(\tB\003\340A\003\"L\n\tTableSpec\022?\n\rgrouped_entry\030\001 " + + "\001(\tB(\340A\003\372A\"\n datacatalog.googleapis.com/" + + "Entry\"\255\001\n\027BigQueryDateShardedSpec\0229\n\007dat" + + "aset\030\001 \001(\tB(\340A\003\372A\"\n datacatalog.googleap" + + "is.com/Entry\022\031\n\014table_prefix\030\002 \001(\tB\003\340A\003\022" + + "\030\n\013shard_count\030\003 \001(\003B\003\340A\003\022\"\n\025latest_shar" + + "d_resource\030\004 \001(\tB\003\340A\003*{\n\017TableSourceType" + + "\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rB" + + "IGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BI" + + "GQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.googl" + + "e.cloud.datacatalog.v1P\001ZFgoogle.golang." + + "org/genproto/googleapis/cloud/datacatalo" + + "g/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataC" + + "atalog.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.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 68% 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 2c6ee92d236a..58190002890c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -14,15 +31,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_ = "";
@@ -31,49 +49,52 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -89,25 +110,29 @@ 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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -116,6 +141,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -124,14 +150,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the tag in URL format where tag ID is a
    * system-generated identifier.
@@ -140,16 +167,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,6 +186,8 @@ public java.lang.String getName() { public static final int TEMPLATE_FIELD_NUMBER = 2; private volatile java.lang.Object template_; /** + * + * *
    * Required. The resource name of the tag template this tag uses. Example:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -167,6 +195,7 @@ public java.lang.String getName() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ @java.lang.Override @@ -175,14 +204,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -190,16 +220,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 { @@ -210,11 +239,14 @@ public java.lang.String getTemplate() { public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; 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 @@ -223,29 +255,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 { @@ -255,6 +287,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.
@@ -263,12 +297,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.
@@ -277,6 +314,7 @@ public boolean hasColumn() {
    * 
* * string column = 4; + * * @return The column. */ public java.lang.String getColumn() { @@ -287,8 +325,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; @@ -297,6 +334,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.
@@ -305,18 +344,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; } @@ -327,24 +365,28 @@ 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()); } - 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_; } @@ -353,6 +395,8 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * Required. Maps the ID of a tag field to its value and additional information
    * about that field.
@@ -360,24 +404,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.
@@ -385,14 +431,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.
@@ -400,19 +449,23 @@ 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 getFieldsOrDefault( - java.lang.String key, - com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
@@ -420,13 +473,15 @@ public 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)) { @@ -436,6 +491,7 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,20 +503,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_); } @@ -482,15 +533,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_); @@ -506,26 +558,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: @@ -564,97 +611,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.
@@ -665,55 +718,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();
@@ -730,9 +780,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
@@ -770,38 +820,39 @@ public com.google.cloud.datacatalog.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -822,18 +873,19 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Tag other) {
         templateDisplayName_ = other.templateDisplayName_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       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();
@@ -861,41 +913,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              template_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              scopeCase_ = 4;
-              scope_ = s;
-              break;
-            } // case 34
-            case 42: {
-              templateDisplayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                template_ = input.readStringRequireUtf8();
+
+                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());
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                scopeCase_ = 4;
+                scope_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                templateDisplayName_ = input.readStringRequireUtf8();
+
+                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) {
@@ -905,12 +967,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() {
@@ -924,6 +986,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.
@@ -932,13 +996,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; @@ -947,6 +1011,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -955,15 +1021,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 { @@ -971,6 +1036,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -979,20 +1046,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1001,15 +1070,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the tag in URL format where tag ID is a
      * system-generated identifier.
@@ -1018,16 +1090,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1035,6 +1107,8 @@ public Builder setNameBytes( private java.lang.Object template_ = ""; /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1042,13 +1116,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; @@ -1057,6 +1131,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1064,15 +1140,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 { @@ -1080,6 +1155,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1087,20 +1164,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) { + public Builder setTemplate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + template_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1108,15 +1187,18 @@ public Builder setTemplate(
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTemplate() { - + template_ = getDefaultInstance().getTemplate(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tag template this tag uses. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -1124,16 +1206,16 @@ 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) { + public Builder setTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + template_ = value; onChanged(); return this; @@ -1141,18 +1223,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; @@ -1161,20 +1245,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 { @@ -1182,60 +1267,69 @@ 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) { + public Builder setTemplateDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateDisplayName_ = value; 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() { - + templateDisplayName_ = getDefaultInstance().getTemplateDisplayName(); onChanged(); 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) { + public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateDisplayName_ = 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.
@@ -1244,6 +1338,7 @@ public Builder setTemplateDisplayNameBytes(
      * 
* * string column = 4; + * * @return Whether the column field is set. */ @java.lang.Override @@ -1251,6 +1346,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.
@@ -1259,6 +1356,7 @@ public boolean hasColumn() {
      * 
* * string column = 4; + * * @return The column. */ @java.lang.Override @@ -1268,8 +1366,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; @@ -1280,6 +1377,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.
@@ -1288,19 +1387,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; } @@ -1310,6 +1408,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.
@@ -1318,20 +1418,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) { + public Builder setColumn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - scopeCase_ = 4; + 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.
@@ -1340,6 +1442,7 @@ public Builder setColumn(
      * 
* * string column = 4; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1351,6 +1454,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.
@@ -1359,37 +1464,38 @@ 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) { + public Builder setColumnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); scopeCase_ = 4; scope_ = value; onChanged(); return this; } - 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_; } + private com.google.protobuf.MapField - internalGetMutableFields() { - onChanged();; + internalGetMutableFields() { + onChanged(); + ; 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(); @@ -1401,6 +1507,8 @@ public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional information
      * about that field.
@@ -1408,24 +1516,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.
@@ -1433,14 +1543,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.
@@ -1448,19 +1562,23 @@ 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 getFieldsOrDefault( - java.lang.String key, - com.google.cloud.datacatalog.v1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
@@ -1468,13 +1586,15 @@ public 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)) { @@ -1484,11 +1604,12 @@ public com.google.cloud.datacatalog.v1.TagField getFieldsOrThrow( } public Builder clearFields() { - 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.
@@ -1496,25 +1617,26 @@ 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() { + getMutableFields() { return internalGetMutableFields().getMutableMap(); } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional information
      * about that field.
@@ -1522,21 +1644,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableFields().getMutableMap() - .put(key, value); + internalGetMutableFields().getMutableMap().put(key, value); return this; } /** + * + * *
      * Required. Maps the ID of a tag field to its value and additional information
      * about that field.
@@ -1544,18 +1669,18 @@ 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); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1565,12 +1690,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(); } @@ -1579,27 +1704,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; @@ -1614,6 +1739,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 b893fc281b01..05d89373a543 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,121 +28,136 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object displayName_; /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -134,29 +166,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 { @@ -165,6 +197,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -201,15 +233,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -229,87 +261,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 @@ -319,39 +357,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(); @@ -361,9 +401,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 @@ -382,7 +422,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); + com.google.cloud.datacatalog.v1.TagField.EnumValue result = + new com.google.cloud.datacatalog.v1.TagField.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -392,38 +433,41 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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 +475,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_; onChanged(); @@ -462,17 +507,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,18 +532,20 @@ public Builder mergeFrom( 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; @@ -505,20 +554,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 { @@ -526,58 +576,66 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -590,12 +648,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(); } @@ -604,27 +662,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; @@ -639,13 +698,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int kindCase_ = 0; 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), @@ -655,6 +715,7 @@ public enum KindCase RICHTEXT_VALUE(8), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -670,35 +731,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 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; 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 +778,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 +810,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 +825,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,24 +845,30 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * 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.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * string string_value = 3; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -796,8 +879,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; @@ -806,24 +888,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * 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; } @@ -835,11 +918,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 @@ -847,11 +933,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 @@ -864,11 +953,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 @@ -876,21 +968,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.
    * 
@@ -900,19 +997,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; /** + * + * *
    * The value of a tag field with an enum type.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -920,22 +1020,27 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** + * + * *
    * The value of a tag field with an enum type.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .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.
    * This value must be one of the allowed values listed in this enum.
@@ -946,13 +1051,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -961,12 +1068,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -975,6 +1085,7 @@ public boolean hasRichtextValue() {
    * 
* * string richtext_value = 8; + * * @return The richtextValue. */ public java.lang.String getRichtextValue() { @@ -985,8 +1096,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; @@ -995,6 +1105,8 @@ public java.lang.String getRichtextValue() { } } /** + * + * *
    * The value of a tag field with a rich text type.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -1003,18 +1115,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; } @@ -1027,6 +1138,8 @@ public java.lang.String getRichtextValue() { public static final int ORDER_FIELD_NUMBER = 7; private int order_; /** + * + * *
    * Output only. The order of this field with respect to other fields in this tag. Can be
    * set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -1036,6 +1149,7 @@ public java.lang.String getRichtextValue() {
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ @java.lang.Override @@ -1044,6 +1158,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,21 +1170,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_); @@ -1096,29 +1208,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_); @@ -1131,43 +1244,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: @@ -1190,8 +1295,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; @@ -1199,8 +1306,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; @@ -1222,97 +1328,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].
@@ -1320,33 +1433,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();
@@ -1366,9 +1478,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
@@ -1387,7 +1499,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);
+      com.google.cloud.datacatalog.v1.TagField result =
+          new com.google.cloud.datacatalog.v1.TagField(this);
       result.displayName_ = displayName_;
       if (kindCase_ == 2) {
         result.kind_ = kind_;
@@ -1425,38 +1538,39 @@ public com.google.cloud.datacatalog.v1.TagField buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1473,37 +1587,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();
@@ -1531,58 +1652,63 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              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();
+                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();
 
-              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:
+                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) {
@@ -1592,12 +1718,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() {
@@ -1607,21 +1733,22 @@ public Builder clearKind() {
       return this;
     }
 
-
     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; @@ -1630,20 +1757,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 { @@ -1651,76 +1779,89 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } /** + * + * *
      * 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() { @@ -1730,11 +1871,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. */ @@ -1745,11 +1889,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() { @@ -1762,12 +1909,15 @@ public Builder clearDoubleValue() { } /** + * + * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1775,12 +1925,15 @@ public boolean hasStringValue() { return kindCase_ == 3; } /** + * + * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; + * * @return The stringValue. */ @java.lang.Override @@ -1790,8 +1943,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; @@ -1802,25 +1954,26 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * 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; } @@ -1830,32 +1983,37 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 3; + throw new NullPointerException(); + } + kindCase_ = 3; kind_ = value; onChanged(); return this; } /** + * + * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1867,21 +2025,23 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* * string string_value = 3; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; onChanged(); @@ -1889,22 +2049,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() { @@ -1914,11 +2080,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. */ @@ -1929,11 +2098,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() { @@ -1946,13 +2118,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 @@ -1960,11 +2138,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 @@ -1982,6 +2163,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2002,14 +2185,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(); @@ -2020,6 +2204,8 @@ public Builder setTimestampValue( return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2028,10 +2214,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; } @@ -2047,6 +2234,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2070,6 +2259,8 @@ public Builder clearTimestampValue() { return this; } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2080,6 +2271,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2098,6 +2291,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** + * + * *
      * The value of a tag field with a timestamp type.
      * 
@@ -2105,33 +2300,43 @@ 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; - onChanged();; + onChanged(); + ; return timestampValueBuilder_; } 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.
      * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return Whether the enumValue field is set. */ @java.lang.Override @@ -2139,12 +2344,15 @@ public boolean hasEnumValue() { return kindCase_ == 6; } /** + * + * *
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; + * * @return The enumValue. */ @java.lang.Override @@ -2162,6 +2370,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { } } /** + * + * *
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2183,6 +2393,8 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue v
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2202,6 +2414,8 @@ public Builder setEnumValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2211,10 +2425,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;
         }
@@ -2230,6 +2447,8 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2254,6 +2473,8 @@ public Builder clearEnumValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2265,6 +2486,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder getEnumValueBu
       return getEnumValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2284,6 +2507,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
       }
     }
     /**
+     *
+     *
      * 
      * The value of a tag field with an enum type.
      * This value must be one of the allowed values listed in this enum.
@@ -2292,25 +2517,33 @@ 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());
         kind_ = null;
       }
       kindCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return enumValueBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2319,6 +2552,7 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO
      * 
* * string richtext_value = 8; + * * @return Whether the richtextValue field is set. */ @java.lang.Override @@ -2326,6 +2560,8 @@ public boolean hasRichtextValue() { return kindCase_ == 8; } /** + * + * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2334,6 +2570,7 @@ public boolean hasRichtextValue() {
      * 
* * string richtext_value = 8; + * * @return The richtextValue. */ @java.lang.Override @@ -2343,8 +2580,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; @@ -2355,6 +2591,8 @@ public java.lang.String getRichtextValue() { } } /** + * + * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2363,19 +2601,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; } @@ -2385,6 +2622,8 @@ public java.lang.String getRichtextValue() { } } /** + * + * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2393,20 +2632,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) { + public Builder setRichtextValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 8; + throw new NullPointerException(); + } + kindCase_ = 8; kind_ = value; onChanged(); return this; } /** + * + * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2415,6 +2656,7 @@ public Builder setRichtextValue(
      * 
* * string richtext_value = 8; + * * @return This builder for chaining. */ public Builder clearRichtextValue() { @@ -2426,6 +2668,8 @@ public Builder clearRichtextValue() { return this; } /** + * + * *
      * The value of a tag field with a rich text type.
      * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -2434,23 +2678,25 @@ 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) { + public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 8; kind_ = value; onChanged(); 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 [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -2460,6 +2706,7 @@ public Builder setRichtextValueBytes(
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The order. */ @java.lang.Override @@ -2467,6 +2714,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 [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -2476,16 +2725,19 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The order of this field with respect to other fields in this tag. Can be
      * set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -2495,17 +2747,18 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -2515,12 +2768,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(); } @@ -2529,27 +2782,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; @@ -2564,6 +2817,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 83% 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 b1d5d6f77eef..fd26af126dc7 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,121 +1,170 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * string string_value = 3; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* * 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.
    * 
@@ -125,26 +174,34 @@ public interface TagFieldOrBuilder extends com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder(); /** + * + * *
    * The value of a tag field with an enum type.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .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.
    * This value must be one of the allowed values listed in this enum.
    * 
* * .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.
    * This value must be one of the allowed values listed in this enum.
@@ -155,6 +212,8 @@ public interface TagFieldOrBuilder extends
   com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * The value of a tag field with a rich text type.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -163,10 +222,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -175,10 +237,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.
    * The maximum length is 10 MiB as this value holds HTML descriptions
@@ -187,12 +252,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 [Tag][google.cloud.datacatalog.v1.TagTemplateField.order].
@@ -202,6 +269,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 d5ad783ffe81..f38fe5430158 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -16,10 +34,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.
@@ -28,12 +49,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -41,10 +64,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
@@ -52,32 +78,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.
@@ -86,10 +119,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.
@@ -98,10 +134,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.
@@ -110,12 +149,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.
@@ -123,10 +164,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.
@@ -134,17 +179,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.
@@ -152,11 +197,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.
@@ -164,15 +212,19 @@ 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.
@@ -180,11 +232,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); public 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 67% 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 056b9c900855..a0cdb19bf707 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * The template is used to create tags that are attached to GCP resources.
@@ -17,15 +34,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_ = "";
@@ -33,44 +51,46 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
@@ -78,6 +98,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -86,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.
    * Note: The tag template itself and its child resources might not be
@@ -101,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 { @@ -121,6 +142,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Display name for this template. Defaults to an empty string.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -129,6 +152,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -137,14 +161,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -153,16 +178,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 { @@ -173,6 +197,8 @@ public java.lang.String getDisplayName() { public static final int IS_PUBLICLY_READABLE_FIELD_NUMBER = 5; private boolean isPubliclyReadable_; /** + * + * *
    * Indicates whether tags created with this template are public. Public tags
    * do not require tag template access to appear in
@@ -182,6 +208,7 @@ public java.lang.String getDisplayName() {
    * 
* * bool is_publicly_readable = 5; + * * @return The isPubliclyReadable. */ @java.lang.Override @@ -190,24 +217,31 @@ 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()); } + + 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 - internalGetFields() { + 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_; } @@ -216,6 +250,8 @@ 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
@@ -228,24 +264,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
@@ -258,14 +297,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
@@ -278,19 +321,23 @@ 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 com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
-      java.lang.String key,
-      com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -303,13 +350,15 @@ public 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)) { @@ -319,6 +368,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,20 +380,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_); } @@ -362,19 +407,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; @@ -384,21 +430,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; } @@ -415,8 +458,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(); @@ -426,97 +468,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.
    * The template is used to create tags that are attached to GCP resources.
@@ -530,55 +579,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();
@@ -593,9 +639,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
@@ -614,7 +660,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);
+      com.google.cloud.datacatalog.v1.TagTemplate result =
+          new com.google.cloud.datacatalog.v1.TagTemplate(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -629,38 +676,39 @@ public com.google.cloud.datacatalog.v1.TagTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -680,8 +728,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());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -708,35 +755,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              break;
-            } // case 26
-            case 40: {
-              isPubliclyReadable_ = input.readBool();
-
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                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());
+                break;
+              } // case 26
+            case 40:
+              {
+                isPubliclyReadable_ = input.readBool();
+
+                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) {
@@ -746,10 +802,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.
      * Note: The tag template itself and its child resources might not be
@@ -757,13 +816,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; @@ -772,6 +831,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -779,15 +840,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 { @@ -795,6 +855,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -802,20 +864,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -823,15 +887,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
@@ -839,16 +906,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -856,6 +923,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -864,13 +933,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; @@ -879,6 +948,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -887,15 +958,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 { @@ -903,6 +973,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -911,20 +983,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -933,15 +1007,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Display name for this template. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -950,23 +1027,25 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - private 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
@@ -976,6 +1055,7 @@ public Builder setDisplayNameBytes(
      * 
* * bool is_publicly_readable = 5; + * * @return The isPubliclyReadable. */ @java.lang.Override @@ -983,6 +1063,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
@@ -992,16 +1074,19 @@ public boolean getIsPubliclyReadable() {
      * 
* * bool is_publicly_readable = 5; + * * @param value The isPubliclyReadable to set. * @return This builder for chaining. */ public Builder setIsPubliclyReadable(boolean value) { - + isPubliclyReadable_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether tags created with this template are public. Public tags
      * do not require tag template access to appear in
@@ -1011,31 +1096,36 @@ public Builder setIsPubliclyReadable(boolean value) {
      * 
* * bool is_publicly_readable = 5; + * * @return This builder for chaining. */ public Builder clearIsPubliclyReadable() { - + isPubliclyReadable_ = false; onChanged(); return this; } 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_; } - private com.google.protobuf.MapField - internalGetMutableFields() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> + internalGetMutableFields() { + onChanged(); + ; 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(); @@ -1047,6 +1137,8 @@ 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
@@ -1059,24 +1151,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
@@ -1089,14 +1184,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
@@ -1109,19 +1208,23 @@ 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 com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault(
-        java.lang.String key,
-        com.google.cloud.datacatalog.v1.TagTemplateField defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -1134,13 +1237,15 @@ public 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)) { @@ -1150,11 +1255,12 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrThrow( } public Builder clearFields() { - 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
@@ -1167,25 +1273,26 @@ 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() { + getMutableFields() { 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
@@ -1198,21 +1305,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableFields().getMutableMap() - .put(key, value); + internalGetMutableFields().getMutableMap().put(key, value); 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
@@ -1225,18 +1336,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); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1357,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(); } @@ -1260,27 +1371,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; @@ -1295,6 +1406,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 cb8db2803bb7..d9ffccffb03b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private TagTemplateField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TagTemplateField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the tag template field in URL format. Example:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -64,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -72,14 +94,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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -91,16 +114,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 { @@ -111,6 +133,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name for this field. Defaults to an empty string.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -119,6 +143,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -127,14 +152,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -143,16 +169,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 { @@ -163,11 +188,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 @@ -175,11 +205,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 @@ -187,11 +222,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() { @@ -201,11 +240,14 @@ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() { public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_; /** + * + * *
    * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; + * * @return The isRequired. */ @java.lang.Override @@ -216,11 +258,14 @@ public boolean getIsRequired() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -229,29 +274,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 { @@ -262,6 +307,8 @@ public java.lang.String getDescription() { public static final int ORDER_FIELD_NUMBER = 5; private int order_; /** + * + * *
    * The order of this field with respect to other fields in this tag
    * template.
@@ -271,6 +318,7 @@ public java.lang.String getDescription() {
    * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -279,6 +327,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +339,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -323,19 +371,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_); @@ -348,28 +393,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; } @@ -390,8 +430,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; @@ -401,130 +440,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(); @@ -548,9 +593,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 @@ -569,7 +614,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); + com.google.cloud.datacatalog.v1.TagTemplateField result = + new com.google.cloud.datacatalog.v1.TagTemplateField(this); result.name_ = name_; result.displayName_ = displayName_; if (typeBuilder_ == null) { @@ -588,38 +634,39 @@ public com.google.cloud.datacatalog.v1.TagTemplateField buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -627,7 +674,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_; onChanged(); @@ -675,44 +723,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTypeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 24: { - isRequired_ = input.readBool(); - - break; - } // case 24 - case 34: { - description_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: { - order_ = input.readInt32(); - - break; - } // case 40 - case 50: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 24: + { + isRequired_ = input.readBool(); + + break; + } // case 24 + case 34: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: + { + order_ = input.readInt32(); + + break; + } // case 40 + case 50: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -725,6 +778,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -736,13 +791,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; @@ -751,6 +806,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -762,15 +819,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 { @@ -778,6 +834,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -789,20 +847,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -814,15 +874,18 @@ public Builder setName(
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -834,16 +897,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -851,6 +914,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -859,13 +924,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; @@ -874,6 +939,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -882,15 +949,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 { @@ -898,6 +964,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -906,20 +974,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -928,15 +998,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name for this field. Defaults to an empty string.
      * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -945,16 +1018,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -962,39 +1035,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 typeBuilder_ != null || 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. */ 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) { @@ -1010,14 +1102,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(); onChanged(); @@ -1028,17 +1123,23 @@ 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 (type_ != null) { type_ = - com.google.cloud.datacatalog.v1.FieldType.newBuilder(type_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.FieldType.newBuilder(type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -1050,11 +1151,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() { if (typeBuilder_ == null) { @@ -1068,60 +1173,79 @@ 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() { - + onChanged(); 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 @@ -1129,30 +1253,36 @@ 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. */ public Builder setIsRequired(boolean value) { - + isRequired_ = value; onChanged(); return this; } /** + * + * *
      * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; + * * @return This builder for chaining. */ public Builder clearIsRequired() { - + isRequired_ = false; onChanged(); return this; @@ -1160,18 +1290,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; @@ -1180,20 +1312,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 { @@ -1201,61 +1334,70 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private int order_ ; + private int order_; /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1265,6 +1407,7 @@ public Builder setDescriptionBytes(
      * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -1272,6 +1415,8 @@ public int getOrder() { return order_; } /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1281,16 +1426,19 @@ public int getOrder() {
      * 
* * int32 order = 5; + * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; onChanged(); return this; } /** + * + * *
      * The order of this field with respect to other fields in this tag
      * template.
@@ -1300,17 +1448,18 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; + * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -1320,12 +1469,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(); } @@ -1334,27 +1483,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; @@ -1369,6 +1518,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 1b1ddeaa5d31..f5fe48ce6907 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -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:
    * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
@@ -34,12 +55,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -48,10 +71,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -60,69 +86,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.
@@ -132,6 +182,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 72% 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 7edf2cc15695..dc35c2b47c70 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Note: The tag template itself and its child resources might not be
@@ -15,10 +33,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.
    * Note: The tag template itself and its child resources might not be
@@ -26,12 +47,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -40,10 +63,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.
    * The name must contain only Unicode letters, numbers (0-9), underscores (_),
@@ -52,12 +78,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
@@ -67,11 +95,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
@@ -84,10 +115,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
@@ -100,17 +135,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
@@ -123,11 +158,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
@@ -140,15 +178,19 @@ 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
@@ -161,9 +203,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/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..5280bedfb95a --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java @@ -0,0 +1,245 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\206\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010template\030\002 \001" + + "(\tB\003\340A\002\022\"\n\025template_display_name\030\005 \001(\tB\003" + + "\340A\003\022\020\n\006column\030\004 \001(\tH\000\022A\n\006fields\030\003 \003(\0132,." + + "google.cloud.datacatalog.v1.Tag.FieldsEn" + + "tryB\003\340A\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\0224\n\005" + + "value\030\002 \001(\0132%.google.cloud.datacatalog.v" + + "1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.google" + + "apis.com/Tag\022\\projects/{project}/locatio" + + "ns/{location}/entryGroups/{entry_group}/" + + "entries/{entry}/tags/{tag}B\007\n\005scope\"\302\002\n\010" + + "TagField\022\031\n\014display_name\030\001 \001(\tB\003\340A\003\022\026\n\014d" + + "ouble_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\017timestamp_v" + + "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" + + "\022E\n\nenum_value\030\006 \001(\0132/.google.cloud.data" + + "catalog.v1.TagField.EnumValueH\000\022\030\n\016richt" + + "ext_value\030\010 \001(\tH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n" + + "\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind" + + "\"\352\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" + + "y_name\030\002 \001(\t\022\034\n\024is_publicly_readable\030\005 \001" + + "(\010\022I\n\006fields\030\003 \003(\01324.google.cloud.dataca" + + "talog.v1.TagTemplate.FieldsEntryB\003\340A\002\032\\\n" + + "\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + + "2-.google.cloud.datacatalog.v1.TagTempla" + + "teField:\0028\001:p\352Am\n&datacatalog.googleapis" + + ".com/TagTemplate\022Cprojects/{project}/loc" + + "ations/{location}/tagTemplates/{tag_temp" + + "late}\"\267\002\n\020TagTemplateField\022\021\n\004name\030\006 \001(\t" + + "B\003\340A\003\022\024\n\014display_name\030\001 \001(\t\0229\n\004type\030\002 \001(" + + "\0132&.google.cloud.datacatalog.v1.FieldTyp" + + "eB\003\340A\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013descripti" + + "on\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacata" + + "log.googleapis.com/TagTemplateField\022Rpro" + + "jects/{project}/locations/{location}/tag" + + "Templates/{tag_template}/fields/{field}\"" + + "\246\003\n\tFieldType\022N\n\016primitive_type\030\001 \001(\01624." + + "google.cloud.datacatalog.v1.FieldType.Pr" + + "imitiveTypeH\000\022D\n\tenum_type\030\002 \001(\0132/.googl" + + "e.cloud.datacatalog.v1.FieldType.EnumTyp" + + "eH\000\032\205\001\n\010EnumType\022Q\n\016allowed_values\030\001 \003(\013" + + "29.google.cloud.datacatalog.v1.FieldType" + + ".EnumType.EnumValue\032&\n\tEnumValue\022\031\n\014disp" + + "lay_name\030\001 \001(\tB\003\340A\002\"n\n\rPrimitiveType\022\036\n\032" + + "PRIMITIVE_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\tTIMESTAMP\020\004\022\014\n" + + "\010RICHTEXT\020\005B\013\n\ttype_declB\313\001\n\037com.google." + + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" + + "g/genproto/googleapis/cloud/datacatalog/" + + "v1;datacatalog\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[] { + 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 66e8d2c4a87d..02e6475540aa 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -29,15 +46,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_ = "";
@@ -47,39 +65,43 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -88,6 +110,8 @@ public enum PolicyType */ POLICY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
@@ -100,6 +124,8 @@ public enum PolicyType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified policy type.
      * 
@@ -108,6 +134,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.
@@ -117,7 +145,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(
@@ -142,48 +169,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;
@@ -203,12 +229,15 @@ private PolicyType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. Resource name of this taxonomy in URL format.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -217,30 +246,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 in URL format.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * 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 { @@ -251,6 +280,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. User-defined name of this taxonomy.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -260,6 +291,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -268,14 +300,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.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -285,16 +318,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 { @@ -305,6 +337,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of this taxonomy. If not set, defaults to empty.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -313,6 +347,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -321,14 +356,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.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -337,16 +373,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 { @@ -357,11 +392,14 @@ public java.lang.String getDescription() { public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; 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 @@ -372,11 +410,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 @@ -384,62 +427,91 @@ 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() { + public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { return getTaxonomyTimestamps(); } public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; 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) { + public com.google.cloud.datacatalog.v1.Taxonomy.PolicyType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(from); - return result == null ? com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1.Taxonomy.PolicyType.valueOf(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 @@ -447,12 +519,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. */ @@ -461,26 +538,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. */ @@ -488,9 +574,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; @@ -502,8 +590,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -546,24 +633,24 @@ 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; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -573,25 +660,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -626,97 +708,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.
@@ -742,33 +831,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();
@@ -792,9 +880,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
@@ -813,7 +901,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -837,38 +926,39 @@ public com.google.cloud.datacatalog.v1.Taxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -931,56 +1021,63 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 32: {
-              policyTagCount_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getTaxonomyTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 32:
+              {
+                policyTagCount_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getTaxonomyTimestampsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 48:
+              {
                 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:
+                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) {
@@ -990,23 +1087,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * 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; @@ -1015,21 +1115,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * 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 { @@ -1037,57 +1138,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this taxonomy in URL format.
      * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1095,6 +1203,8 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1104,13 +1214,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; @@ -1119,6 +1229,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1128,15 +1240,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 { @@ -1144,6 +1255,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1153,20 +1266,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1176,15 +1291,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. User-defined name of this taxonomy.
      * The name can't start or end with spaces, must contain only Unicode letters,
@@ -1194,16 +1312,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1211,6 +1329,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1219,13 +1339,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; @@ -1234,6 +1354,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1242,15 +1364,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 { @@ -1258,6 +1379,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1266,20 +1389,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1288,15 +1413,18 @@ public Builder setDescription(
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of this taxonomy. If not set, defaults to empty.
      * The description must contain only Unicode characters, tabs, newlines,
@@ -1305,28 +1433,31 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private 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 @@ -1334,30 +1465,36 @@ 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. */ public Builder setPolicyTagCount(int value) { - + policyTagCount_ = value; onChanged(); 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() { - + policyTagCount_ = 0; onChanged(); return this; @@ -1365,39 +1502,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 taxonomyTimestampsBuilder_ != null || 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. */ 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) { @@ -1413,11 +1569,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) { @@ -1431,17 +1591,23 @@ 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 (taxonomyTimestamps_ != null) { taxonomyTimestamps_ = - com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(taxonomyTimestamps_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.SystemTimestamps.newBuilder(taxonomyTimestamps_) + .mergeFrom(value) + .buildPartial(); } else { taxonomyTimestamps_ = value; } @@ -1453,11 +1619,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() { if (taxonomyTimestampsBuilder_ == null) { @@ -1471,55 +1641,73 @@ 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() { - + onChanged(); 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_ & 0x00000001) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1527,37 +1715,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. */ @@ -1565,12 +1770,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. @@ -1586,16 +1796,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(); } @@ -1605,12 +1821,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. */ @@ -1624,12 +1845,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() { @@ -1639,25 +1865,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. */ @@ -1665,30 +1900,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. */ @@ -1699,17 +1943,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); @@ -1717,9 +1965,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); } @@ -1729,12 +1977,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(); } @@ -1743,27 +1991,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; @@ -1778,6 +2026,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 0b1a45bd9202..071e829c5ecd 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,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * 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.
    * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * 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.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -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.
    * The name can't start or end with spaces, must contain only Unicode letters,
@@ -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. If not set, defaults to empty.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -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. If not set, defaults to empty.
    * The description must contain only Unicode characters, tabs, newlines,
@@ -78,97 +109,138 @@ 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. */ 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..a553fbe3dee8 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\252\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\0224\n\013expire_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003B\313\001\n\037c" + + "om.google.cloud.datacatalog.v1P\001ZFgoogle" + + ".golang.org/genproto/googleapis/cloud/da" + + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" + + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" + + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" + + "b\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_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 61% 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 a55b6509e70e..b8188a32c320 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +290,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();
@@ -293,9 +325,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
@@ -314,7 +346,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);
+      com.google.cloud.datacatalog.v1.UnstarEntryRequest result =
+          new com.google.cloud.datacatalog.v1.UnstarEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +357,39 @@ public com.google.cloud.datacatalog.v1.UnstarEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +397,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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +478,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 { @@ -458,61 +502,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +579,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(); } @@ -536,27 +593,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; @@ -571,6 +628,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..eae8a3ff0ec1 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 da708c1245a4..9ec5c807c02d 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,44 +29,46 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
@@ -61,8 +80,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -80,12 +98,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;
@@ -104,96 +123,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].
@@ -202,33 +228,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();
@@ -236,9 +261,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
@@ -257,7 +282,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;
     }
@@ -266,38 +292,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;
@@ -305,7 +332,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;
@@ -332,12 +360,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) {
@@ -347,9 +376,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);
     }
 
@@ -359,12 +388,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();
   }
@@ -373,27 +402,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;
@@ -408,6 +437,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..d4c286b005dc
--- /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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 67%
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 c63c80385396..af8a449eaba2 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,51 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,23 +86,34 @@ 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() { @@ -89,6 +123,8 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde 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.
    * If this parameter is absent or empty, all modifiable fields
@@ -97,6 +133,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 @@ -104,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on an entry group.
    * If this parameter is absent or empty, all modifiable fields
@@ -112,6 +151,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -119,6 +159,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -134,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -145,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());
     }
@@ -163,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;
@@ -178,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;
@@ -220,96 +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();
@@ -363,9 +409,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
@@ -384,7 +430,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);
+      com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest(this);
       if (entryGroupBuilder_ == null) {
         result.entryGroup_ = entryGroup_;
       } else {
@@ -403,38 +450,39 @@ public com.google.cloud.datacatalog.v1.UpdateEntryGroupRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -442,7 +490,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());
       }
@@ -475,26 +524,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -507,39 +555,58 @@ public Builder mergeFrom(
 
     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 entryGroupBuilder_ != null || 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. */ 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) { @@ -555,11 +622,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) { @@ -573,17 +644,23 @@ 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 (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.EntryGroup.newBuilder(entryGroup_) + .mergeFrom(value) + .buildPartial(); } else { entryGroup_ = value; } @@ -595,11 +672,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() { if (entryGroupBuilder_ == null) { @@ -613,48 +694,64 @@ 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() { - + onChanged(); 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_; @@ -662,8 +759,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -672,12 +774,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -686,16 +791,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -719,6 +829,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -728,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();
         onChanged();
@@ -740,6 +851,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -753,7 +866,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -765,6 +878,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -786,6 +901,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -796,11 +913,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry group.
      * If this parameter is absent or empty, all modifiable fields
@@ -814,11 +933,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -829,21 +951,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);
     }
 
@@ -853,12 +978,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();
   }
@@ -867,27 +992,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;
@@ -902,6 +1027,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 65%
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 661d67b745ca..e2ec8a6c32f6 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
    * If this parameter is absent or empty, all modifiable fields
@@ -43,10 +75,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -55,10 +90,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.
    * If this parameter is absent or empty, all modifiable fields
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 317864d1b41f..f66a22bbc866 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,51 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,11 +85,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 @@ -75,11 +101,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() { @@ -89,6 +118,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -114,6 +145,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 @@ -121,6 +153,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Names of fields whose values to overwrite on an entry.
    * If this parameter is absent or empty, all modifiable fields
@@ -146,6 +180,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -153,6 +188,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -185,6 +222,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -196,8 +234,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -214,12 +251,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;
@@ -229,22 +264,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.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;
@@ -271,96 +305,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].
@@ -368,33 +409,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();
@@ -414,9 +454,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
@@ -435,7 +475,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);
+      com.google.cloud.datacatalog.v1.UpdateEntryRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateEntryRequest(this);
       if (entryBuilder_ == null) {
         result.entry_ = entry_;
       } else {
@@ -454,38 +495,39 @@ public com.google.cloud.datacatalog.v1.UpdateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -493,7 +535,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());
       }
@@ -526,26 +569,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -558,24 +600,35 @@ public Builder mergeFrom(
 
     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 entryBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Entry getEntry() { @@ -586,11 +639,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) { @@ -606,14 +662,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(); onChanged(); @@ -624,17 +682,22 @@ 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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Entry.newBuilder(entry_) + .mergeFrom(value) + .buildPartial(); } else { entry_ = value; } @@ -646,11 +709,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() { if (entryBuilder_ == null) { @@ -664,48 +730,59 @@ 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() { - + onChanged(); 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_; @@ -713,8 +790,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -740,12 +822,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -771,16 +856,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -821,6 +911,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -847,8 +939,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();
         onChanged();
@@ -859,6 +950,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -889,7 +982,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -901,6 +994,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -939,6 +1034,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -966,11 +1063,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Names of fields whose values to overwrite on an entry.
      * If this parameter is absent or empty, all modifiable fields
@@ -1001,11 +1100,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.
      * If this parameter is absent or empty, all modifiable fields
@@ -1033,21 +1135,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);
     }
 
@@ -1057,12 +1162,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();
   }
@@ -1071,27 +1176,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;
@@ -1106,6 +1211,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 8987eb67e34e..eff16bdcdcbb 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
    * If this parameter is absent or empty, all modifiable fields
@@ -60,10 +89,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.
    * If this parameter is absent or empty, all modifiable fields
@@ -89,10 +121,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.
    * If this parameter is absent or empty, all modifiable fields
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 be021c55e428..c6c415495d6f 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -64,19 +85,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.
@@ -92,6 +120,8 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder(
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -101,6 +131,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 @@ -108,6 +139,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -117,6 +150,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -124,6 +158,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
@@ -140,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -151,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());
     }
@@ -169,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;
@@ -184,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;
@@ -226,96 +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();
@@ -369,9 +409,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
@@ -390,7 +430,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);
+      com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest(this);
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
       } else {
@@ -409,38 +450,39 @@ public com.google.cloud.datacatalog.v1.UpdatePolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -448,7 +490,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());
       }
@@ -481,26 +524,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -513,36 +555,49 @@ public Builder mergeFrom(
 
     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 policyTagBuilder_ != null || 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. */ 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.
@@ -564,6 +619,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.
@@ -571,8 +628,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();
         onChanged();
@@ -583,6 +639,8 @@ public Builder setPolicyTag(
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -594,7 +652,9 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) {
       if (policyTagBuilder_ == null) {
         if (policyTag_ != null) {
           policyTag_ =
-            com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial();
+              com.google.cloud.datacatalog.v1.PolicyTag.newBuilder(policyTag_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           policyTag_ = value;
         }
@@ -606,6 +666,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.
@@ -625,6 +687,8 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -633,11 +697,13 @@ public Builder clearPolicyTag() {
      * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;
      */
     public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() {
-      
+
       onChanged();
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. You can update only its description, display
      * name, and parent policy tag fields.
@@ -649,11 +715,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.
@@ -662,14 +731,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_;
@@ -677,8 +749,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.
      * You can update only display name, description, and parent policy tag.
@@ -688,12 +765,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -703,16 +783,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.
      * You can update only display name, description, and parent policy tag.
@@ -737,6 +822,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -747,8 +834,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();
         onChanged();
@@ -759,6 +845,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -773,7 +861,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -785,6 +873,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -807,6 +897,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -818,11 +910,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies the fields to update.
      * You can update only display name, description, and parent policy tag.
@@ -837,11 +931,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.
      * You can update only display name, description, and parent policy tag.
@@ -853,21 +950,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);
     }
 
@@ -877,12 +977,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();
   }
@@ -891,27 +991,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;
@@ -926,6 +1026,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 67bfe54280f5..c3a8b092e9bd 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
    * You can update only display name, description, and parent policy tag.
@@ -47,10 +73,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.
    * You can update only display name, description, and parent policy tag.
@@ -60,10 +89,13 @@ public interface UpdatePolicyTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Specifies the fields to update.
    * You can update only display name, description, and parent policy tag.
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 26946ca6d093..eeb4507cbdb3 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,51 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,11 +85,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 @@ -75,11 +101,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() { @@ -89,6 +118,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`.
@@ -98,6 +129,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 @@ -105,6 +137,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`.
@@ -114,6 +148,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -121,6 +156,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`.
@@ -137,6 +174,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -148,8 +186,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -166,12 +203,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;
@@ -181,22 +216,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.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;
@@ -222,97 +256,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 +361,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();
@@ -366,9 +406,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
@@ -387,7 +427,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);
+      com.google.cloud.datacatalog.v1.UpdateTagRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTagRequest(this);
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
       } else {
@@ -406,38 +447,39 @@ public com.google.cloud.datacatalog.v1.UpdateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -445,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());
       }
@@ -478,26 +521,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -510,24 +552,35 @@ public Builder mergeFrom(
 
     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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1.Tag getTag() { @@ -538,11 +591,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) { @@ -558,14 +614,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(); onChanged(); @@ -576,17 +634,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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -598,11 +659,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() { if (tagBuilder_ == null) { @@ -616,48 +680,59 @@ 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() { - + onChanged(); 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_; @@ -665,8 +740,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`.
@@ -676,12 +756,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Names of fields whose values to overwrite on a tag. Currently, a tag has
      * the only modifiable field with the name `fields`.
@@ -691,16 +774,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`.
@@ -725,6 +813,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`.
@@ -735,8 +825,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();
         onChanged();
@@ -747,6 +836,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`.
@@ -761,7 +852,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -773,6 +864,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`.
@@ -795,6 +888,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`.
@@ -806,11 +901,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       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`.
@@ -825,11 +922,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`.
@@ -841,21 +941,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);
     }
 
@@ -865,12 +968,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();
   }
@@ -879,27 +982,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;
@@ -914,6 +1017,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 34b8b554c68d..5f97b0318f8b 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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`.
@@ -44,10 +73,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`.
@@ -57,10 +89,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 68%
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 b8b57da008a0..ab27f94fca40 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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 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 { @@ -98,11 +124,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 @@ -110,23 +141,34 @@ 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() { @@ -136,6 +178,8 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF 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:
@@ -152,7 +196,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 @@ -160,6 +206,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:
@@ -176,7 +224,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 @@ -184,6 +234,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:
@@ -200,7 +252,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() { @@ -208,6 +261,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -243,12 +296,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; @@ -258,24 +309,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; @@ -304,96 +353,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].
@@ -401,33 +458,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();
@@ -449,13 +505,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();
     }
 
@@ -470,7 +527,8 @@ 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);
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest(this);
       result.name_ = name_;
       if (tagTemplateFieldBuilder_ == null) {
         result.tagTemplateField_ = tagTemplateField_;
@@ -490,38 +548,39 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -529,7 +588,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_;
         onChanged();
@@ -566,31 +627,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -603,18 +665,22 @@ public Builder mergeFrom(
 
     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; @@ -623,20 +689,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 { @@ -644,54 +713,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -699,39 +781,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 tagTemplateFieldBuilder_ != null || 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. */ 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) { @@ -747,11 +848,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) { @@ -765,17 +870,23 @@ 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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplateField.newBuilder(tagTemplateField_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplateField_ = value; } @@ -787,11 +898,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() { if (tagTemplateFieldBuilder_ == null) { @@ -805,48 +920,65 @@ 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() { - + onChanged(); 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_; @@ -854,8 +986,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:
@@ -872,13 +1009,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field of a tag
      * template. The following fields are modifiable:
@@ -895,17 +1036,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:
@@ -922,7 +1069,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) { @@ -938,6 +1086,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:
@@ -954,10 +1104,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(); onChanged(); @@ -968,6 +1118,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:
@@ -984,13 +1136,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1002,6 +1155,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:
@@ -1018,7 +1173,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() { if (updateMaskBuilder_ == null) { @@ -1032,6 +1188,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:
@@ -1048,14 +1206,17 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Names of fields whose values to overwrite on an individual field of a tag
      * template. The following fields are modifiable:
@@ -1072,17 +1233,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:
@@ -1099,24 +1264,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); } @@ -1126,12 +1295,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(); } @@ -1140,27 +1310,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; @@ -1175,6 +1345,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 fb395933babf..371e2855e812 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -71,11 +112,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:
@@ -92,11 +137,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:
@@ -113,7 +162,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 69% 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 74d24382e7f5..6acde50f134a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,51 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,23 +86,34 @@ 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() { @@ -89,6 +123,8 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil 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.
@@ -100,6 +136,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 @@ -107,6 +144,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.
@@ -118,6 +157,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -125,6 +165,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.
@@ -143,6 +185,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -154,8 +197,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tagTemplate_ != null) {
       output.writeMessage(1, getTagTemplate());
     }
@@ -172,12 +214,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;
@@ -187,22 +227,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;
@@ -229,96 +268,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].
@@ -326,33 +373,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();
@@ -372,9 +418,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
@@ -393,7 +439,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);
+      com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest(this);
       if (tagTemplateBuilder_ == null) {
         result.tagTemplate_ = tagTemplate_;
       } else {
@@ -412,38 +459,39 @@ public com.google.cloud.datacatalog.v1.UpdateTagTemplateRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -451,7 +499,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());
       }
@@ -484,26 +533,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -516,39 +564,58 @@ public Builder mergeFrom(
 
     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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -564,11 +631,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) { @@ -582,17 +653,23 @@ 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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1.TagTemplate.newBuilder(tagTemplate_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplate_ = value; } @@ -604,11 +681,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() { if (tagTemplateBuilder_ == null) { @@ -622,48 +703,64 @@ 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() { - + onChanged(); 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_; @@ -671,8 +768,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.
@@ -684,12 +786,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` and `is_publicly_readable` can be overwritten.
@@ -701,16 +806,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.
@@ -737,6 +847,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.
@@ -749,8 +861,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();
         onChanged();
@@ -761,6 +872,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.
@@ -777,7 +890,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -789,6 +902,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.
@@ -813,6 +928,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.
@@ -826,11 +943,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       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.
@@ -847,11 +966,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.
@@ -865,21 +987,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);
     }
 
@@ -889,12 +1014,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();
   }
@@ -903,27 +1028,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;
@@ -938,6 +1063,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 05e150b2922f..1a74ed7067c2 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
@@ -46,10 +78,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.
@@ -61,10 +96,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 72%
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 4d18d8c97907..e1a05f2d558a 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -64,19 +85,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.
@@ -92,6 +120,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder()
   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.
@@ -100,6 +130,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 @@ -107,6 +138,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Specifies fields to update. If not set, defaults to all fields you can
    * update.
@@ -115,6 +148,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -122,6 +156,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.
@@ -137,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -148,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());
     }
@@ -166,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;
@@ -181,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;
@@ -223,96 +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();
@@ -366,9 +406,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
@@ -387,7 +427,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);
+      com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest(this);
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
       } else {
@@ -406,38 +447,39 @@ public com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -445,7 +487,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());
       }
@@ -478,26 +521,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -510,36 +552,49 @@ public Builder mergeFrom(
 
     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 taxonomyBuilder_ != null || 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. */ 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.
@@ -561,6 +616,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.
@@ -568,8 +625,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();
         onChanged();
@@ -580,6 +636,8 @@ public Builder setTaxonomy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -591,7 +649,9 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) {
       if (taxonomyBuilder_ == null) {
         if (taxonomy_ != null) {
           taxonomy_ =
-            com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial();
+              com.google.cloud.datacatalog.v1.Taxonomy.newBuilder(taxonomy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           taxonomy_ = value;
         }
@@ -603,6 +663,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.
@@ -622,6 +684,8 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -630,11 +694,13 @@ public Builder clearTaxonomy() {
      * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1;
      */
     public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() {
-      
+
       onChanged();
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. You can update only its description, display name,
      * and activated policy types.
@@ -646,11 +712,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.
@@ -659,14 +728,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_;
@@ -674,8 +746,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.
@@ -684,12 +761,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -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(); } } /** + * + * *
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -731,6 +816,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.
@@ -740,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();
         onChanged();
@@ -752,6 +838,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -765,7 +853,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -777,6 +865,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.
@@ -798,6 +888,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -808,11 +900,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -826,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Specifies fields to update. If not set, defaults to all fields you can
      * update.
@@ -841,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);
     }
 
@@ -865,12 +965,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();
   }
@@ -879,27 +979,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;
@@ -914,6 +1014,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 20fb4b28f40e..4fa3626df9b3 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
@@ -46,10 +72,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.
@@ -58,10 +87,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..518d8a3bb04d
--- /dev/null
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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_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;
+
+  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\"\216\002\n\013UsageSignal\022/\n\013update_time\030\001 \001("
+          + "\0132\032.google.protobuf.Timestamp\022h\n\027usage_w"
+          + "ithin_time_range\030\002 \003(\0132B.google.cloud.da"
+          + "tacatalog.v1.UsageSignal.UsageWithinTime"
+          + "RangeEntryB\003\340A\003\032d\n\031UsageWithinTimeRangeE"
+          + "ntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.googl"
+          + "e.cloud.datacatalog.v1.UsageStats:\0028\001B\313\001"
+          + "\n\037com.google.cloud.datacatalog.v1P\001ZFgoo"
+          + "gle.golang.org/genproto/googleapis/cloud"
+          + "/datacatalog/v1;datacatalog\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.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_UsageSignal_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    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",
+            });
+    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",
+            });
+    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 61%
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 1012929a3c58..555b27e37f19 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
  * Note: Usually, these signals are updated daily. In rare cases, an update may
@@ -12,63 +29,66 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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();
       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);
   }
 
   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 @@ -76,11 +96,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 @@ -88,6 +111,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.
    * 
@@ -100,21 +125,26 @@ 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()); - } - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> usageWithinTimeRange_; + .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()); + } + + private com.google.protobuf.MapField + usageWithinTimeRange_; + private com.google.protobuf.MapField - internalGetUsageWithinTimeRange() { + internalGetUsageWithinTimeRange() { if (usageWithinTimeRange_ == null) { return com.google.protobuf.MapField.emptyMapField( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); @@ -126,72 +156,88 @@ public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * 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.
    * 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.
    * 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 getUsageWithinTimeRangeOrDefault( - java.lang.String key, - com.google.cloud.datacatalog.v1.UsageStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
    * 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)) { @@ -201,6 +247,7 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,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, @@ -233,18 +278,18 @@ 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__); + usageWithinTimeRange__ = + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, usageWithinTimeRange__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,20 +299,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.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 (!internalGetUsageWithinTimeRange().equals(other.internalGetUsageWithinTimeRange())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,97 +337,104 @@ public int hashCode() { 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.
    * Note: Usually, these signals are updated daily. In rare cases, an update may
@@ -391,55 +443,52 @@ 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();
         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.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();
@@ -454,9 +503,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
@@ -475,7 +524,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);
+      com.google.cloud.datacatalog.v1.UsageSignal result =
+          new com.google.cloud.datacatalog.v1.UsageSignal(this);
       int from_bitField0_ = bitField0_;
       if (updateTimeBuilder_ == null) {
         result.updateTime_ = updateTime_;
@@ -492,38 +542,39 @@ public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -535,8 +586,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageSignal other) {
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableUsageWithinTimeRange().mergeFrom(
-          other.internalGetUsageWithinTimeRange());
+      internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -563,27 +613,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              usageWithinTimeRange__ = input.readMessage(
-                  UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableUsageWithinTimeRange().getMutableMap().put(
-                  usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue());
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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());
+                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) {
@@ -593,38 +648,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 updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -645,14 +714,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(); onChanged(); @@ -663,6 +733,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -673,7 +745,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -685,6 +757,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -703,6 +777,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -710,11 +786,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 1; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The end timestamp of the duration of usage statistics.
      * 
@@ -725,11 +803,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.
      * 
@@ -737,35 +818,45 @@ 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 - internalGetUsageWithinTimeRange() { + 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( UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); } return usageWithinTimeRange_; } - private com.google.protobuf.MapField - internalGetMutableUsageWithinTimeRange() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> + internalGetMutableUsageWithinTimeRange() { + onChanged(); + ; 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(); @@ -777,72 +868,88 @@ public int getUsageWithinTimeRangeCount() { return internalGetUsageWithinTimeRange().getMap().size(); } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * 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.
      * 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.
      * 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 getUsageWithinTimeRangeOrDefault( - java.lang.String key, - com.google.cloud.datacatalog.v1.UsageStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
      * 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)) { @@ -852,72 +959,78 @@ public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow } public Builder clearUsageWithinTimeRange() { - internalGetMutableUsageWithinTimeRange().getMutableMap() - .clear(); + internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * 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() { + getMutableUsageWithinTimeRange() { return internalGetMutableUsageWithinTimeRange().getMutableMap(); } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableUsageWithinTimeRange().getMutableMap() - .put(key, value); + internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); return this; } /** + * + * *
      * Output only. BigQuery usage statistics over each of the predefined time ranges.
      * 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); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1040,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(); } @@ -941,27 +1054,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; @@ -976,6 +1089,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 53% 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 211a10a35548..7da3d228112c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,63 +59,78 @@ public interface UsageSignalOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. BigQuery usage statistics over each of the predefined time ranges.
    * 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.
    * 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.
    * 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.
    * 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.
    * 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); } 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 68% 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 694d825d7b77..971000acdde5 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Usage statistics have the following limitations:
@@ -17,51 +34,55 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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_;
   /**
+   *
+   *
    * 
    * The number of successful uses of the underlying entry.
    * 
* * float total_completions = 1; + * * @return The totalCompletions. */ @java.lang.Override @@ -72,11 +93,14 @@ public float getTotalCompletions() { public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; private float totalFailures_; /** + * + * *
    * The number of failed attempts to use the underlying entry.
    * 
* * float total_failures = 2; + * * @return The totalFailures. */ @java.lang.Override @@ -87,11 +111,14 @@ public float getTotalFailures() { public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; private float totalCancellations_; /** + * + * *
    * The number of cancelled attempts to use the underlying entry.
    * 
* * float total_cancellations = 3; + * * @return The totalCancellations. */ @java.lang.Override @@ -102,11 +129,14 @@ public float getTotalCancellations() { public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; 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 @@ -115,6 +145,7 @@ public float getTotalExecutionTimeForCompletionsMillis() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,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 { if (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { output.writeFloat(1, totalCompletions_); } @@ -150,20 +180,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; @@ -173,25 +201,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; } @@ -204,113 +230,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.
    * Usage statistics have the following limitations:
@@ -324,33 +354,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();
@@ -366,9 +395,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
@@ -387,7 +416,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);
+      com.google.cloud.datacatalog.v1.UsageStats result =
+          new com.google.cloud.datacatalog.v1.UsageStats(this);
       result.totalCompletions_ = totalCompletions_;
       result.totalFailures_ = totalFailures_;
       result.totalCancellations_ = totalCancellations_;
@@ -400,38 +430,39 @@ public com.google.cloud.datacatalog.v1.UsageStats buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -450,7 +481,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();
@@ -478,32 +510,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 13: {
-              totalCompletions_ = input.readFloat();
-
-              break;
-            } // case 13
-            case 21: {
-              totalFailures_ = input.readFloat();
-
-              break;
-            } // case 21
-            case 29: {
-              totalCancellations_ = input.readFloat();
-
-              break;
-            } // case 29
-            case 37: {
-              totalExecutionTimeForCompletionsMillis_ = input.readFloat();
-
-              break;
-            } // case 37
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 13:
+              {
+                totalCompletions_ = input.readFloat();
+
+                break;
+              } // case 13
+            case 21:
+              {
+                totalFailures_ = input.readFloat();
+
+                break;
+              } // case 21
+            case 29:
+              {
+                totalCancellations_ = input.readFloat();
+
+                break;
+              } // case 29
+            case 37:
+              {
+                totalExecutionTimeForCompletionsMillis_ = input.readFloat();
+
+                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) {
@@ -514,13 +551,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -528,42 +568,51 @@ 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. */ public Builder setTotalCompletions(float value) { - + totalCompletions_ = value; onChanged(); return this; } /** + * + * *
      * The number of successful uses of the underlying entry.
      * 
* * float total_completions = 1; + * * @return This builder for chaining. */ public Builder clearTotalCompletions() { - + totalCompletions_ = 0F; onChanged(); 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 @@ -571,42 +620,51 @@ 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. */ public Builder setTotalFailures(float value) { - + totalFailures_ = value; onChanged(); return this; } /** + * + * *
      * The number of failed attempts to use the underlying entry.
      * 
* * float total_failures = 2; + * * @return This builder for chaining. */ public Builder clearTotalFailures() { - + totalFailures_ = 0F; onChanged(); 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 @@ -614,42 +672,51 @@ 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. */ public Builder setTotalCancellations(float value) { - + totalCancellations_ = value; onChanged(); return this; } /** + * + * *
      * The number of cancelled attempts to use the underlying entry.
      * 
* * float total_cancellations = 3; + * * @return This builder for chaining. */ public Builder clearTotalCancellations() { - + totalCancellations_ = 0F; onChanged(); 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 @@ -657,37 +724,43 @@ 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. */ public Builder setTotalExecutionTimeForCompletionsMillis(float value) { - + totalExecutionTimeForCompletionsMillis_ = value; onChanged(); 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() { - + totalExecutionTimeForCompletionsMillis_ = 0F; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -697,12 +770,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(); } @@ -711,27 +784,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; @@ -746,6 +819,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..4efe538e3bf1 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 95b9deed7b68..885f526ba2d8 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,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -64,29 +86,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 { @@ -95,6 +117,7 @@ public java.lang.String getViewQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -131,15 +153,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; } @@ -158,130 +179,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(); @@ -291,9 +318,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 @@ -312,7 +339,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); + com.google.cloud.datacatalog.v1.ViewSpec result = + new com.google.cloud.datacatalog.v1.ViewSpec(this); result.viewQuery_ = viewQuery_; onBuilt(); return result; @@ -322,38 +350,39 @@ public com.google.cloud.datacatalog.v1.ViewSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -392,17 +421,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - viewQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + viewQuery_ = input.readStringRequireUtf8(); + + 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) { @@ -415,18 +446,20 @@ public Builder mergeFrom( 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; @@ -435,20 +468,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 { @@ -456,61 +490,68 @@ 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) { + public Builder setViewQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + viewQuery_ = value; 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() { - + viewQuery_ = getDefaultInstance().getViewQuery(); onChanged(); 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) { + public Builder setViewQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + viewQuery_ = 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); } @@ -520,12 +561,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(); } @@ -534,27 +575,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; @@ -569,6 +610,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..7af36b73a265 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/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 b749a9d17f3d..ecd253336846 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +46,45 @@ private BigQueryDateShardedSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BigQueryDateShardedSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -69,31 +93,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 { @@ -104,6 +130,8 @@ public java.lang.String getDataset() { public static final int TABLE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object tablePrefix_; /** + * + * *
    * 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
@@ -111,6 +139,7 @@ public java.lang.String getDataset() {
    * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The tablePrefix. */ @java.lang.Override @@ -119,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
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -134,16 +164,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 { @@ -154,11 +183,14 @@ public java.lang.String getTablePrefix() { public static final int SHARD_COUNT_FIELD_NUMBER = 3; 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 @@ -167,6 +199,7 @@ public long getShardCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -205,8 +237,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; @@ -216,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.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; } @@ -245,104 +274,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:
@@ -351,33 +387,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();
@@ -391,13 +426,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();
     }
 
@@ -412,7 +448,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec result =
+          new com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec(this);
       result.dataset_ = dataset_;
       result.tablePrefix_ = tablePrefix_;
       result.shardCount_ = shardCount_;
@@ -424,38 +461,39 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -463,7 +501,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_;
         onChanged();
@@ -501,27 +541,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              dataset_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              tablePrefix_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              shardCount_ = input.readInt64();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                dataset_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                tablePrefix_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                shardCount_ = input.readInt64();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -534,20 +578,24 @@ public Builder mergeFrom(
 
     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; @@ -556,22 +604,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 { @@ -579,60 +630,73 @@ 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) { + public Builder setDataset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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() { - + dataset_ = getDefaultInstance().getDataset(); 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) = { ... } + * + * * @param value The bytes for dataset to set. * @return This builder for chaining. */ - public Builder setDatasetBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -640,6 +704,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
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -647,13 +713,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; @@ -662,6 +728,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * 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
@@ -669,15 +737,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 { @@ -685,6 +752,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
      * 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
@@ -692,20 +761,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) { + public Builder setTablePrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** + * + * *
      * 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
@@ -713,15 +784,18 @@ public Builder setTablePrefix(
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** + * + * *
      * 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
@@ -729,28 +803,31 @@ 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) { + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); 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 @@ -758,37 +835,43 @@ 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. */ public Builder setShardCount(long value) { - + shardCount_ = value; onChanged(); 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() { - + shardCount_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +881,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(); } @@ -812,27 +896,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; @@ -847,6 +931,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 a0f5ba168f6f..764aaa4b428a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -39,10 +66,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
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
@@ -50,17 +80,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 728cfd15cf96..0ee6c0dbd117 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,62 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; } @@ -72,58 +94,79 @@ 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.TableSourceType getTableSourceType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.TableSourceType result = com.google.cloud.datacatalog.v1beta1.TableSourceType.valueOf(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.valueOf(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 @@ -131,22 +174,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`.
@@ -157,19 +205,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 @@ -177,22 +228,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`.
@@ -203,12 +259,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;
@@ -220,9 +277,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) {
@@ -240,17 +298,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;
@@ -260,23 +321,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.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:
@@ -312,129 +372,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(); @@ -452,9 +519,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 @@ -473,7 +540,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); + com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec result = + new com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec(this); result.tableSourceType_ = tableSourceType_; if (typeSpecCase_ == 2) { if (viewSpecBuilder_ == null) { @@ -498,38 +566,39 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -537,22 +606,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(); @@ -580,31 +653,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - tableSourceType_ = input.readEnum(); + case 8: + { + tableSourceType_ = input.readEnum(); - 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: + 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) { @@ -614,12 +687,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() { @@ -629,54 +702,77 @@ public Builder clearTypeSpec() { return this; } - 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. */ public Builder setTableSourceTypeValue(int value) { - + tableSourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.TableSourceType result = com.google.cloud.datacatalog.v1beta1.TableSourceType.valueOf(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.valueOf(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. */ @@ -684,35 +780,46 @@ public Builder setTableSourceType(com.google.cloud.datacatalog.v1beta1.TableSour if (value == null) { throw new NullPointerException(); } - + tableSourceType_ = value.getNumber(); onChanged(); 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() { - + tableSourceType_ = 0; onChanged(); return this; } 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 @@ -720,12 +827,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 @@ -743,6 +853,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`.
@@ -764,6 +876,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`.
@@ -783,6 +897,8 @@ public Builder setViewSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -792,10 +908,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;
         }
@@ -811,6 +930,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`.
@@ -835,6 +956,8 @@ public Builder clearViewSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Table view specification. This field should only be populated if
      * `table_source_type` is `BIGQUERY_VIEW`.
@@ -846,6 +969,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`.
@@ -865,6 +990,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`.
@@ -873,33 +1000,45 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return viewSpecBuilder_;
     }
 
     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 @@ -907,12 +1046,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 @@ -930,6 +1072,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`.
@@ -951,6 +1095,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`.
@@ -970,6 +1116,8 @@ public Builder setTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -979,10 +1127,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;
         }
@@ -998,6 +1149,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`.
@@ -1022,6 +1175,8 @@ public Builder clearTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Spec of a BigQuery table. This field should only be populated if
      * `table_source_type` is `BIGQUERY_TABLE`.
@@ -1033,6 +1188,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`.
@@ -1052,6 +1209,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`.
@@ -1060,26 +1219,32 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 3;
-      onChanged();;
+      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);
     }
 
@@ -1089,12 +1254,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();
   }
@@ -1103,27 +1268,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;
@@ -1138,6 +1303,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 77612c900fec..b1bf13fa62f2 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 ed79236f8ac1..3c63ceab2130 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,37 +48,41 @@ private ColumnSchema() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ColumnSchema();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -69,29 +91,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 { @@ -102,11 +124,14 @@ public java.lang.String getColumn() { public static final int TYPE_FIELD_NUMBER = 1; 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 @@ -115,29 +140,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 { @@ -148,11 +173,14 @@ public java.lang.String getType() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -161,29 +189,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * 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 { @@ -194,6 +222,8 @@ public java.lang.String getDescription() { public static final int MODE_FIELD_NUMBER = 3; 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.
@@ -201,6 +231,7 @@ public java.lang.String getDescription() {
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The mode. */ @java.lang.Override @@ -209,14 +240,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 supported.
@@ -224,16 +256,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 { @@ -244,56 +275,76 @@ public java.lang.String getMode() { public static final int SUBCOLUMNS_FIELD_NUMBER = 7; 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( @@ -302,6 +353,7 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -352,8 +403,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; @@ -363,23 +413,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; } @@ -409,96 +455,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.
@@ -506,33 +559,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();
@@ -555,9 +607,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
@@ -576,7 +628,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.column_ = column_;
       result.type_ = type_;
@@ -599,38 +652,39 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -638,7 +692,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_;
         onChanged();
@@ -673,9 +728,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ColumnSchema other
             subcolumnsBuilder_ = null;
             subcolumns_ = other.subcolumns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subcolumnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubcolumnsFieldBuilder() : null;
+            subcolumnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubcolumnsFieldBuilder()
+                    : null;
           } else {
             subcolumnsBuilder_.addAllMessages(other.subcolumns_);
           }
@@ -707,45 +763,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              type_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                type_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              mode_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                mode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 50: {
-              column_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 50:
+              {
+                column_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -755,22 +817,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; @@ -779,20 +844,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 { @@ -800,54 +866,61 @@ 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) { + public Builder setColumn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + column_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the column.
      * 
* * string column = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearColumn() { - + column_ = getDefaultInstance().getColumn(); onChanged(); 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) { + public Builder setColumnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + column_ = value; onChanged(); return this; @@ -855,18 +928,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; @@ -875,20 +950,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 { @@ -896,54 +972,61 @@ 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) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of the column.
      * 
* * string type = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); 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) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -951,18 +1034,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; @@ -971,20 +1056,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 { @@ -992,54 +1078,61 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1047,6 +1140,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 supported.
@@ -1054,13 +1149,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; @@ -1069,6 +1164,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 supported.
@@ -1076,15 +1173,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 { @@ -1092,6 +1188,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 supported.
@@ -1099,20 +1197,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) { + public Builder setMode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mode_ = value; 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.
@@ -1120,15 +1220,18 @@ public Builder setMode(
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = getDefaultInstance().getMode(); 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.
@@ -1136,39 +1239,48 @@ 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) { + public Builder setModeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mode_ = value; onChanged(); return this; } private java.util.List subcolumns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSubcolumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - subcolumns_ = new java.util.ArrayList(subcolumns_); + subcolumns_ = + new java.util.ArrayList(subcolumns_); 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> 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) { @@ -1178,11 +1290,15 @@ 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) { @@ -1192,11 +1308,15 @@ 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) { @@ -1206,11 +1326,15 @@ 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) { @@ -1227,11 +1351,15 @@ 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) { @@ -1245,11 +1373,15 @@ 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) { @@ -1265,11 +1397,15 @@ 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) { @@ -1286,11 +1422,15 @@ 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) { @@ -1304,11 +1444,15 @@ 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) { @@ -1322,18 +1466,21 @@ 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); @@ -1341,11 +1488,15 @@ 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) { @@ -1358,11 +1509,15 @@ 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) { @@ -1375,39 +1530,52 @@ 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 { @@ -1415,56 +1583,72 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1474,12 +1658,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(); } @@ -1488,27 +1672,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; @@ -1523,6 +1707,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 aac91533af99..242df568b6ba 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -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 supported.
@@ -86,52 +122,70 @@ 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..a13b18e78ef4 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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\344\001\n$com.google.cloud.datacatalo" + + "g.v1beta1P\001ZKgoogle.golang.org/genproto/" + + "googleapis/cloud/datacatalog/v1beta1;dat" + + "acatalog\370\001\001\252\002 Google.Cloud.DataCatalog.V" + + "1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1beta" + + "1\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 2188a9c0c479..88ed88a2f591 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private CreateEntryGroupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryGroupRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the project this entry group is in. Example:
    * * projects/{project_id}/locations/{location}
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project this entry group is in. Example:
    * * projects/{project_id}/locations/{location}
@@ -84,17 +109,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 { @@ -105,6 +131,8 @@ public java.lang.String getParent() { public static final int ENTRY_GROUP_ID_FIELD_NUMBER = 3; 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
@@ -112,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The entryGroupId. */ @java.lang.Override @@ -120,14 +149,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
@@ -135,16 +165,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 { @@ -155,11 +184,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 @@ -167,18 +199,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.
    * 
@@ -191,6 +230,7 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -226,8 +265,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_); @@ -240,21 +278,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; @@ -281,96 +317,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].
@@ -378,33 +422,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();
@@ -422,13 +465,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();
     }
 
@@ -443,7 +487,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest(this);
       result.parent_ = parent_;
       result.entryGroupId_ = entryGroupId_;
       if (entryGroupBuilder_ == null) {
@@ -459,38 +504,39 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -498,7 +544,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_;
         onChanged();
@@ -536,29 +584,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryGroupFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              entryGroupId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                entryGroupId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,6 +621,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -578,14 +630,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; @@ -594,6 +648,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -601,16 +657,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 { @@ -618,6 +675,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -625,21 +684,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -647,16 +710,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project this entry group is in. Example:
      * * projects/{project_id}/locations/{location}
@@ -664,17 +732,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -682,6 +752,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
@@ -689,13 +761,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; @@ -704,6 +776,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
@@ -711,15 +785,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 { @@ -727,6 +800,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
@@ -734,20 +809,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) { + public Builder setEntryGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryGroupId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -755,15 +832,18 @@ public Builder setEntryGroupId(
      * 
* * string entry_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEntryGroupId() { - + entryGroupId_ = getDefaultInstance().getEntryGroupId(); onChanged(); return this; } /** + * + * *
      * Required. The id of the entry group to create.
      * The id must begin with a letter or underscore, contain only English
@@ -771,16 +851,16 @@ 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) { + public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryGroupId_ = value; onChanged(); return this; @@ -788,34 +868,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 entryGroupBuilder_ != null || entryGroup_ != null; } /** + * + * *
      * 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.
      * 
@@ -836,6 +929,8 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup val return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -854,6 +949,8 @@ public Builder setEntryGroup( return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -864,7 +961,9 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v if (entryGroupBuilder_ == null) { if (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_) + .mergeFrom(value) + .buildPartial(); } else { entryGroup_ = value; } @@ -876,6 +975,8 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup v return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -894,6 +995,8 @@ public Builder clearEntryGroup() { return this; } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -901,11 +1004,13 @@ public Builder clearEntryGroup() { * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 2; */ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuilder() { - + onChanged(); return getEntryGroupFieldBuilder().getBuilder(); } /** + * + * *
      * The entry group to create. Defaults to an empty entry group.
      * 
@@ -916,11 +1021,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.
      * 
@@ -928,21 +1036,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); } @@ -952,12 +1063,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(); } @@ -966,27 +1078,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; @@ -1001,6 +1113,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 c78aa0699531..179d77adeff8 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}
@@ -15,11 +33,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:
    * * projects/{project_id}/locations/{location}
@@ -27,13 +50,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
@@ -41,10 +68,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
@@ -52,30 +82,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 f9c90b93c184..363615b19ccb 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private CreateEntryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateEntryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the entry group this entry is in. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the entry group this entry is in. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -84,17 +109,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 { @@ -105,11 +131,14 @@ public java.lang.String getParent() { public static final int ENTRY_ID_FIELD_NUMBER = 3; 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 @@ -118,29 +147,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 { @@ -151,11 +180,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 @@ -163,23 +197,34 @@ 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() { @@ -187,6 +232,7 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -222,8 +267,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_); @@ -236,21 +280,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; @@ -277,96 +319,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].
@@ -374,33 +424,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();
@@ -418,9 +467,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
@@ -439,7 +488,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);
+      com.google.cloud.datacatalog.v1beta1.CreateEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateEntryRequest(this);
       result.parent_ = parent_;
       result.entryId_ = entryId_;
       if (entryBuilder_ == null) {
@@ -455,38 +505,39 @@ public com.google.cloud.datacatalog.v1beta1.CreateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -494,7 +545,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_;
         onChanged();
@@ -532,29 +584,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              entryId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                entryId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -567,6 +621,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -574,14 +630,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; @@ -590,6 +648,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -597,16 +657,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 { @@ -614,6 +675,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -621,21 +684,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -643,16 +710,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group this entry is in. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -660,17 +732,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -678,18 +752,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; @@ -698,20 +774,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 { @@ -719,54 +796,61 @@ 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) { + public Builder setEntryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entryId_ = value; 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() { - + entryId_ = getDefaultInstance().getEntryId(); onChanged(); 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) { + public Builder setEntryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryId_ = value; onChanged(); return this; @@ -774,39 +858,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 entryBuilder_ != null || 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. */ 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) { @@ -822,14 +925,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(); onChanged(); @@ -840,17 +946,23 @@ 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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_) + .mergeFrom(value) + .buildPartial(); } else { entry_ = value; } @@ -862,11 +974,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() { if (entryBuilder_ == null) { @@ -880,55 +996,71 @@ 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() { - + onChanged(); 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); } @@ -938,12 +1070,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(); } @@ -952,27 +1084,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; @@ -987,6 +1119,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 55% 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 20a4c9f40551..8e245ca79fc9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -15,11 +33,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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -27,56 +50,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 66% 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 747c10f849f8..29835cedab6d 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,29 +89,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 { @@ -98,11 +124,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 @@ -110,18 +139,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.
    * 
@@ -134,6 +170,7 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +202,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; @@ -177,19 +212,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; @@ -214,96 +248,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].
@@ -311,33 +353,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();
@@ -353,9 +394,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
@@ -374,7 +415,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);
+      com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest(this);
       result.parent_ = parent_;
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
@@ -389,38 +431,39 @@ public com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +471,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_;
         onChanged();
@@ -462,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +537,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +561,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 { @@ -533,54 +585,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -588,34 +653,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 policyTagBuilder_ != null || policyTag_ != null; } /** + * + * *
      * 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.
      * 
@@ -636,6 +714,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag value return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -654,6 +734,8 @@ public Builder setPolicyTag( return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -664,7 +746,9 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val if (policyTagBuilder_ == null) { if (policyTag_ != null) { policyTag_ = - com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_) + .mergeFrom(value) + .buildPartial(); } else { policyTag_ = value; } @@ -676,6 +760,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -694,6 +780,8 @@ public Builder clearPolicyTag() { return this; } /** + * + * *
      * The policy tag to be created.
      * 
@@ -701,11 +789,13 @@ public Builder clearPolicyTag() { * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 2; */ public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilder() { - + onChanged(); return getPolicyTagFieldBuilder().getBuilder(); } /** + * + * *
      * The policy tag to be created.
      * 
@@ -716,11 +806,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.
      * 
@@ -728,21 +821,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); } @@ -752,12 +848,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(); } @@ -766,27 +862,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; @@ -801,6 +897,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..c69938fd270a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 63% 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 718cb1ee95e2..700dfa9122d4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the resource to attach this tag to. Tags can be attached to
    * Entries. Example:
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the resource to attach this tag to. Tags can be attached to
    * Entries. Example:
@@ -85,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 { @@ -106,11 +132,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 +148,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 +164,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 +179,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 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -174,8 +211,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 +221,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,96 +257,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].
@@ -319,33 +362,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();
@@ -361,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
@@ -382,7 +424,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);
+      com.google.cloud.datacatalog.v1beta1.CreateTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTagRequest(this);
       result.parent_ = parent_;
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
@@ -397,38 +440,39 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -436,7 +480,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_;
         onChanged();
@@ -470,24 +515,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTagFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -500,6 +546,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -508,14 +556,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; @@ -524,6 +574,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -532,16 +584,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 { @@ -549,6 +602,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -557,21 +612,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -580,16 +639,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the resource to attach this tag to. Tags can be attached to
      * Entries. Example:
@@ -598,17 +662,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -616,24 +682,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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -644,11 +723,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) { @@ -664,14 +747,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(); onChanged(); @@ -682,17 +768,23 @@ 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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -704,11 +796,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() { if (tagBuilder_ == null) { @@ -722,55 +818,69 @@ 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() { - + onChanged(); 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); } @@ -780,12 +890,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(); } @@ -794,27 +904,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; @@ -829,6 +939,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 56af6059d9de..22819f153a99 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -16,11 +34,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:
@@ -29,36 +52,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 63% 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 bed33629171c..98ac044dd572 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private CreateTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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).
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -84,17 +109,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 { @@ -105,6 +131,8 @@ public java.lang.String getParent() { public static final int TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; 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
@@ -114,6 +142,7 @@ public java.lang.String getParent() {
    * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagTemplateFieldId. */ @java.lang.Override @@ -122,14 +151,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
@@ -139,16 +169,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 { @@ -159,11 +188,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 @@ -171,30 +205,43 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { return getTagTemplateField(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -233,8 +279,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; @@ -244,21 +289,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; @@ -285,96 +328,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].
@@ -382,33 +434,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();
@@ -426,14 +478,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
@@ -447,7 +501,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest(this);
       result.parent_ = parent_;
       result.tagTemplateFieldId_ = tagTemplateFieldId_;
       if (tagTemplateFieldBuilder_ == null) {
@@ -463,46 +518,51 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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_;
         onChanged();
@@ -540,29 +600,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              tagTemplateFieldId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                tagTemplateFieldId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -575,6 +638,8 @@ public Builder mergeFrom(
 
     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).
@@ -582,14 +647,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; @@ -598,6 +665,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).
@@ -605,16 +674,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 { @@ -622,6 +692,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).
@@ -629,21 +701,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -651,16 +727,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
@@ -668,17 +749,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -686,6 +769,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
@@ -695,13 +780,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 +795,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
@@ -719,15 +806,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 { @@ -735,6 +821,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
@@ -744,20 +832,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) { + public Builder setTagTemplateFieldId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateFieldId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -767,15 +857,18 @@ public Builder setTagTemplateFieldId(
      * 
* * string tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagTemplateFieldId() { - + tagTemplateFieldId_ = getDefaultInstance().getTagTemplateFieldId(); onChanged(); return this; } /** + * + * *
      * Required. The ID of the tag template field to create.
      * Field ids can contain letters (both uppercase and lowercase), numbers
@@ -785,16 +878,16 @@ 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) { + public Builder setTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateFieldId_ = value; onChanged(); return this; @@ -802,41 +895,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 tagTemplateFieldBuilder_ != null || 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. */ 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(); @@ -850,11 +963,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) { @@ -868,17 +985,24 @@ 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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplateField_ = value; } @@ -890,11 +1014,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() { if (tagTemplateFieldBuilder_ == null) { @@ -908,55 +1036,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() { + 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); } @@ -966,41 +1112,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; @@ -1012,9 +1160,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 61% 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 fe98eaaf2a38..733d98ec6cc5 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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).
@@ -15,11 +33,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).
@@ -27,13 +50,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
@@ -43,10 +70,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
@@ -56,35 +86,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 4d5da910e551..cfdb3c38250c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private CreateTagTemplateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTagTemplateRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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.
@@ -60,7 +81,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 @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -84,17 +109,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 { @@ -105,11 +131,14 @@ public java.lang.String getParent() { public static final int TAG_TEMPLATE_ID_FIELD_NUMBER = 3; 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 @@ -118,29 +147,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 { @@ -151,11 +180,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 @@ -163,23 +197,34 @@ 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() { @@ -187,6 +232,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -222,8 +267,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_); @@ -236,21 +280,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; @@ -277,96 +319,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].
@@ -374,33 +424,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();
@@ -418,13 +467,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();
     }
 
@@ -439,7 +489,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest(this);
       result.parent_ = parent_;
       result.tagTemplateId_ = tagTemplateId_;
       if (tagTemplateBuilder_ == null) {
@@ -455,38 +506,39 @@ public com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -494,7 +546,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_;
         onChanged();
@@ -532,29 +586,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              tagTemplateId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                tagTemplateId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -567,6 +623,8 @@ public Builder mergeFrom(
 
     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.
@@ -574,14 +632,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; @@ -590,6 +650,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.
@@ -597,16 +659,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 { @@ -614,6 +677,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.
@@ -621,21 +686,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -643,16 +712,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions.
@@ -660,17 +734,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -678,18 +754,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; @@ -698,20 +776,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 { @@ -719,54 +798,61 @@ 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) { + public Builder setTagTemplateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagTemplateId_ = value; 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() { - + tagTemplateId_ = getDefaultInstance().getTagTemplateId(); onChanged(); 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) { + public Builder setTagTemplateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagTemplateId_ = value; onChanged(); return this; @@ -774,39 +860,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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -822,11 +927,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) { @@ -840,17 +949,23 @@ 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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplate_ = value; } @@ -862,11 +977,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() { if (tagTemplateBuilder_ == null) { @@ -880,55 +999,71 @@ 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() { - + onChanged(); 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); } @@ -938,12 +1073,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(); } @@ -952,27 +1088,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; @@ -987,6 +1123,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 4a00bc30f542..9489c4aab579 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -15,11 +33,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.
@@ -27,56 +50,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 66% 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 5fd5c7e8034e..925617d3b9d0 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,29 +89,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 { @@ -98,11 +124,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 @@ -110,18 +139,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.
    * 
@@ -134,6 +170,7 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -166,8 +202,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; @@ -177,19 +212,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; @@ -214,96 +248,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].
@@ -311,33 +353,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();
@@ -353,9 +394,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
@@ -374,7 +415,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);
+      com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest(this);
       result.parent_ = parent_;
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
@@ -389,38 +431,39 @@ public com.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -428,7 +471,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_;
         onChanged();
@@ -462,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getTaxonomyFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,18 +537,22 @@ public Builder mergeFrom(
 
     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; @@ -512,20 +561,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 { @@ -533,54 +585,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -588,34 +653,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 taxonomyBuilder_ != null || taxonomy_ != null; } /** + * + * *
      * 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.
      * 
@@ -636,6 +714,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value) return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -654,6 +734,8 @@ public Builder setTaxonomy( return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -664,7 +746,9 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value if (taxonomyBuilder_ == null) { if (taxonomy_ != null) { taxonomy_ = - com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_) + .mergeFrom(value) + .buildPartial(); } else { taxonomy_ = value; } @@ -676,6 +760,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -694,6 +780,8 @@ public Builder clearTaxonomy() { return this; } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -701,11 +789,13 @@ public Builder clearTaxonomy() { * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 2; */ public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder() { - + onChanged(); return getTaxonomyFieldBuilder().getBuilder(); } /** + * + * *
      * The taxonomy to be created.
      * 
@@ -716,11 +806,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.
      * 
@@ -728,21 +821,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); } @@ -752,12 +848,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(); } @@ -766,27 +862,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; @@ -801,6 +897,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..c4010039c650 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..28ce2d4486d5 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java @@ -0,0 +1,792 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\236\002\n\024Search" + + "CatalogRequest\022P\n\005scope\030\006 \001(\0132<.google.c" + + "loud.datacatalog.v1beta1.SearchCatalogRe" + + "quest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\002\022\021\n\t" + + "page_size\030\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + + "\022\020\n\010order_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017include_o" + + "rg_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(\013" + + "25.google.cloud.datacatalog.v1beta1.Sear" + + "chCatalogResult\022\027\n\017next_page_token\030\003 \001(\t" + + "\"\270\001\n\027CreateEntryGroupRequest\022=\n\006parent\030\001" + + " \001(\tB-\340A\002\372A\'\022%datacatalog.googleapis.com" + + "/EntryGroup\022\033\n\016entry_group_id\030\003 \001(\tB\003\340A\002" + + "\022A\n\013entry_group\030\002 \001(\0132,.google.cloud.dat" + + "acatalog.v1beta1.EntryGroup\"\222\001\n\027UpdateEn" + + "tryGroupRequest\022F\n\013entry_group\030\001 \001(\0132,.g" + + "oogle.cloud.datacatalog.v1beta1.EntryGro" + + "upB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMask\"\202\001\n\024GetEntryGroupReques" + + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.goo" + + "gleapis.com/EntryGroup\022-\n\tread_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"j\n\027DeleteE" + + "ntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + + "datacatalog.googleapis.com/EntryGroup\022\022\n" + + "\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGroupsReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" + + "g.googleapis.com/EntryGroup\022\026\n\tpage_size" + + "\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"v\n\027" + + "ListEntryGroupsResponse\022B\n\014entry_groups\030" + + "\001 \003(\0132,.google.cloud.datacatalog.v1beta1" + + ".EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n" + + "\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A\002" + + "\372A\'\n%datacatalog.googleapis.com/EntryGro" + + "up\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\022;\n\005entry\030\002 \001(\013" + + "2\'.google.cloud.datacatalog.v1beta1.Entr" + + "yB\003\340A\002\"\202\001\n\022UpdateEntryRequest\022;\n\005entry\030\001" + + " \001(\0132\'.google.cloud.datacatalog.v1beta1." + + "EntryB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\"L\n\022DeleteEntryReques" + + "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.goo" + + "gleapis.com/Entry\"I\n\017GetEntryRequest\0226\n\004" + + "name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleap" + + "is.com/Entry\"V\n\022LookupEntryRequest\022\031\n\017li" + + "nked_resource\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 " + + "\001(\tH\000B\r\n\013target_name\"\217\007\n\005Entry\0228\n\004name\030\001" + + " \001(\tB*\372A\'\n%datacatalog.googleapis.com/En" + + "tryGroup\022\027\n\017linked_resource\030\t \001(\t\022;\n\004typ" + + "e\030\002 \001(\0162+.google.cloud.datacatalog.v1bet" + + "a1.EntryTypeH\000\022\035\n\023user_specified_type\030\020 " + + "\001(\tH\000\022T\n\021integrated_system\030\021 \001(\01622.googl" + + "e.cloud.datacatalog.v1beta1.IntegratedSy" + + "stemB\003\340A\003H\001\022\037\n\025user_specified_system\030\022 \001" + + "(\tH\001\022L\n\020gcs_fileset_spec\030\006 \001(\01320.google." + + "cloud.datacatalog.v1beta1.GcsFilesetSpec" + + "H\002\022R\n\023bigquery_table_spec\030\014 \001(\01323.google" + + ".cloud.datacatalog.v1beta1.BigQueryTable" + + "SpecH\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" + + "(\01329.google.cloud.datacatalog.v1beta1.Bi" + + "gQueryDateShardedSpecH\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.datacatalog.v1beta1.Sc" + + "hema\022Y\n\030source_system_timestamps\030\007 \001(\01322" + + ".google.cloud.datacatalog.v1beta1.System" + + "TimestampsB\003\340A\003:x\352Au\n datacatalog.google" + + "apis.com/Entry\022Qprojects/{project}/locat" + + "ions/{location}/entryGroups/{entry_group" + + "}/entries/{entry}B\014\n\nentry_typeB\010\n\006syste" + + "mB\013\n\ttype_spec\"\216\002\n\nEntryGroup\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\022X\n\027data_catalog_timestamps\030\004 \001(\0132" + + "2.google.cloud.datacatalog.v1beta1.Syste" + + "mTimestampsB\003\340A\003:m\352Aj\n%datacatalog.googl" + + "eapis.com/EntryGroup\022Aprojects/{project}" + + "/locations/{location}/entryGroups/{entry" + + "_group}\"\302\001\n\030CreateTagTemplateRequest\022>\n\006" + + "parent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.google" + + "apis.com/TagTemplate\022\034\n\017tag_template_id\030" + + "\003 \001(\tB\003\340A\002\022H\n\014tag_template\030\002 \001(\0132-.googl" + + "e.cloud.datacatalog.v1beta1.TagTemplateB" + + "\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004name\030\001 " + + "\001(\tB.\340A\002\372A(\n&datacatalog.googleapis.com/" + + "TagTemplate\"\225\001\n\030UpdateTagTemplateRequest" + + "\022H\n\014tag_template\030\001 \001(\0132-.google.cloud.da" + + "tacatalog.v1beta1.TagTemplateB\003\340A\002\022/\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" + + "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" + + "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"\203\001\n\020Cr" + + "eateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036" + + "datacatalog.googleapis.com/Tag\0227\n\003tag\030\002 " + + "\001(\0132%.google.cloud.datacatalog.v1beta1.T" + + "agB\003\340A\002\"|\n\020UpdateTagRequest\0227\n\003tag\030\001 \001(\013" + + "2%.google.cloud.datacatalog.v1beta1.TagB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"H\n\020DeleteTagRequest\0224\n\004nam" + + "e\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.googleapis." + + "com/Tag\"\330\001\n\035CreateTagTemplateFieldReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.g" + + "oogleapis.com/TagTemplate\022\"\n\025tag_templat" + + "e_field_id\030\002 \001(\tB\003\340A\002\022S\n\022tag_template_fi" + + "eld\030\003 \001(\01322.google.cloud.datacatalog.v1b" + + "eta1.TagTemplateFieldB\003\340A\002\"\355\001\n\035UpdateTag" + + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022S\n\022tag_template_field\030\002 \001(\01322.go" + + "ogle.cloud.datacatalog.v1beta1.TagTempla" + + "teFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.goog" + + "le.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035RenameTag" + + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + + "A-\n+datacatalog.googleapis.com/TagTempla" + + "teField\022&\n\031new_tag_template_field_id\030\002 \001" + + "(\tB\003\340A\002\"v\n\035DeleteTagTemplateFieldRequest" + + "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.goog" + + "leapis.com/TagTemplateField\022\022\n\005force\030\002 \001" + + "(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006parent\030\001 \001" + + "(\tB&\340A\002\372A \022\036datacatalog.googleapis.com/T" + + "ag\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%.go" + + "ogle.cloud.datacatalog.v1beta1.Tag\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\251\001\n\022ListEntriesReque" + + "st\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog." + + "googleapis.com/EntryGroup\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mask\030\004 " + + "\001(\0132\032.google.protobuf.FieldMask\"h\n\023ListE" + + "ntriesResponse\0228\n\007entries\030\001 \003(\0132\'.google" + + ".cloud.datacatalog.v1beta1.Entry\022\027\n\017next" + + "_page_token\030\002 \001(\t*[\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\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2742\n\013DataC" + + "atalog\022\262\001\n\rSearchCatalog\0226.google.cloud." + + "datacatalog.v1beta1.SearchCatalogRequest" + + "\0327.google.cloud.datacatalog.v1beta1.Sear" + + "chCatalogResponse\"0\202\323\344\223\002\034\"\027/v1beta1/cata" + + "log:search:\001*\332A\013scope,query\022\352\001\n\020CreateEn" + + "tryGroup\0229.google.cloud.datacatalog.v1be" + + "ta1.CreateEntryGroupRequest\032,.google.clo" + + "ud.datacatalog.v1beta1.EntryGroup\"m\202\323\344\223\002" + + "C\"4/v1beta1/{parent=projects/*/locations" + + "/*}/entryGroups:\013entry_group\332A!parent,en" + + "try_group_id,entry_group\022\372\001\n\020UpdateEntry" + + "Group\0229.google.cloud.datacatalog.v1beta1" + + ".UpdateEntryGroupRequest\032,.google.cloud." + + "datacatalog.v1beta1.EntryGroup\"}\202\323\344\223\002O2@" + + "/v1beta1/{entry_group.name=projects/*/lo" + + "cations/*/entryGroups/*}:\013entry_group\332A\013" + + "entry_group\332A\027entry_group,update_mask\022\313\001" + + "\n\rGetEntryGroup\0226.google.cloud.datacatal" + + "og.v1beta1.GetEntryGroupRequest\032,.google" + + ".cloud.datacatalog.v1beta1.EntryGroup\"T\202" + + "\323\344\223\0026\0224/v1beta1/{name=projects/*/locatio" + + "ns/*/entryGroups/*}\332A\004name\332A\016name,read_m" + + "ask\022\252\001\n\020DeleteEntryGroup\0229.google.cloud." + + "datacatalog.v1beta1.DeleteEntryGroupRequ" + + "est\032\026.google.protobuf.Empty\"C\202\323\344\223\0026*4/v1" + + "beta1/{name=projects/*/locations/*/entry" + + "Groups/*}\332A\004name\022\315\001\n\017ListEntryGroups\0228.g" + + "oogle.cloud.datacatalog.v1beta1.ListEntr" + + "yGroupsRequest\0329.google.cloud.datacatalo" + + "g.v1beta1.ListEntryGroupsResponse\"E\202\323\344\223\002" + + "6\0224/v1beta1/{parent=projects/*/locations" + + "/*}/entryGroups\332A\006parent\022\323\001\n\013CreateEntry" + + "\0224.google.cloud.datacatalog.v1beta1.Crea" + + "teEntryRequest\032\'.google.cloud.datacatalo" + + "g.v1beta1.Entry\"e\202\323\344\223\002G\">/v1beta1/{paren" + + "t=projects/*/locations/*/entryGroups/*}/" + + "entries:\005entry\332A\025parent,entry_id,entry\022\335" + + "\001\n\013UpdateEntry\0224.google.cloud.datacatalo" + + "g.v1beta1.UpdateEntryRequest\032\'.google.cl" + + "oud.datacatalog.v1beta1.Entry\"o\202\323\344\223\002M2D/" + + "v1beta1/{entry.name=projects/*/locations" + + "/*/entryGroups/*/entries/*}:\005entry\332A\005ent" + + "ry\332A\021entry,update_mask\022\252\001\n\013DeleteEntry\0224" + + ".google.cloud.datacatalog.v1beta1.Delete" + + "EntryRequest\032\026.google.protobuf.Empty\"M\202\323" + + "\344\223\002@*>/v1beta1/{name=projects/*/location" + + "s/*/entryGroups/*/entries/*}\332A\004name\022\265\001\n\010" + + "GetEntry\0221.google.cloud.datacatalog.v1be" + + "ta1.GetEntryRequest\032\'.google.cloud.datac" + + "atalog.v1beta1.Entry\"M\202\323\344\223\002@\022>/v1beta1/{" + + "name=projects/*/locations/*/entryGroups/" + + "*/entries/*}\332A\004name\022\215\001\n\013LookupEntry\0224.go" + + "ogle.cloud.datacatalog.v1beta1.LookupEnt" + + "ryRequest\032\'.google.cloud.datacatalog.v1b" + + "eta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries:loo" + + "kup\022\313\001\n\013ListEntries\0224.google.cloud.datac" + + "atalog.v1beta1.ListEntriesRequest\0325.goog" + + "le.cloud.datacatalog.v1beta1.ListEntries" + + "Response\"O\202\323\344\223\002@\022>/v1beta1/{parent=proje" + + "cts/*/locations/*/entryGroups/*}/entries" + + "\332A\006parent\022\361\001\n\021CreateTagTemplate\022:.google" + + ".cloud.datacatalog.v1beta1.CreateTagTemp" + + "lateRequest\032-.google.cloud.datacatalog.v" + + "1beta1.TagTemplate\"q\202\323\344\223\002E\"5/v1beta1/{pa" + + "rent=projects/*/locations/*}/tagTemplate" + + "s:\014tag_template\332A#parent,tag_template_id" + + ",tag_template\022\276\001\n\016GetTagTemplate\0227.googl" + + "e.cloud.datacatalog.v1beta1.GetTagTempla" + + "teRequest\032-.google.cloud.datacatalog.v1b" + + "eta1.TagTemplate\"D\202\323\344\223\0027\0225/v1beta1/{name" + + "=projects/*/locations/*/tagTemplates/*}\332" + + "A\004name\022\203\002\n\021UpdateTagTemplate\022:.google.cl" + + "oud.datacatalog.v1beta1.UpdateTagTemplat" + + "eRequest\032-.google.cloud.datacatalog.v1be" + + "ta1.TagTemplate\"\202\001\202\323\344\223\002R2B/v1beta1/{tag_" + + "template.name=projects/*/locations/*/tag" + + "Templates/*}:\014tag_template\332A\014tag_templat" + + "e\332A\030tag_template,update_mask\022\263\001\n\021DeleteT" + + "agTemplate\022:.google.cloud.datacatalog.v1" + + "beta1.DeleteTagTemplateRequest\032\026.google." + + "protobuf.Empty\"J\202\323\344\223\0027*5/v1beta1/{name=p" + + "rojects/*/locations/*/tagTemplates/*}\332A\n" + + "name,force\022\234\002\n\026CreateTagTemplateField\022?." + + "google.cloud.datacatalog.v1beta1.CreateT" + + "agTemplateFieldRequest\0322.google.cloud.da" + + "tacatalog.v1beta1.TagTemplateField\"\214\001\202\323\344" + + "\223\002T\">/v1beta1/{parent=projects/*/locatio" + + "ns/*/tagTemplates/*}/fields:\022tag_templat" + + "e_field\332A/parent,tag_template_field_id,t" + + "ag_template_field\022\252\002\n\026UpdateTagTemplateF" + + "ield\022?.google.cloud.datacatalog.v1beta1." + + "UpdateTagTemplateFieldRequest\0322.google.c" + + "loud.datacatalog.v1beta1.TagTemplateFiel" + + "d\"\232\001\202\323\344\223\002T2>/v1beta1/{name=projects/*/lo" + + "cations/*/tagTemplates/*/fields/*}:\022tag_" + + "template_field\332A\027name,tag_template_field" + + "\332A#name,tag_template_field,update_mask\022\200" + + "\002\n\026RenameTagTemplateField\022?.google.cloud" + + ".datacatalog.v1beta1.RenameTagTemplateFi" + + "eldRequest\0322.google.cloud.datacatalog.v1" + + "beta1.TagTemplateField\"q\202\323\344\223\002J\"E/v1beta1" + + "/{name=projects/*/locations/*/tagTemplat" + + "es/*/fields/*}:rename:\001*\332A\036name,new_tag_" + + "template_field_id\022\306\001\n\026DeleteTagTemplateF" + + "ield\022?.google.cloud.datacatalog.v1beta1." + + "DeleteTagTemplateFieldRequest\032\026.google.p" + + "rotobuf.Empty\"S\202\323\344\223\002@*>/v1beta1/{name=pr" + + "ojects/*/locations/*/tagTemplates/*/fiel" + + "ds/*}\332A\nname,force\022\215\002\n\tCreateTag\0222.googl" + + "e.cloud.datacatalog.v1beta1.CreateTagReq" + + "uest\032%.google.cloud.datacatalog.v1beta1." + + "Tag\"\244\001\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects" + + "/*/locations/*/entryGroups/*/entries/*}/" + + "tags:\003tagZB\";/v1beta1/{parent=projects/*" + + "/locations/*/entryGroups/*}/tags:\003tag\332A\n" + + "parent,tag\022\240\002\n\tUpdateTag\0222.google.cloud." + + "datacatalog.v1beta1.UpdateTagRequest\032%.g" + + "oogle.cloud.datacatalog.v1beta1.Tag\"\267\001\202\323" + + "\344\223\002\230\0012I/v1beta1/{tag.name=projects/*/loc" + + "ations/*/entryGroups/*/entries/*/tags/*}" + + ":\003tagZF2?/v1beta1/{tag.name=projects/*/l" + + "ocations/*/entryGroups/*/tags/*}:\003tag\332A\003" + + "tag\332A\017tag,update_mask\022\356\001\n\tDeleteTag\0222.go" + + "ogle.cloud.datacatalog.v1beta1.DeleteTag" + + "Request\032\026.google.protobuf.Empty\"\224\001\202\323\344\223\002\206" + + "\001*E/v1beta1/{name=projects/*/locations/*" + + "/entryGroups/*/entries/*/tags/*}Z=*;/v1b" + + "eta1/{name=projects/*/locations/*/entryG" + + "roups/*/tags/*}\332A\004name\022\212\002\n\010ListTags\0221.go" + + "ogle.cloud.datacatalog.v1beta1.ListTagsR" + + "equest\0322.google.cloud.datacatalog.v1beta" + + "1.ListTagsResponse\"\226\001\202\323\344\223\002\206\001\022E/v1beta1/{" + + "parent=projects/*/locations/*/entryGroup" + + "s/*/entries/*}/tagsZ=\022;/v1beta1/{parent=" + + "projects/*/locations/*/entryGroups/*}/ta" + + "gs\332A\006parent\022\374\001\n\014SetIamPolicy\022\".google.ia" + + "m.v1.SetIamPolicyRequest\032\025.google.iam.v1" + + ".Policy\"\260\001\202\323\344\223\002\227\001\"F/v1beta1/{resource=pr" + + "ojects/*/locations/*/tagTemplates/*}:set" + + "IamPolicy:\001*ZJ\"E/v1beta1/{resource=proje" + + "cts/*/locations/*/entryGroups/*}:setIamP" + + "olicy:\001*\332A\017resource,policy\022\313\002\n\014GetIamPol" + + "icy\022\".google.iam.v1.GetIamPolicyRequest\032" + + "\025.google.iam.v1.Policy\"\377\001\202\323\344\223\002\355\001\"F/v1bet" + + "a1/{resource=projects/*/locations/*/tagT" + + "emplates/*}:getIamPolicy:\001*ZJ\"E/v1beta1/" + + "{resource=projects/*/locations/*/entryGr" + + "oups/*}:getIamPolicy:\001*ZT\"O/v1beta1/{res" + + "ource=projects/*/locations/*/entryGroups" + + "/*/entries/*}:getIamPolicy:\001*\332A\010resource" + + "\022\362\002\n\022TestIamPermissions\022(.google.iam.v1." + + "TestIamPermissionsRequest\032).google.iam.v" + + "1.TestIamPermissionsResponse\"\206\002\202\323\344\223\002\377\001\"L" + + "/v1beta1/{resource=projects/*/locations/" + + "*/tagTemplates/*}:testIamPermissions:\001*Z" + + "P\"K/v1beta1/{resource=projects/*/locatio" + + "ns/*/entryGroups/*}:testIamPermissions:\001" + + "*ZZ\"U/v1beta1/{resource=projects/*/locat" + + "ions/*/entryGroups/*/entries/*}:testIamP" + + "ermissions:\001*\032N\312A\032datacatalog.googleapis" + + ".com\322A.https://www.googleapis.com/auth/c" + + "loud-platformB\344\001\n$com.google.cloud.datac" + + "atalog.v1beta1P\001ZKgoogle.golang.org/genp" + + "roto/googleapis/cloud/datacatalog/v1beta" + + "1;datacatalog\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.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/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 28977f7cae48..08c58c368b0b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 { @@ -100,11 +126,14 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; 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 @@ -113,6 +142,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -145,8 +174,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 +184,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; } @@ -181,104 +208,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].
@@ -286,33 +320,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();
@@ -324,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_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();
     }
 
@@ -345,7 +379,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -356,38 +391,39 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -395,7 +431,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_;
         onChanged();
@@ -429,22 +467,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                force_ = input.readBool();
+
+                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) {
@@ -457,19 +498,23 @@ public Builder mergeFrom(
 
     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; @@ -478,21 +523,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 { @@ -500,69 +548,85 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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 @@ -570,37 +634,43 @@ 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. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -610,12 +680,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(); } @@ -624,27 +695,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; @@ -659,6 +730,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..d82381cd933a --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 19496fd2e476..b0c2ab744dc2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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. 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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 +293,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 +328,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,7 +349,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);
+      com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,24 @@ 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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..8992aa0b6118 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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 63% 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 d9c029e2ea06..750c6b7e2cd1 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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].
@@ -259,33 +293,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();
@@ -295,9 +328,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
@@ -316,7 +349,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);
+      com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..0590d3711502 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 62% 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 bd2a4ee5adeb..f0ab73203d1c 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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 +293,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 +328,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,7 +349,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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,24 @@ 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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..9ae8ca1f5043 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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 5bf12a992206..2602c9f32879 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -100,6 +126,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; 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.
@@ -107,6 +135,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -115,6 +144,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,8 +156,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -147,8 +176,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; @@ -158,17 +186,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; } @@ -183,104 +210,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 +323,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();
@@ -326,14 +361,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
@@ -347,7 +384,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -358,46 +396,51 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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_;
         onChanged();
@@ -431,22 +474,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                force_ = input.readBool();
+
+                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,19 +505,23 @@ public Builder mergeFrom(
 
     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; @@ -480,21 +530,24 @@ 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 { @@ -502,64 +555,79 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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.
@@ -567,6 +635,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -574,6 +643,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.
@@ -581,16 +652,19 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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.
@@ -598,17 +672,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,41 +693,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; @@ -664,9 +741,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 98d2ad383a82..d9867f76ac5e 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,35 +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/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.
@@ -37,6 +64,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 86e484207869..544ed187d21b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -100,6 +126,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * Required. Currently, this field must always be set to `true`.
    * This confirms the deletion of any possible tags using this template.
@@ -107,6 +135,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -115,6 +144,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,8 +156,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -147,8 +176,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; @@ -158,17 +186,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; } @@ -183,104 +210,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 +322,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();
@@ -326,13 +359,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();
     }
 
@@ -347,7 +381,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest(this);
       result.name_ = name_;
       result.force_ = force_;
       onBuilt();
@@ -358,38 +393,39 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -397,7 +433,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_;
         onChanged();
@@ -431,22 +469,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              force_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                force_ = input.readBool();
+
+                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,19 +500,23 @@ public Builder mergeFrom(
 
     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; @@ -480,21 +525,24 @@ 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 { @@ -502,64 +550,79 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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.
@@ -567,6 +630,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The force. */ @java.lang.Override @@ -574,6 +638,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.
@@ -581,16 +647,19 @@ public boolean getForce() {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * Required. Currently, this field must always be set to `true`.
      * This confirms the deletion of any possible tags using this template.
@@ -598,17 +667,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +688,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(); } @@ -632,27 +703,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; @@ -667,6 +738,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 52% 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 f57ffbc0afda..635c7e721aea 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,35 +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/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.
@@ -37,6 +64,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 63% 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 adf5cba7d596..fc2c32d5a5ef 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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].
@@ -259,33 +293,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();
@@ -295,9 +328,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
@@ -316,7 +349,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);
+      com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..17bbf3fd94f9 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 74% 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 e0db4beb1dc5..026e4e7aec00 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -18,15 +35,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_ = "";
@@ -36,38 +54,42 @@ private Entry() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Entry();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -83,32 +105,38 @@ 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;
   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;
     }
@@ -124,33 +152,39 @@ 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;
   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;
     }
@@ -166,27 +200,33 @@ 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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The Data Catalog resource name of the entry in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -195,6 +235,7 @@ public int getNumber() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ @java.lang.Override @@ -203,14 +244,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 Data Catalog resource name of the entry in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -219,16 +261,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.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 { @@ -239,6 +280,8 @@ public java.lang.String getName() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 9; private volatile java.lang.Object linkedResource_; /** + * + * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -252,6 +295,7 @@ public java.lang.String getName() {
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ @java.lang.Override @@ -260,14 +304,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.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -281,16 +326,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 { @@ -300,24 +344,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() { @@ -327,19 +377,22 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.valueOf( - (java.lang.Integer) entryType_); + com.google.cloud.datacatalog.v1beta1.EntryType result = + com.google.cloud.datacatalog.v1beta1.EntryType.valueOf((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; @@ -347,6 +400,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
@@ -360,12 +415,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
@@ -379,6 +437,7 @@ public boolean hasUserSpecifiedType() {
    * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ public java.lang.String getUserSpecifiedType() { @@ -389,8 +448,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; @@ -399,6 +457,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
@@ -412,18 +472,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; } @@ -435,24 +494,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() { @@ -462,26 +531,36 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = com.google.cloud.datacatalog.v1beta1.IntegratedSystem.valueOf( - (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.valueOf( + (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
@@ -491,12 +570,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
@@ -506,6 +588,7 @@ public boolean hasUserSpecifiedSystem() {
    * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ public java.lang.String getUserSpecifiedSystem() { @@ -516,8 +599,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; @@ -526,6 +608,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
@@ -535,18 +619,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; } @@ -558,12 +641,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 @@ -571,22 +657,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.
@@ -597,19 +688,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 @@ -617,22 +711,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`.
@@ -641,22 +740,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 @@ -664,35 +769,45 @@ 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(); } @@ -700,6 +815,8 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder get public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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
@@ -707,6 +824,7 @@ public com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecOrBuilder get
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -715,14 +833,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
@@ -730,16 +849,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 { @@ -750,12 +868,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -764,30 +885,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 { @@ -798,11 +919,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 @@ -810,18 +934,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.
    * 
@@ -836,6 +967,8 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() 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
@@ -843,7 +976,10 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
    * 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 @@ -851,6 +987,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 entries
@@ -858,14 +996,21 @@ public boolean hasSourceSystemTimestamps() {
    * 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
@@ -873,14 +1018,18 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
    * 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() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getSourceSystemTimestampsOrBuilder() { return getSourceSystemTimestamps(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -892,8 +1041,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -922,7 +1070,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); } 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_); @@ -946,8 +1095,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_); @@ -956,34 +1106,36 @@ 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 (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_); @@ -996,40 +1148,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.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 (!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: @@ -1037,12 +1182,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: @@ -1050,16 +1193,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: @@ -1136,97 +1276,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
@@ -1241,33 +1388,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();
@@ -1310,9 +1456,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
@@ -1331,7 +1477,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);
+      com.google.cloud.datacatalog.v1beta1.Entry result =
+          new com.google.cloud.datacatalog.v1beta1.Entry(this);
       result.name_ = name_;
       result.linkedResource_ = linkedResource_;
       if (entryTypeCase_ == 2) {
@@ -1390,38 +1537,39 @@ public com.google.cloud.datacatalog.v1beta1.Entry buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1453,51 +1601,61 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Entry other) {
         mergeSourceSystemTimestamps(other.getSourceSystemTimestamps());
       }
       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();
@@ -1525,91 +1683,98 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              int rawValue = input.readEnum();
-              entryTypeCase_ = 2;
-              entryType_ = rawValue;
-              break;
-            } // case 16
-            case 26: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 16:
+              {
+                int rawValue = input.readEnum();
+                entryTypeCase_ = 2;
+                entryType_ = rawValue;
+                break;
+              } // case 16
+            case 26:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getGcsFilesetSpecFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              typeSpecCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getSourceSystemTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getGcsFilesetSpecFieldBuilder().getBuilder(), extensionRegistry);
+                typeSpecCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(
+                    getSourceSystemTimestampsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 58
-            case 74: {
-              linkedResource_ = input.readStringRequireUtf8();
+                break;
+              } // case 58
+            case 74:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
 
-              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:
+                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:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1619,12 +1784,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() {
@@ -1636,10 +1801,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() {
@@ -1651,10 +1815,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() {
@@ -1664,9 +1827,10 @@ public Builder clearTypeSpec() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1675,13 +1839,13 @@ public Builder clearTypeSpec() {
      * 
* * string name = 1 [(.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; @@ -1690,6 +1854,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1698,15 +1864,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.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 { @@ -1714,6 +1879,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1722,20 +1889,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1744,15 +1913,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The Data Catalog resource name of the entry in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -1761,16 +1933,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1778,6 +1950,8 @@ public Builder setNameBytes( private java.lang.Object linkedResource_ = ""; /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1791,13 +1965,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; @@ -1806,6 +1980,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1819,15 +1995,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 { @@ -1835,6 +2010,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1848,20 +2025,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) { + public Builder setLinkedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; onChanged(); return this; } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1875,15 +2054,18 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 9; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); onChanged(); return this; } /** + * + * *
      * The resource this metadata entry refers to.
      * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -1897,28 +2079,31 @@ 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) { + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = value; onChanged(); 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 Whether the type field is set. */ @java.lang.Override @@ -1926,12 +2111,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 @@ -1942,12 +2130,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. */ @@ -1958,31 +2149,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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.EntryType result = com.google.cloud.datacatalog.v1beta1.EntryType.valueOf( - (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.valueOf((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. */ @@ -1996,12 +2195,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() { @@ -2014,6 +2216,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
@@ -2027,6 +2231,7 @@ public Builder clearType() {
      * 
* * string user_specified_type = 16; + * * @return Whether the userSpecifiedType field is set. */ @java.lang.Override @@ -2034,6 +2239,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
@@ -2047,6 +2254,7 @@ public boolean hasUserSpecifiedType() {
      * 
* * string user_specified_type = 16; + * * @return The userSpecifiedType. */ @java.lang.Override @@ -2056,8 +2264,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; @@ -2068,6 +2275,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
@@ -2081,19 +2290,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; } @@ -2103,6 +2311,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
@@ -2116,20 +2326,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) { + public Builder setUserSpecifiedType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryTypeCase_ = 16; + 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
@@ -2143,6 +2355,7 @@ public Builder setUserSpecifiedType(
      * 
* * string user_specified_type = 16; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedType() { @@ -2154,6 +2367,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
@@ -2167,15 +2382,15 @@ 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) { + public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryTypeCase_ = 16; entryType_ = value; onChanged(); @@ -2183,12 +2398,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 @@ -2196,12 +2416,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 @@ -2212,12 +2437,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. */ @@ -2228,35 +2458,49 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.IntegratedSystem result = com.google.cloud.datacatalog.v1beta1.IntegratedSystem.valueOf( - (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.valueOf( + (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(); } @@ -2266,12 +2510,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() { @@ -2284,6 +2533,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
@@ -2293,6 +2544,7 @@ public Builder clearIntegratedSystem() {
      * 
* * string user_specified_system = 18; + * * @return Whether the userSpecifiedSystem field is set. */ @java.lang.Override @@ -2300,6 +2552,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
@@ -2309,6 +2563,7 @@ public boolean hasUserSpecifiedSystem() {
      * 
* * string user_specified_system = 18; + * * @return The userSpecifiedSystem. */ @java.lang.Override @@ -2318,8 +2573,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; @@ -2330,6 +2584,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
@@ -2339,19 +2595,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; } @@ -2361,6 +2616,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
@@ -2370,20 +2627,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) { + public Builder setUserSpecifiedSystem(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - systemCase_ = 18; + 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
@@ -2393,6 +2652,7 @@ public Builder setUserSpecifiedSystem(
      * 
* * string user_specified_system = 18; + * * @return This builder for chaining. */ public Builder clearUserSpecifiedSystem() { @@ -2404,6 +2664,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
@@ -2413,15 +2675,15 @@ 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) { + public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); systemCase_ = 18; system_ = value; onChanged(); @@ -2429,14 +2691,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 @@ -2444,12 +2712,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 @@ -2467,6 +2738,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.
@@ -2488,6 +2761,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.
@@ -2507,6 +2782,8 @@ public Builder setGcsFilesetSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2516,10 +2793,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;
         }
@@ -2535,6 +2816,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.
@@ -2559,6 +2842,8 @@ public Builder clearGcsFilesetSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a Cloud Storage fileset. This is only valid
      * on entries of type FILESET.
@@ -2570,6 +2855,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.
@@ -2578,7 +2865,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 {
@@ -2589,6 +2877,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.
@@ -2597,33 +2887,45 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return gcsFilesetSpecBuilder_;
     }
 
     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 @@ -2631,12 +2933,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 @@ -2654,6 +2959,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`.
@@ -2661,7 +2968,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();
@@ -2675,6 +2983,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`.
@@ -2694,6 +3004,8 @@ public Builder setBigqueryTableSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2701,12 +3013,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;
         }
@@ -2722,6 +3039,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`.
@@ -2746,6 +3065,8 @@ public Builder clearBigqueryTableSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specification that applies to a BigQuery table. This is only valid on
      * entries of type `TABLE`.
@@ -2753,10 +3074,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`.
@@ -2765,7 +3089,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 {
@@ -2776,6 +3101,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`.
@@ -2784,34 +3111,48 @@ 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());
         typeSpec_ = null;
       }
       typeSpecCase_ = 12;
-      onChanged();;
+      onChanged();
+      ;
       return bigqueryTableSpecBuilder_;
     }
 
     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 @@ -2819,17 +3160,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_; @@ -2843,15 +3190,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(); @@ -2865,13 +3217,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) { @@ -2885,20 +3241,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; } @@ -2914,13 +3280,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) { @@ -2939,28 +3309,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 { @@ -2971,35 +3351,48 @@ 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()); typeSpec_ = null; } typeSpecCase_ = 15; - onChanged();; + onChanged(); + ; return bigqueryDateShardedSpecBuilder_; } 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
@@ -3007,13 +3400,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; @@ -3022,6 +3415,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
@@ -3029,15 +3424,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 { @@ -3045,6 +3439,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
@@ -3052,20 +3448,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -3073,15 +3471,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -3089,16 +3490,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -3106,19 +3507,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; @@ -3127,21 +3530,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 { @@ -3149,57 +3553,64 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3207,34 +3618,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 schemaBuilder_ != null || 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. */ 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.
      * 
@@ -3255,14 +3679,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(); onChanged(); @@ -3273,6 +3698,8 @@ public Builder setSchema( return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3283,7 +3710,9 @@ public Builder mergeSchema(com.google.cloud.datacatalog.v1beta1.Schema value) { if (schemaBuilder_ == null) { if (schema_ != null) { schema_ = - com.google.cloud.datacatalog.v1beta1.Schema.newBuilder(schema_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.Schema.newBuilder(schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -3295,6 +3724,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.
      * 
@@ -3313,6 +3744,8 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3320,11 +3753,13 @@ public Builder clearSchema() { * .google.cloud.datacatalog.v1beta1.Schema schema = 5; */ public com.google.cloud.datacatalog.v1beta1.Schema.Builder getSchemaBuilder() { - + onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Schema of the entry. An entry might not have any schema attached to it.
      * 
@@ -3335,11 +3770,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.
      * 
@@ -3347,14 +3785,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_; @@ -3362,8 +3803,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 entries
@@ -3371,13 +3817,18 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
      * 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 sourceSystemTimestampsBuilder_ != null || 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
@@ -3385,17 +3836,24 @@ public boolean hasSourceSystemTimestamps() {
      * 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
@@ -3403,9 +3861,12 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
      * 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(); @@ -3419,6 +3880,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 entries
@@ -3426,7 +3889,9 @@ public Builder setSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.Sy
      * 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) { @@ -3440,6 +3905,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 entries
@@ -3447,13 +3914,19 @@ public Builder setSourceSystemTimestamps(
      * 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 (sourceSystemTimestamps_ != null) { sourceSystemTimestamps_ = - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(sourceSystemTimestamps_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder( + sourceSystemTimestamps_) + .mergeFrom(value) + .buildPartial(); } else { sourceSystemTimestamps_ = value; } @@ -3465,6 +3938,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 entries
@@ -3472,7 +3947,9 @@ public Builder mergeSourceSystemTimestamps(com.google.cloud.datacatalog.v1beta1.
      * 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() { if (sourceSystemTimestampsBuilder_ == null) { @@ -3486,6 +3963,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 entries
@@ -3493,14 +3972,19 @@ public Builder clearSourceSystemTimestamps() {
      * 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() { + 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
@@ -3508,17 +3992,23 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder getSourceSy
      * 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
@@ -3526,24 +4016,29 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceS
      * 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3553,12 +4048,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(); } @@ -3567,27 +4062,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; @@ -3602,6 +4097,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 68% 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 929f7cda5a39..fb055070272a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +47,35 @@ private EntryGroup() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntryGroup();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the entry group in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -63,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -71,14 +93,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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -87,16 +110,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 { @@ -107,12 +129,15 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -121,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 { @@ -155,6 +180,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -162,6 +189,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -170,14 +198,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
@@ -185,16 +214,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 { @@ -205,11 +233,16 @@ 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 @@ -217,30 +250,43 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getDataCatalogTimestampsOrBuilder() { return getDataCatalogTimestamps(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -285,8 +330,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; @@ -296,23 +341,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; - - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + 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 (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; @@ -340,97 +382,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
@@ -439,33 +488,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();
@@ -485,9 +533,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
@@ -506,7 +554,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);
+      com.google.cloud.datacatalog.v1beta1.EntryGroup result =
+          new com.google.cloud.datacatalog.v1beta1.EntryGroup(this);
       result.name_ = name_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -523,38 +572,39 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -562,7 +612,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_;
         onChanged();
@@ -604,34 +655,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getDataCatalogTimestampsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getDataCatalogTimestampsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,6 +699,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -652,13 +709,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; @@ -667,6 +724,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -675,15 +734,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 { @@ -691,6 +749,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -699,20 +759,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -721,15 +783,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the entry group in URL format. Example:
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -738,16 +803,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -755,19 +820,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; @@ -776,21 +843,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 { @@ -798,57 +866,64 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -856,6 +931,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
@@ -863,13 +940,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; @@ -878,6 +955,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
@@ -885,15 +964,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 { @@ -901,6 +979,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
@@ -908,20 +988,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -929,15 +1011,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Entry group description, which can consist of several sentences or
      * paragraphs that describe entry group contents. Default value is an empty
@@ -945,16 +1030,16 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -962,41 +1047,61 @@ 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 dataCatalogTimestampsBuilder_ != null || 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. */ 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(); @@ -1010,11 +1115,15 @@ 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) { @@ -1028,17 +1137,25 @@ 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 (dataCatalogTimestamps_ != null) { dataCatalogTimestamps_ = - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(dataCatalogTimestamps_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder( + dataCatalogTimestamps_) + .mergeFrom(value) + .buildPartial(); } else { dataCatalogTimestamps_ = value; } @@ -1050,11 +1167,15 @@ 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() { if (dataCatalogTimestampsBuilder_ == null) { @@ -1068,55 +1189,73 @@ 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() { + 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); } @@ -1126,12 +1265,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(); } @@ -1140,27 +1279,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; @@ -1175,6 +1314,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 4b9c5bb03d3b..038bc51a9ee7 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -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. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
@@ -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, which can consist of several sentences or
    * paragraphs that describe entry group contents. Default value is an empty
@@ -63,10 +91,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
@@ -74,35 +105,50 @@ 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 83% 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 6df74135b557..88d58bcf9aa9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -16,10 +34,13 @@ public interface EntryOrBuilder extends
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The Data Catalog resource name of the entry in URL format. Example:
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
@@ -28,12 +49,14 @@ public interface EntryOrBuilder extends
    * 
* * string name = 1 [(.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.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -47,10 +70,13 @@ public interface EntryOrBuilder extends
    * 
* * string linked_resource = 9; + * * @return The linkedResource. */ java.lang.String getLinkedResource(); /** + * + * *
    * The resource this metadata entry refers to.
    * For Google Cloud Platform resources, `linked_resource` is the [full name of
@@ -64,43 +90,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
@@ -114,10 +151,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
@@ -131,10 +171,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
@@ -148,43 +191,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
@@ -194,10 +254,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
@@ -207,10 +270,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
@@ -220,32 +286,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.
@@ -256,26 +330,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`.
@@ -286,39 +368,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
@@ -326,10 +425,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
@@ -337,52 +439,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.
    * 
@@ -392,6 +507,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 entries
@@ -399,11 +516,16 @@ public interface EntryOrBuilder extends
    * 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
@@ -411,11 +533,16 @@ public interface EntryOrBuilder extends
    * 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
@@ -423,9 +550,12 @@ public interface EntryOrBuilder extends
    * 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(); public com.google.cloud.datacatalog.v1beta1.Entry.EntryTypeCase getEntryTypeCase(); 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..5897f1b1f061 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 343a9d4d1ab1..18b6a6c21297 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,15 +28,16 @@
  *
  * 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.EMPTY;
@@ -27,37 +45,41 @@ private ExportTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,31 +95,38 @@ 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;
   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 @@ -106,30 +135,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 { @@ -140,34 +171,48 @@ public java.lang.String getParent() { public static final int TAXONOMIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList 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 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 +220,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 +254,14 @@ public boolean hasSerializedTaxonomies() { return destinationCase_ == 3; } /** + * + * *
    * Export taxonomies as serialized taxonomies.
    * 
* * bool serialized_taxonomies = 3; + * * @return The serializedTaxonomies. */ @java.lang.Override @@ -218,6 +273,7 @@ public boolean getSerializedTaxonomies() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,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_); } @@ -238,8 +293,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 +316,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 +328,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 +366,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,96 +377,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].
@@ -423,33 +482,32 @@ 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();
@@ -463,13 +521,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_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();
     }
 
@@ -484,7 +543,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest(this);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -504,38 +564,39 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -543,7 +604,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_;
         onChanged();
@@ -559,13 +622,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();
@@ -593,28 +658,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -624,12 +693,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() {
@@ -643,19 +712,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; @@ -664,21 +737,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 { @@ -686,98 +762,127 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList taxonomies_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList taxonomies_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTaxonomiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { taxonomies_ = new com.google.protobuf.LazyStringArrayList(taxonomies_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -785,80 +890,100 @@ 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) { + public Builder setTaxonomies(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.set(index, value); 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 taxonomies to add. * @return This builder for chaining. */ - public Builder addTaxonomies( - java.lang.String value) { + public Builder addTaxonomies(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTaxonomiesIsMutable(); + throw new NullPointerException(); + } + ensureTaxonomiesIsMutable(); taxonomies_.add(value); 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 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_); 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() { @@ -868,20 +993,24 @@ public Builder clearTaxonomies() { 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) { + public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTaxonomiesIsMutable(); taxonomies_.add(value); onChanged(); @@ -889,22 +1018,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() { @@ -914,11 +1049,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. */ @@ -929,11 +1067,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() { @@ -944,9 +1085,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); } @@ -956,12 +1097,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(); } @@ -970,27 +1112,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; @@ -1005,6 +1147,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 52% 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 d5a6b41caf68..23552979f869 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,93 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); - public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.DestinationCase getDestinationCase(); + public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesRequest.DestinationCase + getDestinationCase(); } 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 8304d6f2c367..04226d1a8eed 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -59,10 +80,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.
    * 
@@ -70,11 +94,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.
    * 
@@ -86,6 +112,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -97,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int return taxonomies_.get(index); } /** + * + * *
    * List of taxonomies and policy tags in a tree structure.
    * 
@@ -110,6 +140,7 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +152,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -136,8 +166,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; @@ -147,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -177,96 +206,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].
@@ -274,33 +311,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();
@@ -315,13 +351,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();
     }
 
@@ -336,7 +373,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -355,38 +393,39 @@ public com.google.cloud.datacatalog.v1beta1.ExportTaxonomiesResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -394,7 +433,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()) {
@@ -413,9 +454,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_);
           }
@@ -447,25 +489,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) {
@@ -475,28 +519,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 { @@ -504,6 +558,8 @@ public java.util.List g } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -518,6 +574,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -532,6 +590,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy getTaxonomies(int } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -553,6 +613,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -560,7 +622,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()); @@ -571,6 +634,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -591,6 +656,8 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1beta1.SerializedTaxo return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -612,6 +679,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -630,6 +699,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -637,7 +708,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()); @@ -648,6 +720,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -655,11 +729,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); @@ -667,6 +741,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -684,6 +760,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -701,6 +779,8 @@ public Builder removeTaxonomies(int index) { return this; } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -712,6 +792,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy.Builder getTaxono return getTaxonomiesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -721,19 +803,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 { @@ -741,6 +827,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } } /** + * + * *
      * List of taxonomies and policy tags in a tree structure.
      * 
@@ -748,10 +836,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.
      * 
@@ -760,37 +850,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); } @@ -800,12 +896,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(); } @@ -814,27 +911,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; @@ -849,6 +946,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..b67be4be6f8a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 70% 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 54b1690842d8..147a70b94662 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,54 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
      * 
@@ -57,6 +70,8 @@ public enum PrimitiveType */ PRIMITIVE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A double precision number.
      * 
@@ -65,6 +80,8 @@ public enum PrimitiveType */ DOUBLE(1), /** + * + * *
      * An UTF-8 string.
      * 
@@ -73,6 +90,8 @@ public enum PrimitiveType */ STRING(2), /** + * + * *
      * A boolean value.
      * 
@@ -81,6 +100,8 @@ public enum PrimitiveType */ BOOL(3), /** + * + * *
      * A timestamp.
      * 
@@ -92,6 +113,8 @@ public enum PrimitiveType ; /** + * + * *
      * This is the default invalid value for a type.
      * 
@@ -100,6 +123,8 @@ public enum PrimitiveType */ public static final int PRIMITIVE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A double precision number.
      * 
@@ -108,6 +133,8 @@ public enum PrimitiveType */ public static final int DOUBLE_VALUE = 1; /** + * + * *
      * An UTF-8 string.
      * 
@@ -116,6 +143,8 @@ public enum PrimitiveType */ public static final int STRING_VALUE = 2; /** + * + * *
      * A boolean value.
      * 
@@ -124,6 +153,8 @@ public enum PrimitiveType */ public static final int BOOL_VALUE = 3; /** + * + * *
      * A timestamp.
      * 
@@ -132,7 +163,6 @@ public enum PrimitiveType */ public static final int TIMESTAMP_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -157,51 +187,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; @@ -218,11 +250,14 @@ 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
@@ -232,11 +267,15 @@ public interface EnumTypeOrBuilder extends
      * 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
@@ -246,10 +285,14 @@ public interface EnumTypeOrBuilder extends
      * 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
@@ -259,10 +302,14 @@ public interface EnumTypeOrBuilder extends
      * 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
@@ -272,11 +319,16 @@ public interface EnumTypeOrBuilder extends
      * 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< + ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> 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
@@ -286,125 +338,136 @@ public interface EnumTypeOrBuilder extends
      * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -413,29 +476,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; } } /** + * + * *
        * 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 { @@ -444,6 +507,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -455,8 +519,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -480,15 +543,15 @@ public int getSerializedSize() { @java.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; } @@ -508,87 +571,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 @@ -597,36 +669,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(); @@ -636,14 +707,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 @@ -657,7 +730,8 @@ 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); + com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue result = + new com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -667,46 +741,53 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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_; onChanged(); @@ -737,17 +818,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + 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) { @@ -760,18 +843,20 @@ public Builder mergeFrom( 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; @@ -780,20 +865,21 @@ 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 { @@ -801,58 +887,66 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -865,41 +959,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; @@ -911,15 +1008,18 @@ 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; - 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
@@ -929,13 +1029,18 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getDefa
      * 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
@@ -945,14 +1050,19 @@ public java.util.List
      *
-     * 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_;
     }
     /**
+     *
+     *
      * 
      * 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
@@ -962,13 +1072,17 @@ public java.util.List
      *
-     * 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
@@ -978,13 +1092,18 @@ public int getAllowedValuesCount() {
      * 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
@@ -994,15 +1113,18 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo
      * 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; @@ -1014,8 +1136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -1029,8 +1150,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; @@ -1040,15 +1160,15 @@ public int getSerializedSize() { @java.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; } @@ -1070,87 +1190,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 @@ -1159,36 +1286,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(); @@ -1203,9 +1328,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 @@ -1224,7 +1349,8 @@ 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); int from_bitField0_ = bitField0_; if (allowedValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1243,38 +1369,41 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -1282,7 +1411,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()) { @@ -1301,9 +1431,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_); } @@ -1335,25 +1466,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) { @@ -1363,21 +1497,31 @@ 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_; /** + * + * *
        * 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
@@ -1387,9 +1531,12 @@ private void ensureAllowedValuesIsMutable() {
        * 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 { @@ -1397,6 +1544,8 @@ public java.util.List * 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 @@ -1406,7 +1555,9 @@ public java.util.List * - * 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) { @@ -1416,6 +1567,8 @@ 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
@@ -1425,9 +1578,12 @@ public int getAllowedValuesCount() {
        * 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 { @@ -1435,6 +1591,8 @@ 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
@@ -1444,7 +1602,9 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo
        * 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) { @@ -1461,6 +1621,8 @@ 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
@@ -1470,10 +1632,14 @@ public Builder setAllowedValues(
        * 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()); @@ -1484,6 +1650,8 @@ 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
@@ -1493,9 +1661,12 @@ public Builder setAllowedValues(
        * 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(); @@ -1509,6 +1680,8 @@ public Builder addAllowedValues(com.google.cloud.datacatalog.v1beta1.FieldType.E 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
@@ -1518,7 +1691,9 @@ public Builder addAllowedValues(com.google.cloud.datacatalog.v1beta1.FieldType.E
        * 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) { @@ -1535,6 +1710,8 @@ 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
@@ -1544,10 +1721,13 @@ public Builder addAllowedValues(
        * 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()); @@ -1558,6 +1738,8 @@ 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
@@ -1567,10 +1749,14 @@ public Builder addAllowedValues(
        * 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()); @@ -1581,6 +1767,8 @@ 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
@@ -1590,14 +1778,17 @@ public Builder addAllowedValues(
        * 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 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); @@ -1605,6 +1796,8 @@ 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
@@ -1614,7 +1807,9 @@ public Builder addAllAllowedValues(
        * 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) { @@ -1627,6 +1822,8 @@ 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
@@ -1636,7 +1833,9 @@ public Builder clearAllowedValues() {
        * 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) { @@ -1649,6 +1848,8 @@ 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
@@ -1658,13 +1859,17 @@ public Builder removeAllowedValues(int index) {
        * 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
@@ -1674,16 +1879,21 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder
        * 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
@@ -1693,10 +1903,13 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilde
        * 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 - getAllowedValuesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> + getAllowedValuesOrBuilderList() { if (allowedValuesBuilder_ != null) { return allowedValuesBuilder_.getMessageOrBuilderList(); } else { @@ -1704,6 +1917,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilde } } /** + * + * *
        * 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
@@ -1713,13 +1928,20 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilde
        * 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
@@ -1729,14 +1951,21 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder
        * 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
@@ -1746,18 +1975,27 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue.Builder
        * 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 - 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(), @@ -1766,6 +2004,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) { @@ -1778,12 +2017,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(); } @@ -1792,27 +2031,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; @@ -1827,18 +2067,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeDeclCase_ = 0; 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; } @@ -1854,41 +2096,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() { @@ -1898,30 +2149,39 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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 @@ -1929,21 +2189,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.
    * 
@@ -1953,12 +2218,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; @@ -1970,8 +2236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeDeclCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) typeDecl_)); } @@ -1988,12 +2253,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; @@ -2003,22 +2269,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: @@ -2051,126 +2316,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(); @@ -2183,9 +2450,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 @@ -2204,7 +2471,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); + com.google.cloud.datacatalog.v1beta1.FieldType result = + new com.google.cloud.datacatalog.v1beta1.FieldType(this); if (typeDeclCase_ == 1) { result.typeDecl_ = typeDecl_; } @@ -2224,38 +2492,39 @@ public com.google.cloud.datacatalog.v1beta1.FieldType buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -2265,17 +2534,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(); @@ -2303,25 +2575,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) { @@ -2331,12 +2604,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() { @@ -2346,13 +2619,15 @@ public Builder clearTypeDecl() { return this; } - /** + * + * *
      * 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 @@ -2360,11 +2635,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 @@ -2375,11 +2653,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. */ @@ -2390,33 +2671,44 @@ 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) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType result = com.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType.valueOf( - (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.valueOf( + (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(); } @@ -2426,11 +2718,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() { @@ -2443,13 +2738,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 @@ -2457,11 +2758,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 @@ -2479,6 +2783,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType getEnumType() { } } /** + * + * *
      * Represents an enum type.
      * 
@@ -2499,6 +2805,8 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.EnumTy return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2517,6 +2825,8 @@ public Builder setEnumType( return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2525,10 +2835,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; } @@ -2544,6 +2858,8 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1beta1.FieldType.Enum return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2567,6 +2883,8 @@ public Builder clearEnumType() { return this; } /** + * + * *
      * Represents an enum type.
      * 
@@ -2577,6 +2895,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.Builder getEnumTy return getEnumTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Represents an enum type.
      * 
@@ -2595,6 +2915,8 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumTypeOrBuilder getEnumT } } /** + * + * *
      * Represents an enum type.
      * 
@@ -2602,26 +2924,32 @@ 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()); typeDecl_ = null; } typeDeclCase_ = 2; - onChanged();; + 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); } @@ -2631,12 +2959,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(); } @@ -2645,27 +2973,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; @@ -2680,6 +3008,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 bfee0b6eb9f9..e456b8dd3cdf 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 6218990aeb1d..96907b03bd78 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,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -64,29 +86,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 { @@ -97,11 +119,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 @@ -109,37 +136,52 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getGcsTimestampsOrBuilder() { return getGcsTimestamps(); } public static final int SIZE_BYTES_FIELD_NUMBER = 4; 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 @@ -148,6 +190,7 @@ public long getSizeBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } @@ -183,12 +225,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; @@ -198,22 +238,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; } @@ -232,137 +270,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(); @@ -380,9 +423,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 @@ -401,7 +444,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); + com.google.cloud.datacatalog.v1beta1.GcsFileSpec result = + new com.google.cloud.datacatalog.v1beta1.GcsFileSpec(this); result.filePath_ = filePath_; if (gcsTimestampsBuilder_ == null) { result.gcsTimestamps_ = gcsTimestamps_; @@ -417,38 +461,39 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -456,7 +501,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_; onChanged(); @@ -493,29 +539,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - filePath_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getGcsTimestampsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 32: { - sizeBytes_ = input.readInt64(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + filePath_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getGcsTimestampsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 32: + { + sizeBytes_ = input.readInt64(); + + 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) { @@ -528,18 +576,20 @@ public Builder mergeFrom( 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; @@ -548,20 +598,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 { @@ -569,54 +620,61 @@ 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) { + public Builder setFilePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; 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() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); 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) { + public Builder setFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; @@ -624,39 +682,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 gcsTimestampsBuilder_ != null || 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. */ 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) { @@ -672,11 +749,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) { @@ -690,17 +771,23 @@ 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 (gcsTimestamps_ != null) { gcsTimestamps_ = - com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(gcsTimestamps_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.newBuilder(gcsTimestamps_) + .mergeFrom(value) + .buildPartial(); } else { gcsTimestamps_ = value; } @@ -712,11 +799,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() { if (gcsTimestampsBuilder_ == null) { @@ -730,60 +821,80 @@ 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() { - + onChanged(); 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 @@ -791,37 +902,43 @@ 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. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); 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() { - + sizeBytes_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -831,12 +948,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(); } @@ -845,27 +962,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; @@ -880,6 +997,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..0e1efbc23636 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 9f50177eadf3..2617472d5e8c 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,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; sampleGcsFileSpecs_ = java.util.Collections.emptyList(); @@ -26,32 +44,35 @@ private GcsFilesetSpec() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsFilesetSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private com.google.protobuf.LazyStringList filePatterns_; /** + * + * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
    * See [Cloud Storage
@@ -80,13 +101,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
@@ -115,12 +138,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
@@ -149,6 +175,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. */ @@ -156,6 +183,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
@@ -184,72 +213,93 @@ 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; 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( @@ -258,6 +308,7 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,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 { for (int i = 0; i < filePatterns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePatterns_.getRaw(i)); } @@ -295,8 +345,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; @@ -306,17 +356,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; } @@ -342,129 +391,135 @@ 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(); @@ -481,9 +536,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 @@ -502,7 +557,8 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { filePatterns_ = filePatterns_.getUnmodifiableView(); @@ -526,38 +582,39 @@ public com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -565,7 +622,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_; @@ -594,9 +652,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_); } @@ -628,31 +687,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) { @@ -662,16 +724,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList filePatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList filePatterns_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFilePatternsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filePatterns_ = new com.google.protobuf.LazyStringArrayList(filePatterns_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -700,13 +767,15 @@ 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() { return filePatterns_.getUnmodifiableView(); } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -735,12 +804,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
@@ -769,6 +841,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. */ @@ -776,6 +849,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
@@ -804,14 +879,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
@@ -840,21 +917,23 @@ 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) { + public Builder setFilePatterns(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -883,20 +962,22 @@ 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) { + public Builder addFilePatterns(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFilePatternsIsMutable(); + throw new NullPointerException(); + } + ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -925,18 +1006,19 @@ 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_); onChanged(); return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -965,6 +1047,7 @@ public Builder addAllFilePatterns(
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilePatterns() { @@ -974,6 +1057,8 @@ public Builder clearFilePatterns() { return this; } /** + * + * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
      * See [Cloud Storage
@@ -1002,15 +1087,15 @@ 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) { + public Builder addFilePatternsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFilePatternsIsMutable(); filePatterns_.add(value); onChanged(); @@ -1018,26 +1103,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 { @@ -1045,12 +1141,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) { @@ -1060,12 +1160,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) { @@ -1075,12 +1179,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) { @@ -1097,12 +1205,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) { @@ -1116,12 +1228,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) { @@ -1137,12 +1253,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) { @@ -1159,12 +1279,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) { @@ -1178,12 +1302,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) { @@ -1197,19 +1325,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); @@ -1217,12 +1348,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) { @@ -1235,12 +1370,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) { @@ -1253,42 +1392,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 { @@ -1296,48 +1448,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(), @@ -1346,9 +1516,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); } @@ -1358,12 +1528,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(); } @@ -1372,27 +1542,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; @@ -1407,6 +1577,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 d5515ef2585d..7f1e9f9ff8dc 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -36,11 +54,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
@@ -69,10 +89,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
@@ -101,11 +124,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
@@ -134,57 +160,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..064dcb180e9b --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\177\n\016GcsFilesetSpec\022\032\n\rfil" + + "e_patterns\030\001 \003(\tB\003\340A\002\022Q\n\025sample_gcs_file" + + "_specs\030\002 \003(\0132-.google.cloud.datacatalog." + + "v1beta1.GcsFileSpecB\003\340A\003\"\217\001\n\013GcsFileSpec" + + "\022\026\n\tfile_path\030\001 \001(\tB\003\340A\002\022O\n\016gcs_timestam" + + "ps\030\002 \001(\01322.google.cloud.datacatalog.v1be" + + "ta1.SystemTimestampsB\003\340A\003\022\027\n\nsize_bytes\030" + + "\004 \001(\003B\003\340A\003B\344\001\n$com.google.cloud.datacata" + + "log.v1beta1P\001ZKgoogle.golang.org/genprot" + + "o/googleapis/cloud/datacatalog/v1beta1;d" + + "atacatalog\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(), + 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 a43558d4854b..541711256839 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 { @@ -100,11 +126,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 @@ -112,11 +141,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 @@ -124,6 +156,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.
    * 
@@ -136,6 +170,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -168,8 +202,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; @@ -179,19 +212,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; @@ -216,96 +248,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].
@@ -313,33 +353,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();
@@ -355,9 +394,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
@@ -376,7 +415,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);
+      com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest(this);
       result.name_ = name_;
       if (readMaskBuilder_ == null) {
         result.readMask_ = readMask_;
@@ -391,38 +431,39 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -430,7 +471,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_;
         onChanged();
@@ -464,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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,19 +537,23 @@ public Builder mergeFrom(
 
     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; @@ -515,21 +562,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 { @@ -537,57 +587,70 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -595,24 +658,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 readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * 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() { @@ -623,6 +695,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -643,14 +717,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(); onChanged(); @@ -661,6 +736,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -671,7 +748,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -683,6 +760,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -701,6 +780,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -708,11 +789,13 @@ public Builder clearReadMask() { * .google.protobuf.FieldMask read_mask = 2; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The fields to return. If not set or empty, all fields are returned.
      * 
@@ -723,11 +806,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.
      * 
@@ -735,21 +819,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); } @@ -759,12 +846,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(); } @@ -773,27 +860,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; @@ -808,6 +895,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..6730c6d500c4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 62% 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 665507da4b35..24606ae47f37 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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. 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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 +292,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 +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_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,7 +348,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);
+      com.google.cloud.datacatalog.v1beta1.GetEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetEntryRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +359,39 @@ public com.google.cloud.datacatalog.v1beta1.GetEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +399,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_;
         onChanged();
@@ -396,17 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +456,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +481,24 @@ 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 { @@ -462,64 +506,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +586,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(); } @@ -543,27 +600,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; @@ -578,6 +635,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..f1f18671ef14 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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 62% 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 bc2a65f67e2f..835da810c7d9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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. 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +291,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();
@@ -293,9 +326,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
@@ -314,7 +347,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);
+      com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +358,39 @@ public com.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +398,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_;
         onChanged();
@@ -394,17 +430,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +455,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +479,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 { @@ -458,61 +503,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +580,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(); } @@ -536,27 +594,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; @@ -571,6 +629,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..87fe836c4e10 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 62% 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 6d74348bd643..f4c56b332368 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -98,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -162,96 +188,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 +293,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 +328,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,7 +349,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);
+      com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -326,38 +360,39 @@ public com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -365,7 +400,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_;
         onChanged();
@@ -396,17 +432,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +457,23 @@ public Builder mergeFrom(
 
     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; @@ -440,21 +482,24 @@ 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 { @@ -462,64 +507,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +587,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(); } @@ -543,27 +601,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; @@ -578,6 +636,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..84e4c944c22d --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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 62% 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 03c32b584cf9..c65856117c17 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,59 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -65,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. 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 { @@ -96,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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 +158,15 @@ public int getSerializedSize() { @java.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; } @@ -160,96 +186,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].
@@ -257,33 +291,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();
@@ -293,9 +326,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
@@ -314,7 +347,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);
+      com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -324,38 +358,39 @@ public com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -363,7 +398,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_;
         onChanged();
@@ -394,17 +430,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +455,22 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +479,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 { @@ -458,61 +503,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +580,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(); } @@ -536,27 +594,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; @@ -571,6 +629,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..29d70364bf00 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 67% 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 b50403c191b2..27e2fae1fccb 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -72,31 +94,38 @@ 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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -105,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 project that the newly created 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 { @@ -138,11 +169,14 @@ public java.lang.String getParent() { public static final int INLINE_SOURCE_FIELD_NUMBER = 2; /** + * + * *
    * Inline source used for taxonomies import
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -150,21 +184,26 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** + * + * *
    * Inline source used for taxonomies import
    * 
* * .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
    * 
@@ -174,12 +213,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; @@ -191,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,8 +251,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; @@ -223,20 +263,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: @@ -268,96 +307,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].
@@ -365,33 +412,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();
@@ -406,13 +452,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();
     }
 
@@ -427,7 +474,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest(this);
       result.parent_ = parent_;
       if (sourceCase_ == 2) {
         if (inlineSourceBuilder_ == null) {
@@ -445,38 +493,39 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -484,19 +533,23 @@ 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_;
         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();
@@ -524,24 +577,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              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();
+
+                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) {
@@ -551,12 +605,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-    public SourceCase
-        getSourceCase() {
-      return SourceCase.forNumber(
-          sourceCase_);
+
+    public SourceCase getSourceCase() {
+      return SourceCase.forNumber(sourceCase_);
     }
 
     public Builder clearSource() {
@@ -566,22 +620,25 @@ public Builder clearSource() {
       return this;
     }
 
-
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * 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) = { ... } + * + * 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; @@ -590,21 +647,24 @@ public 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) = { ... } + * + * 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 { @@ -612,70 +672,89 @@ public 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of project that the newly created 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * 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) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.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
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return Whether the inlineSource field is set. */ @java.lang.Override @@ -683,11 +762,14 @@ public boolean hasInlineSource() { return sourceCase_ == 2; } /** + * + * *
      * Inline source used for taxonomies import
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; + * * @return The inlineSource. */ @java.lang.Override @@ -705,6 +787,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { } } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -725,6 +809,8 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource return this; } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -743,6 +829,8 @@ public Builder setInlineSource( return this; } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -751,10 +839,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; } @@ -770,6 +861,8 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSour return this; } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -793,6 +886,8 @@ public Builder clearInlineSource() { return this; } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -803,6 +898,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource.Builder getInlineSource return getInlineSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -821,6 +918,8 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc } } /** + * + * *
      * Inline source used for taxonomies import
      * 
@@ -828,26 +927,32 @@ 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()); source_ = null; } sourceCase_ = 2; - onChanged();; + 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); } @@ -857,12 +962,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(); } @@ -871,27 +977,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; @@ -906,6 +1012,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 200133affa49..4eaad6dd63b4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 newly created 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 newly created 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 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
    * 
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 8123596e13dc..37e07a0fcdd9 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Taxonomies that were imported.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTaxonomi return taxonomies_; } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -70,11 +93,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.
    * 
@@ -86,6 +111,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Taxonomies that were imported.
    * 
@@ -104,12 +133,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; @@ -121,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -136,8 +164,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; @@ -147,15 +174,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -177,96 +204,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].
@@ -274,33 +309,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();
@@ -315,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_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();
     }
 
@@ -336,7 +371,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -355,38 +391,39 @@ public com.google.cloud.datacatalog.v1beta1.ImportTaxonomiesResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -394,7 +431,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()) {
@@ -413,9 +452,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_);
           }
@@ -447,25 +487,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) {
@@ -475,21 +516,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.
      * 
@@ -504,6 +553,8 @@ public java.util.List getTaxonomi } } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -518,6 +569,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -532,14 +585,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(); @@ -553,6 +607,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -571,6 +627,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -591,14 +649,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(); @@ -612,6 +671,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -630,6 +691,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -648,6 +711,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -658,8 +723,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); @@ -667,6 +731,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -684,6 +750,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -701,17 +769,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.
      * 
@@ -721,19 +792,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 { @@ -741,6 +815,8 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** + * + * *
      * Taxonomies that were imported.
      * 
@@ -748,49 +824,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); } @@ -800,12 +882,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(); } @@ -814,27 +897,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; @@ -849,6 +932,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..057967288e51 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f5992dc8a1d0..ed6a3d04540c 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,106 +1,146 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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( @@ -109,6 +149,7 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomyOrBuilder getTaxon } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,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 < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -135,8 +175,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; @@ -146,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.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; } @@ -176,129 +215,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(); @@ -313,9 +358,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 @@ -334,7 +379,8 @@ 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); int from_bitField0_ = bitField0_; if (taxonomiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -353,38 +399,39 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -392,7 +439,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()) { @@ -411,9 +459,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_); } @@ -445,25 +494,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) { @@ -473,28 +524,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 { @@ -502,11 +565,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) { @@ -516,11 +583,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) { @@ -530,11 +601,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) { @@ -551,14 +626,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()); @@ -569,11 +649,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) { @@ -589,11 +673,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) { @@ -610,11 +698,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) { @@ -628,14 +720,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()); @@ -646,18 +743,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); @@ -665,11 +766,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) { @@ -682,11 +787,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) { @@ -699,39 +808,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 { @@ -739,56 +862,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); } @@ -798,12 +937,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(); } @@ -812,27 +951,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; @@ -847,6 +986,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..f95d8c6f3107 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..9d76441b88ff 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 8dc9614caba2..57a566458409 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +45,45 @@ private ListEntriesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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:
    * * 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 @@ -68,31 +92,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, which can
    * be provided in URL format. Example:
    * * 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 { @@ -103,12 +129,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -119,12 +148,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -133,30 +165,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 { @@ -167,6 +199,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.
@@ -175,6 +209,7 @@ public java.lang.String getPageToken() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -182,6 +217,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * The fields to return for each Entry. If not set or empty, all
    * fields are returned.
@@ -190,6 +227,7 @@ public boolean hasReadMask() {
    * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ @java.lang.Override @@ -197,6 +235,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.
@@ -212,6 +252,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,8 +264,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -250,15 +290,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 +306,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;
@@ -313,96 +348,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].
@@ -410,33 +453,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();
@@ -456,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_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
@@ -477,7 +519,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);
+      com.google.cloud.datacatalog.v1beta1.ListEntriesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -494,38 +537,39 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -533,7 +577,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_;
         onChanged();
@@ -574,34 +619,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getReadMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -614,20 +662,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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; @@ -636,22 +688,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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 { @@ -659,73 +714,89 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the entry group that contains the entries, which can
      * be provided in URL format. Example:
      * * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -733,32 +804,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -766,19 +843,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; @@ -787,21 +866,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 { @@ -809,57 +889,64 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -867,8 +954,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.
@@ -877,12 +969,15 @@ public Builder setPageTokenBytes(
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -891,6 +986,7 @@ public boolean hasReadMask() {
      * 
* * .google.protobuf.FieldMask read_mask = 4; + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -901,6 +997,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -924,6 +1022,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.
@@ -933,8 +1033,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();
         onChanged();
@@ -945,6 +1044,8 @@ public Builder setReadMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -958,7 +1059,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
       if (readMaskBuilder_ == null) {
         if (readMask_ != null) {
           readMask_ =
-            com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
         } else {
           readMask_ = value;
         }
@@ -970,6 +1071,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.
@@ -991,6 +1094,8 @@ public Builder clearReadMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1001,11 +1106,13 @@ public Builder clearReadMask() {
      * .google.protobuf.FieldMask read_mask = 4;
      */
     public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
-      
+
       onChanged();
       return getReadMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return for each Entry. If not set or empty, all
      * fields are returned.
@@ -1019,11 +1126,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.
@@ -1034,21 +1142,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);
     }
 
@@ -1058,12 +1169,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();
   }
@@ -1072,27 +1183,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;
@@ -1107,6 +1218,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 1f59f81b04d3..a97b5cf31ec6 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,70 +1,105 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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:
    * * 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:
    * * 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.
@@ -73,10 +108,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.
@@ -85,10 +123,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 c562cd67e188..5a974020c861 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,32 +45,35 @@ private ListEntriesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntriesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * Entry details.
    * 
@@ -64,6 +85,8 @@ public java.util.List getEntriesList return entries_; } /** + * + * *
    * Entry details.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getEntriesCount() { return entries_.size(); } /** + * + * *
    * Entry details.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * Entry details.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entriesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +624,8 @@ public java.util.List getEntriesList } } /** + * + * *
      * Entry details.
      * 
@@ -589,6 +640,8 @@ public int getEntriesCount() { } } /** + * + * *
      * Entry details.
      * 
@@ -603,14 +656,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(); @@ -624,6 +678,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -642,6 +698,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -662,14 +720,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(); @@ -683,14 +742,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()); @@ -701,6 +761,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -719,6 +781,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -729,8 +793,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); @@ -738,6 +801,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * Entry details.
      * 
@@ -755,6 +820,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * Entry details.
      * 
@@ -772,39 +839,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 { @@ -812,6 +884,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder( } } /** + * + * *
      * Entry details.
      * 
@@ -819,42 +893,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_; @@ -862,19 +942,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; @@ -883,21 +965,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 { @@ -905,64 +988,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1062,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(); } @@ -986,27 +1076,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; @@ -1021,6 +1111,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..e72d0809f5b2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 2881133d07ef..cd92dc6b5d76 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +45,45 @@ private ListEntryGroupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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:
    * * 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 @@ -68,31 +92,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, 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 { @@ -103,12 +129,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -119,12 +148,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -133,30 +165,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 { @@ -165,6 +197,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,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_); } @@ -200,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_); @@ -214,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.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; } @@ -250,96 +279,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].
@@ -347,33 +384,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();
@@ -387,9 +423,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
@@ -408,7 +444,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);
+      com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -420,38 +457,39 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -459,7 +497,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_;
         onChanged();
@@ -497,27 +536,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -530,20 +573,24 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * 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; @@ -552,22 +599,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * 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 { @@ -575,73 +625,89 @@ public java.lang.String getParent() { } } /** + * + * *
      * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -649,32 +715,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -682,19 +754,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; @@ -703,21 +777,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 { @@ -725,64 +800,71 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -792,12 +874,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(); } @@ -806,27 +888,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; @@ -841,6 +923,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 60% 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 88eae942154d..01f2caf547cb 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,66 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * 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:
    * * 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 066a3d3c2bc4..de05d1dccb48 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListEntryGroupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListEntryGroupsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List entryGroups_;
   /**
+   *
+   *
    * 
    * EntryGroup details.
    * 
@@ -64,6 +85,8 @@ public java.util.List getEntryG return entryGroups_; } /** + * + * *
    * EntryGroup details.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getEntryGroupsCount() { return entryGroups_.size(); } /** + * + * *
    * EntryGroup details.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) return entryGroups_.get(index); } /** + * + * *
    * EntryGroup details.
    * 
@@ -113,12 +142,15 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -127,30 +159,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 { @@ -159,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entryGroups_.size(); i++) { output.writeMessage(1, entryGroups_.get(i)); } @@ -188,8 +220,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_); @@ -202,17 +233,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; } @@ -236,96 +266,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].
@@ -333,33 +371,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();
@@ -376,13 +413,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();
     }
 
@@ -397,7 +435,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (entryGroupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +456,39 @@ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +496,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()) {
@@ -475,9 +517,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_);
           }
@@ -513,30 +556,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +592,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.
      * 
@@ -575,6 +629,8 @@ public java.util.List getEntryG } } /** + * + * *
      * EntryGroup details.
      * 
@@ -589,6 +645,8 @@ public int getEntryGroupsCount() { } } /** + * + * *
      * EntryGroup details.
      * 
@@ -603,6 +661,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) } } /** + * + * *
      * EntryGroup details.
      * 
@@ -624,6 +684,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -642,6 +704,8 @@ public Builder setEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -662,6 +726,8 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1beta1.EntryGroup va return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -683,6 +749,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -701,6 +769,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -719,6 +789,8 @@ public Builder addEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -729,8 +801,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); @@ -738,6 +809,8 @@ public Builder addAllEntryGroups( return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -755,6 +828,8 @@ public Builder clearEntryGroups() { return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -772,6 +847,8 @@ public Builder removeEntryGroups(int index) { return this; } /** + * + * *
      * EntryGroup details.
      * 
@@ -783,6 +860,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBui return getEntryGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * EntryGroup details.
      * 
@@ -792,19 +871,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 { @@ -812,6 +894,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOr } } /** + * + * *
      * EntryGroup details.
      * 
@@ -819,10 +903,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.
      * 
@@ -831,30 +917,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_; @@ -862,19 +953,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; @@ -883,21 +976,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 { @@ -905,64 +999,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1073,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(); } @@ -986,27 +1088,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; @@ -1021,6 +1123,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..3efe7d0f23b3 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 91d0dd29bbb5..27e0c213ff71 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,37 +45,43 @@ private ListPolicyTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,29 +90,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 { @@ -99,12 +125,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -115,12 +144,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -129,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 { @@ -161,6 +193,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -196,8 +228,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_); @@ -210,19 +241,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -246,96 +275,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].
@@ -343,33 +380,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();
@@ -383,9 +419,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
@@ -404,7 +440,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);
+      com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -416,38 +453,39 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -455,7 +493,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_;
         onChanged();
@@ -493,27 +532,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -526,18 +569,22 @@ public Builder mergeFrom(
 
     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; @@ -546,20 +593,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 { @@ -567,67 +617,83 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -635,32 +701,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -668,19 +740,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; @@ -689,21 +763,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 { @@ -711,64 +786,71 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +860,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(); } @@ -792,27 +874,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; @@ -827,6 +909,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..515bbccd9ba2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 579c51d681dd..8d78a30dff3e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListPolicyTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListPolicyTagsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List policyTags_;
   /**
+   *
+   *
    * 
    * The policy tags that are in the requested taxonomy.
    * 
@@ -64,6 +85,8 @@ public java.util.List getPolicyT return policyTags_; } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag getPolicyTags(int index) { return policyTags_.get(index); } /** + * + * *
    * The policy tags that are in the requested taxonomy.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(1, policyTags_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (policyTagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +625,8 @@ public java.util.List getPolicyT } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -589,6 +641,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -603,14 +657,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(); @@ -624,6 +679,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -642,6 +699,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -662,14 +721,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(); @@ -683,6 +743,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -701,6 +763,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -719,6 +783,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -729,8 +795,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); @@ -738,6 +803,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -755,6 +822,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -772,17 +841,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.
      * 
@@ -792,19 +864,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 { @@ -812,6 +887,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagsOrBu } } /** + * + * *
      * The policy tags that are in the requested taxonomy.
      * 
@@ -819,42 +896,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_; @@ -862,19 +945,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; @@ -883,21 +968,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 { @@ -905,64 +991,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1065,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(); } @@ -986,27 +1079,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; @@ -1021,6 +1114,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..f0eeddae9b19 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 68% 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 798ed7896390..9715bfaf6dbe 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListTagsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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
@@ -62,7 +83,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 @@ -71,14 +95,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 +113,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 +135,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -124,12 +153,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -138,30 +170,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 { @@ -170,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -205,8 +237,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_); @@ -219,19 +250,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; } @@ -255,96 +284,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].
@@ -352,33 +388,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();
@@ -392,9 +427,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
@@ -413,7 +448,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);
+      com.google.cloud.datacatalog.v1beta1.ListTagsRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListTagsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -425,38 +461,39 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -464,7 +501,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_;
         onChanged();
@@ -502,27 +540,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -535,6 +577,8 @@ public Builder mergeFrom(
 
     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
@@ -544,14 +588,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; @@ -560,6 +606,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
@@ -569,16 +617,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 { @@ -586,6 +635,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
@@ -595,21 +646,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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
@@ -619,16 +674,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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
@@ -638,29 +698,34 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -668,30 +733,36 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -699,19 +770,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; @@ -720,21 +793,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 { @@ -742,64 +816,71 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - 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 +890,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(); } @@ -823,27 +904,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; @@ -858,6 +939,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 25fe19a4ca50..7811fa20e9dd 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -17,11 +35,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
@@ -31,41 +54,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 6f4a5c7a34e4..d1bb585fa176 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListTagsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTagsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List tags_;
   /**
+   *
+   *
    * 
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -64,6 +85,8 @@ public java.util.List getTagsList() { return tags_; } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (tagsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1beta1.ListTagsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +624,8 @@ public java.util.List getTagsList() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -589,6 +640,8 @@ public int getTagsCount() { } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -603,14 +656,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(); @@ -624,6 +678,8 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -642,6 +698,8 @@ public Builder setTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -662,14 +720,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(); @@ -683,14 +742,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()); @@ -701,6 +761,8 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -719,6 +781,8 @@ public Builder addTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -729,8 +793,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); @@ -738,6 +801,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -755,6 +820,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -772,39 +839,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 { @@ -812,6 +884,8 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * [Tag][google.cloud.datacatalog.v1beta1.Tag] details.
      * 
@@ -819,42 +893,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_; @@ -862,19 +941,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; @@ -883,21 +964,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 { @@ -905,64 +987,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1061,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(); } @@ -986,27 +1075,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; @@ -1021,6 +1110,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..03ad58c32fc1 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 67% 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 1569cd855862..24e0e45a06b4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = "";
@@ -27,37 +45,43 @@ private ListTaxonomiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,29 +90,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 { @@ -99,12 +125,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -115,12 +144,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -129,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 { @@ -161,6 +193,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -196,8 +228,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_); @@ -210,19 +241,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,96 +275,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].
@@ -343,33 +380,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();
@@ -383,9 +419,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
@@ -404,7 +440,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);
+      com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest result =
+          new com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -416,38 +453,39 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -455,7 +493,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_;
         onChanged();
@@ -493,27 +532,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -526,18 +569,22 @@ public Builder mergeFrom(
 
     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; @@ -546,20 +593,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 { @@ -567,67 +617,83 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private 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 @@ -635,32 +701,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -668,19 +740,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; @@ -689,21 +763,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 { @@ -711,64 +786,71 @@ 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); 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; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +860,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(); } @@ -792,27 +874,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; @@ -827,6 +909,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 55% 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 e5b5ca8ca5d4..ce78ea68922d 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,62 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } 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 2c01424a9cb9..65a266f07ae2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,32 +45,35 @@ private ListTaxonomiesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTaxonomiesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List taxonomies_;
   /**
+   *
+   *
    * 
    * Taxonomies that the project contains.
    * 
@@ -64,6 +85,8 @@ public java.util.List getTaxonomi return taxonomies_; } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getTaxonomiesCount() { return taxonomies_.size(); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy getTaxonomies(int index) { return taxonomies_.get(index); } /** + * + * *
    * Taxonomies that the project contains.
    * 
@@ -105,20 +134,22 @@ 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; 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 @@ -127,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 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 { @@ -159,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taxonomies_.size(); i++) { output.writeMessage(1, taxonomies_.get(i)); } @@ -188,8 +219,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_); @@ -202,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.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; } @@ -236,96 +265,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].
@@ -333,33 +370,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();
@@ -376,9 +412,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
@@ -397,7 +433,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (taxonomiesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -417,38 +454,39 @@ public com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -456,7 +494,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()) {
@@ -475,9 +514,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_);
           }
@@ -513,30 +553,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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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,21 +588,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.
      * 
@@ -575,6 +625,8 @@ public java.util.List getTaxonomi } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -589,6 +641,8 @@ public int getTaxonomiesCount() { } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -603,14 +657,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(); @@ -624,6 +679,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -642,6 +699,8 @@ public Builder setTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -662,14 +721,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(); @@ -683,6 +743,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -701,6 +763,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -719,6 +783,8 @@ public Builder addTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -729,8 +795,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); @@ -738,6 +803,8 @@ public Builder addAllTaxonomies( return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -755,6 +822,8 @@ public Builder clearTaxonomies() { return this; } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -772,17 +841,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.
      * 
@@ -792,19 +864,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 { @@ -812,6 +887,8 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomiesOrBui } } /** + * + * *
      * Taxonomies that the project contains.
      * 
@@ -819,42 +896,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_; @@ -862,19 +945,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; @@ -883,21 +968,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 { @@ -905,64 +991,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1065,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(); } @@ -986,27 +1079,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; @@ -1021,6 +1114,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..5349e97c3944 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 ffbd6cda5d4d..2ebb3f95320b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -72,25 +93,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:
@@ -102,12 +128,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 +148,7 @@ public boolean hasLinkedResource() {
    * 
* * string linked_resource = 1; + * * @return The linkedResource. */ public java.lang.String getLinkedResource() { @@ -129,8 +159,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 +168,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
    * The full name of the Google Cloud Platform resource the Data Catalog
    * entry represents. See:
@@ -150,18 +181,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; } @@ -173,6 +203,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.
    * Examples:
@@ -186,12 +218,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.
    * Examples:
@@ -205,6 +240,7 @@ public boolean hasSqlResource() {
    * 
* * string sql_resource = 3; + * * @return The sqlResource. */ public java.lang.String getSqlResource() { @@ -215,8 +251,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; @@ -225,6 +260,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
@@ -238,18 +275,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; } @@ -260,6 +296,7 @@ public java.lang.String getSqlResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,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 (targetNameCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetName_); } @@ -302,22 +338,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: @@ -351,96 +386,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].
@@ -448,33 +491,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();
@@ -484,9 +526,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
@@ -505,7 +547,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);
+      com.google.cloud.datacatalog.v1beta1.LookupEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.LookupEntryRequest(this);
       if (targetNameCase_ == 1) {
         result.targetName_ = targetName_;
       }
@@ -521,38 +564,39 @@ public com.google.cloud.datacatalog.v1beta1.LookupEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -560,23 +604,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();
@@ -604,24 +652,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) {
@@ -631,12 +682,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() {
@@ -646,8 +697,9 @@ public Builder clearTargetName() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -659,6 +711,7 @@ public Builder clearTargetName() {
      * 
* * string linked_resource = 1; + * * @return Whether the linkedResource field is set. */ @java.lang.Override @@ -666,6 +719,8 @@ public boolean hasLinkedResource() { return targetNameCase_ == 1; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -677,6 +732,7 @@ public boolean hasLinkedResource() {
      * 
* * string linked_resource = 1; + * * @return The linkedResource. */ @java.lang.Override @@ -686,8 +742,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; @@ -698,6 +753,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -709,19 +766,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; } @@ -731,6 +787,8 @@ public java.lang.String getLinkedResource() { } } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -742,20 +800,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) { + public Builder setLinkedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 1; + 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:
@@ -767,6 +827,7 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 1; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { @@ -778,6 +839,8 @@ public Builder clearLinkedResource() { return this; } /** + * + * *
      * The full name of the Google Cloud Platform resource the Data Catalog
      * entry represents. See:
@@ -789,15 +852,15 @@ 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) { + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetNameCase_ = 1; targetName_ = value; onChanged(); @@ -805,6 +868,8 @@ public Builder setLinkedResourceBytes( } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -818,6 +883,7 @@ public Builder setLinkedResourceBytes(
      * 
* * string sql_resource = 3; + * * @return Whether the sqlResource field is set. */ @java.lang.Override @@ -825,6 +891,8 @@ public boolean hasSqlResource() { return targetNameCase_ == 3; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -838,6 +906,7 @@ public boolean hasSqlResource() {
      * 
* * string sql_resource = 3; + * * @return The sqlResource. */ @java.lang.Override @@ -847,8 +916,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; @@ -859,6 +927,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -872,19 +942,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; } @@ -894,6 +963,8 @@ public java.lang.String getSqlResource() { } } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -907,20 +978,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) { + public Builder setSqlResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetNameCase_ = 3; + throw new NullPointerException(); + } + targetNameCase_ = 3; targetName_ = value; onChanged(); return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -934,6 +1007,7 @@ public Builder setSqlResource(
      * 
* * string sql_resource = 3; + * * @return This builder for chaining. */ public Builder clearSqlResource() { @@ -945,6 +1019,8 @@ public Builder clearSqlResource() { return this; } /** + * + * *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
@@ -958,23 +1034,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) { + public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -984,12 +1060,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(); } @@ -998,27 +1074,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; @@ -1033,6 +1109,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 a47d266afa11..857bc998e0f7 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -19,10 +37,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:
@@ -34,10 +55,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:
@@ -49,12 +73,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.
    * Examples:
@@ -68,10 +94,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.
    * Examples:
@@ -85,10 +114,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.
    * Examples:
@@ -102,10 +134,10 @@ public interface LookupEntryRequestOrBuilder extends
    * 
* * string sql_resource = 3; + * * @return The bytes for sqlResource. */ - com.google.protobuf.ByteString - getSqlResourceBytes(); + com.google.protobuf.ByteString getSqlResourceBytes(); public 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/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 e30b37bdee9b..6fa7ef250b1b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,15 +30,16 @@
  *
  * 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_ = "";
@@ -32,38 +50,42 @@ private PolicyTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PolicyTag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -72,30 +94,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 { @@ -106,6 +128,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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
@@ -114,6 +138,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -122,14 +147,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, dashes and
@@ -138,16 +164,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 { @@ -158,6 +183,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -166,6 +193,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -174,14 +202,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
@@ -190,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 { @@ -210,6 +238,8 @@ public java.lang.String getDescription() { public static final int PARENT_POLICY_TAG_FIELD_NUMBER = 4; 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 +250,7 @@ public java.lang.String getDescription() {
    * 
* * string parent_policy_tag = 4; + * * @return The parentPolicyTag. */ @java.lang.Override @@ -228,14 +259,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 +278,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 { @@ -266,34 +297,45 @@ public java.lang.String getParentPolicyTag() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList 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 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. */ @@ -301,20 +343,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; @@ -326,8 +372,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -380,23 +425,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; } @@ -425,97 +466,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:
@@ -525,33 +573,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();
@@ -569,9 +616,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_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
@@ -590,7 +637,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);
+      com.google.cloud.datacatalog.v1beta1.PolicyTag result =
+          new com.google.cloud.datacatalog.v1beta1.PolicyTag(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -609,38 +657,39 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -701,38 +750,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              parentPolicyTag_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                parentPolicyTag_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -742,23 +797,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; @@ -767,21 +825,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 { @@ -789,57 +848,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -847,6 +913,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, dashes and
@@ -855,13 +923,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; @@ -870,6 +938,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, dashes and
@@ -878,15 +948,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 { @@ -894,6 +963,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, dashes and
@@ -902,20 +973,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -924,15 +997,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -941,16 +1017,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -958,6 +1034,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
@@ -966,13 +1044,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; @@ -981,6 +1059,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
@@ -989,15 +1069,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 { @@ -1005,6 +1084,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
@@ -1013,20 +1094,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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
@@ -1035,15 +1118,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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
@@ -1052,16 +1138,16 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1069,6 +1155,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
@@ -1079,13 +1167,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; @@ -1094,6 +1182,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
@@ -1104,15 +1194,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 { @@ -1120,6 +1209,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
@@ -1130,20 +1221,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) { + public Builder setParentPolicyTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentPolicyTag_ = value; 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
@@ -1154,15 +1247,18 @@ public Builder setParentPolicyTag(
      * 
* * string parent_policy_tag = 4; + * * @return This builder for chaining. */ public Builder clearParentPolicyTag() { - + parentPolicyTag_ = getDefaultInstance().getParentPolicyTag(); 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
@@ -1173,57 +1269,70 @@ 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) { + public Builder setParentPolicyTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentPolicyTag_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList childPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList childPolicyTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { childPolicyTags_ = new com.google.protobuf.LazyStringArrayList(childPolicyTags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -1231,80 +1340,95 @@ 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) { + public Builder setChildPolicyTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.set(index, value); 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 childPolicyTags to add. * @return This builder for chaining. */ - public Builder addChildPolicyTags( - java.lang.String value) { + public Builder addChildPolicyTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureChildPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureChildPolicyTagsIsMutable(); childPolicyTags_.add(value); 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 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_); 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() { @@ -1314,28 +1438,31 @@ public Builder clearChildPolicyTags() { 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) { + public Builder addChildPolicyTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureChildPolicyTagsIsMutable(); childPolicyTags_.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); } @@ -1345,12 +1472,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(); } @@ -1359,27 +1486,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; @@ -1394,6 +1521,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..c683c8f71f71 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java @@ -0,0 +1,385 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\343\002\n\010Taxonomy\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + + "\030\n\013description\030\003 \001(\tB\003\340A\001\022Z\n\026activated_p" + + "olicy_types\030\006 \003(\01625.google.cloud.datacat" + + "alog.v1beta1.Taxonomy.PolicyTypeB\003\340A\001\"J\n" + + "\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFIED\020\000" + + "\022\037\n\033FINE_GRAINED_ACCESS_CONTROL\020\001:g\352Ad\n#" + + "datacatalog.googleapis.com/Taxonomy\022=pro" + + "jects/{project}/locations/{location}/tax" + + "onomies/{taxonomy}\"\214\002\n\tPolicyTag\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023" + + "\n\013description\030\003 \001(\t\022\031\n\021parent_policy_tag" + + "\030\004 \001(\t\022\036\n\021child_policy_tags\030\005 \003(\tB\003\340A\003:\200" + + "\001\352A}\n$datacatalog.googleapis.com/PolicyT" + + "ag\022Uprojects/{project}/locations/{locati" + + "on}/taxonomies/{taxonomy}/policyTags/{po" + + "licy_tag}\"\222\001\n\025CreateTaxonomyRequest\022;\n\006p" + + "arent\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googlea" + + "pis.com/Taxonomy\022<\n\010taxonomy\030\002 \001(\0132*.goo" + + "gle.cloud.datacatalog.v1beta1.Taxonomy\"R" + + "\n\025DeleteTaxonomyRequest\0229\n\004name\030\001 \001(\tB+\340" + + "A\002\372A%\n#datacatalog.googleapis.com/Taxono" + + "my\"\206\001\n\025UpdateTaxonomyRequest\022<\n\010taxonomy" + + "\030\001 \001(\0132*.google.cloud.datacatalog.v1beta" + + "1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMask\"{\n\025ListTaxonomiesReq" + + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" + + "g.googleapis.com/Taxonomy\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\026ListTaxonomi" + + "esResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google." + + "cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"O\n\022GetTaxonomyReques" + + "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" + + "gleapis.com/Taxonomy\"\227\001\n\026CreatePolicyTag" + + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacat" + + "alog.googleapis.com/PolicyTag\022?\n\npolicy_" + + "tag\030\002 \001(\0132+.google.cloud.datacatalog.v1b" + + "eta1.PolicyTag\"T\n\026DeletePolicyTagRequest" + + "\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.goog" + + "leapis.com/PolicyTag\"\212\001\n\026UpdatePolicyTag" + + "Request\022?\n\npolicy_tag\030\001 \001(\0132+.google.clo" + + "ud.datacatalog.v1beta1.PolicyTag\022/\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "k\"|\n\025ListPolicyTagsRequest\022<\n\006parent\030\001 \001" + + "(\tB,\340A\002\372A&\022$datacatalog.googleapis.com/P" + + "olicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@\n\013pol" + + "icy_tags\030\001 \003(\0132+.google.cloud.datacatalo" + + "g.v1beta1.PolicyTag\022\027\n\017next_page_token\030\002" + + " \001(\t\"Q\n\023GetPolicyTagRequest\022:\n\004name\030\001 \001(" + + "\tB,\340A\002\372A&\n$datacatalog.googleapis.com/Po" + + "licyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016CreateT" + + "axonomy\0227.google.cloud.datacatalog.v1bet" + + "a1.CreateTaxonomyRequest\032*.google.cloud." + + "datacatalog.v1beta1.Taxonomy\"W\202\323\344\223\002?\"3/v" + + "1beta1/{parent=projects/*/locations/*}/t" + + "axonomies:\010taxonomy\332A\017parent,taxonomy\022\245\001" + + "\n\016DeleteTaxonomy\0227.google.cloud.datacata" + + "log.v1beta1.DeleteTaxonomyRequest\032\026.goog" + + "le.protobuf.Empty\"B\202\323\344\223\0025*3/v1beta1/{nam" + + "e=projects/*/locations/*/taxonomies/*}\332A" + + "\004name\022\320\001\n\016UpdateTaxonomy\0227.google.cloud." + + "datacatalog.v1beta1.UpdateTaxonomyReques" + + "t\032*.google.cloud.datacatalog.v1beta1.Tax" + + "onomy\"Y\202\323\344\223\002H2\n\ntaxonomies\030\001 \003(\013" + + "2*.google.cloud.datacatalog.v1beta1.Taxo" + + "nomy\"\307\001\n\027ExportTaxonomiesRequest\022;\n\006pare" + + "nt\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googleapis" + + ".com/Taxonomy\022?\n\ntaxonomies\030\002 \003(\tB+\340A\002\372A" + + "%\n#datacatalog.googleapis.com/Taxonomy\022\037" + + "\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013desti" + + "nation\"d\n\030ExportTaxonomiesResponse\022H\n\nta" + + "xonomies\030\001 \003(\01324.google.cloud.datacatalo" + + "g.v1beta1.SerializedTaxonomy2\222\004\n\035PolicyT" + + "agManagerSerialization\022\320\001\n\020ImportTaxonom" + + "ies\0229.google.cloud.datacatalog.v1beta1.I" + + "mportTaxonomiesRequest\032:.google.cloud.da" + + "tacatalog.v1beta1.ImportTaxonomiesRespon" + + "se\"E\202\323\344\223\002?\":/v1beta1/{parent=projects/*/" + + "locations/*}/taxonomies:import:\001*\022\315\001\n\020Ex" + + "portTaxonomies\0229.google.cloud.datacatalo" + + "g.v1beta1.ExportTaxonomiesRequest\032:.goog" + + "le.cloud.datacatalog.v1beta1.ExportTaxon" + + "omiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{parent=" + + "projects/*/locations/*}/taxonomies:expor" + + "t\032N\312A\032datacatalog.googleapis.com\322A.https" + + "://www.googleapis.com/auth/cloud-platfor" + + "mB\210\002\n$com.google.cloud.datacatalog.v1bet" + + "a1B\"PolicyTagManagerSerializationProtoP\001" + + "ZKgoogle.golang.org/genproto/googleapis/" + + "cloud/datacatalog/v1beta1;datacatalog\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.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/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 9c371a8aa358..81e8bbae80c8 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -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, dashes and
@@ -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/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 b16b0ec33700..236b551f22a4 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,38 +45,44 @@ private RenameTagTemplateFieldRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RenameTagTemplateFieldRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The 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 { @@ -101,11 +127,14 @@ public java.lang.String getName() { public static final int NEW_TAG_TEMPLATE_FIELD_ID_FIELD_NUMBER = 2; 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,29 +143,29 @@ 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 { @@ -145,6 +174,7 @@ public java.lang.String getNewTagTemplateFieldId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -187,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -219,96 +247,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].
@@ -316,33 +353,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();
@@ -354,14 +391,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
@@ -375,7 +414,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest(this);
       result.name_ = name_;
       result.newTagTemplateFieldId_ = newTagTemplateFieldId_;
       onBuilt();
@@ -386,46 +426,51 @@ public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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_;
         onChanged();
@@ -460,22 +505,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              newTagTemplateFieldId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                newTagTemplateFieldId_ = input.readStringRequireUtf8();
+
+                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) {
@@ -488,19 +536,23 @@ public Builder mergeFrom(
 
     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; @@ -509,21 +561,24 @@ 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 { @@ -531,57 +586,70 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -589,18 +657,20 @@ 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; @@ -609,20 +679,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 { @@ -630,61 +701,68 @@ 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) { + public Builder setNewTagTemplateFieldId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newTagTemplateFieldId_ = value; 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() { - + newTagTemplateFieldId_ = getDefaultInstance().getNewTagTemplateFieldId(); 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]; + * * @param value The bytes for newTagTemplateFieldId to set. * @return This builder for chaining. */ - public Builder setNewTagTemplateFieldIdBytes( - com.google.protobuf.ByteString value) { + public Builder setNewTagTemplateFieldIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newTagTemplateFieldId_ = 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); } @@ -694,41 +772,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; @@ -740,9 +820,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 4fffde94e791..97add7ba07e4 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,51 +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 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 0f949f4f28b8..d37f1e9221d5 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,119 +1,158 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; @@ -125,8 +164,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.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)); } @@ -140,8 +178,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; @@ -151,15 +188,15 @@ public int getSerializedSize() { @java.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; } @@ -180,130 +217,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(); @@ -318,9 +361,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 @@ -339,7 +382,8 @@ 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); int from_bitField0_ = bitField0_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -358,38 +402,39 @@ public com.google.cloud.datacatalog.v1beta1.Schema buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -416,9 +461,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_); } @@ -450,25 +496,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) { @@ -478,27 +526,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) { @@ -508,12 +566,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) { @@ -523,12 +585,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) { @@ -538,15 +604,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(); @@ -560,12 +629,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) { @@ -579,12 +652,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) { @@ -600,15 +677,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(); @@ -622,12 +702,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) { @@ -641,12 +725,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) { @@ -660,19 +748,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); @@ -680,12 +771,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) { @@ -698,12 +793,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) { @@ -716,42 +815,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 { @@ -759,59 +870,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); } @@ -821,12 +947,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(); } @@ -835,27 +961,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; @@ -870,6 +996,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..5dacc743a461 --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..7833218bab6d --- /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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"N\n\006Sc" + + "hema\022D\n\007columns\030\002 \003(\0132..google.cloud.dat" + + "acatalog.v1beta1.ColumnSchemaB\003\340A\002\"\254\001\n\014C" + + "olumnSchema\022\023\n\006column\030\006 \001(\tB\003\340A\002\022\021\n\004type" + + "\030\001 \001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\021\n" + + "\004mode\030\003 \001(\tB\003\340A\001\022G\n\nsubcolumns\030\007 \003(\0132..g" + + "oogle.cloud.datacatalog.v1beta1.ColumnSc" + + "hemaB\003\340A\001B\344\001\n$com.google.cloud.datacatal" + + "og.v1beta1P\001ZKgoogle.golang.org/genproto" + + "/googleapis/cloud/datacatalog/v1beta1;da" + + "tacatalog\370\001\001\252\002 Google.Cloud.DataCatalog." + + "V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1bet" + + "a1\352\002#Google::Cloud::DataCatalog::V1beta1" + + "b\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..34eb700cf8ef --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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\344\001\n$com.google.cl" + + "oud.datacatalog.v1beta1P\001ZKgoogle.golang" + + ".org/genproto/googleapis/cloud/datacatal" + + "og/v1beta1;datacatalog\370\001\001\252\002 Google.Cloud" + + ".DataCatalog.V1Beta1\312\002 Google\\Cloud\\Data" + + "Catalog\\V1beta1\352\002#Google::Cloud::DataCat" + + "alog::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/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 74% 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 5e8fa3d3d535..17e79124f736 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +46,38 @@ private SearchCatalogRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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
@@ -63,11 +85,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
@@ -75,10 +99,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
@@ -86,11 +113,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
@@ -98,13 +128,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
@@ -112,11 +144,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
@@ -124,10 +158,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
@@ -135,11 +172,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
@@ -147,13 +187,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 Platform (GCP) public datasets in the
      * search results. Info on GCP public datasets is available at
@@ -162,26 +204,30 @@ public interface ScopeOrBuilder extends
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); } /** + * + * *
    * 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.EMPTY; includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -189,32 +235,35 @@ private Scope() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Scope(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private com.google.protobuf.LazyStringList includeOrgIds_; /** + * + * *
      * The list of organization IDs to search within. To find your organization
      * ID, follow instructions in
@@ -222,13 +271,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
@@ -236,12 +287,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
@@ -249,6 +303,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. */ @@ -256,6 +311,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
@@ -263,17 +320,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; private com.google.protobuf.LazyStringList includeProjectIds_; /** + * + * *
      * The list of project IDs to search within. To learn more about the
      * distinction between project names/IDs/numbers, go to
@@ -281,13 +340,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
@@ -295,12 +356,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
@@ -308,6 +372,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. */ @@ -315,6 +380,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
@@ -322,17 +389,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_; /** + * + * *
      * If `true`, include Google Cloud Platform (GCP) public datasets in the
      * search results. Info on GCP public datasets is available at
@@ -341,6 +410,7 @@ public java.lang.String getIncludeProjectIds(int index) {
      * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -349,6 +419,7 @@ public boolean getIncludeGcpPublicDatasets() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,8 +431,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < includeOrgIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includeOrgIds_.getRaw(i)); } @@ -397,8 +467,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_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -408,19 +477,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -441,95 +508,102 @@ 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()); 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 @@ -539,39 +613,42 @@ 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(); @@ -585,13 +662,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_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(); } @@ -606,7 +684,8 @@ 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); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope result = + new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = includeOrgIds_.getUnmodifiableView(); @@ -627,46 +706,52 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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_; @@ -716,29 +801,33 @@ 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(); - - 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(); + + 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) { @@ -748,16 +837,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList includeOrgIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includeOrgIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludeOrgIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { includeOrgIds_ = new com.google.protobuf.LazyStringArrayList(includeOrgIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -765,13 +859,15 @@ 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() { return includeOrgIds_.getUnmodifiableView(); } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -779,12 +875,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
@@ -792,6 +891,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. */ @@ -799,6 +899,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
@@ -806,14 +908,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
@@ -821,21 +925,23 @@ 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) { + public Builder setIncludeOrgIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -843,20 +949,22 @@ 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) { + public Builder addIncludeOrgIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeOrgIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -864,18 +972,19 @@ 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_); onChanged(); return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -883,6 +992,7 @@ public Builder addAllIncludeOrgIds(
        * 
* * repeated string include_org_ids = 2; + * * @return This builder for chaining. */ public Builder clearIncludeOrgIds() { @@ -892,6 +1002,8 @@ public Builder clearIncludeOrgIds() { return this; } /** + * + * *
        * The list of organization IDs to search within. To find your organization
        * ID, follow instructions in
@@ -899,29 +1011,33 @@ 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) { + public Builder addIncludeOrgIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeOrgIdsIsMutable(); includeOrgIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList includeProjectIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includeProjectIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludeProjectIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includeProjectIds_ = new com.google.protobuf.LazyStringArrayList(includeProjectIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -929,13 +1045,15 @@ 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() { return includeProjectIds_.getUnmodifiableView(); } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -943,12 +1061,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
@@ -956,6 +1077,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. */ @@ -963,6 +1085,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
@@ -970,14 +1094,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
@@ -985,21 +1111,23 @@ 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) { + public Builder setIncludeProjectIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.set(index, value); onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1007,20 +1135,22 @@ 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) { + public Builder addIncludeProjectIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludeProjectIdsIsMutable(); + throw new NullPointerException(); + } + ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1028,18 +1158,19 @@ 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_); onChanged(); return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1047,6 +1178,7 @@ public Builder addAllIncludeProjectIds(
        * 
* * repeated string include_project_ids = 3; + * * @return This builder for chaining. */ public Builder clearIncludeProjectIds() { @@ -1056,6 +1188,8 @@ public Builder clearIncludeProjectIds() { return this; } /** + * + * *
        * The list of project IDs to search within. To learn more about the
        * distinction between project names/IDs/numbers, go to
@@ -1063,23 +1197,25 @@ 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) { + public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludeProjectIdsIsMutable(); includeProjectIds_.add(value); onChanged(); return this; } - private boolean includeGcpPublicDatasets_ ; + private boolean includeGcpPublicDatasets_; /** + * + * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in the
        * search results. Info on GCP public datasets is available at
@@ -1088,6 +1224,7 @@ public Builder addIncludeProjectIdsBytes(
        * 
* * bool include_gcp_public_datasets = 7; + * * @return The includeGcpPublicDatasets. */ @java.lang.Override @@ -1095,6 +1232,8 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } /** + * + * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in the
        * search results. Info on GCP public datasets is available at
@@ -1103,16 +1242,19 @@ public boolean getIncludeGcpPublicDatasets() {
        * 
* * bool include_gcp_public_datasets = 7; + * * @param value The includeGcpPublicDatasets to set. * @return This builder for chaining. */ public Builder setIncludeGcpPublicDatasets(boolean value) { - + includeGcpPublicDatasets_ = value; onChanged(); return this; } /** + * + * *
        * If `true`, include Google Cloud Platform (GCP) public datasets in the
        * search results. Info on GCP public datasets is available at
@@ -1121,14 +1263,16 @@ public Builder setIncludeGcpPublicDatasets(boolean value) {
        * 
* * bool include_gcp_public_datasets = 7; + * * @return This builder for chaining. */ public Builder clearIncludeGcpPublicDatasets() { - + includeGcpPublicDatasets_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1141,41 +1285,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; @@ -1187,15 +1334,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
@@ -1203,7 +1352,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 @@ -1211,6 +1363,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
@@ -1218,14 +1372,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
@@ -1233,16 +1394,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() { + public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder + getScopeOrBuilder() { return getScope(); } public static final int QUERY_FIELD_NUMBER = 1; 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:
@@ -1256,6 +1422,7 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -1264,14 +1431,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; } } /** + * + * *
    * 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:
@@ -1285,16 +1453,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1305,12 +1472,15 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -1321,6 +1491,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -1331,6 +1503,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -1339,14 +1512,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], which
@@ -1357,16 +1531,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 { @@ -1377,6 +1550,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Specifies the ordering of results, currently supported case-sensitive
    * choices are:
@@ -1387,6 +1562,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -1395,14 +1571,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:
@@ -1413,16 +1590,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 { @@ -1431,6 +1607,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1442,8 +1619,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1472,8 +1648,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_); @@ -1482,8 +1657,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; @@ -1493,26 +1667,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; } @@ -1542,96 +1712,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].
@@ -1639,33 +1817,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();
@@ -1687,9 +1864,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
@@ -1708,7 +1885,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);
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest result =
+          new com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest(this);
       if (scopeBuilder_ == null) {
         result.scope_ = scope_;
       } else {
@@ -1726,38 +1904,39 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1765,7 +1944,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());
       }
@@ -1810,39 +1990,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              query_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                query_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 42: {
-              orderBy_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 42:
+              {
+                orderBy_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getScopeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getScopeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -1855,8 +2039,13 @@ public Builder mergeFrom(
 
     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
@@ -1864,13 +2053,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 scopeBuilder_ != null || scope_ != null; } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -1878,17 +2072,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
@@ -1896,7 +2097,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) { @@ -1912,6 +2115,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
@@ -1919,7 +2124,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) { @@ -1933,6 +2140,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
@@ -1940,13 +2149,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 (scope_ != null) { scope_ = - com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.newBuilder(scope_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope.newBuilder(scope_) + .mergeFrom(value) + .buildPartial(); } else { scope_ = value; } @@ -1958,6 +2172,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
@@ -1965,7 +2181,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() { if (scopeBuilder_ == null) { @@ -1979,6 +2197,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
@@ -1986,14 +2206,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() { + onChanged(); return getScopeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The scope of this search request. A `scope` that has empty
      * `include_org_ids`, `include_project_ids` AND false
@@ -2001,17 +2226,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
@@ -2019,17 +2250,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_; @@ -2037,6 +2273,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder 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:
@@ -2050,13 +2288,13 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeOrBuilder
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2065,6 +2303,8 @@ 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:
@@ -2078,15 +2318,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -2094,6 +2333,8 @@ 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:
@@ -2107,20 +2348,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; 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:
@@ -2134,15 +2377,18 @@ public Builder setQuery(
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); 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:
@@ -2156,29 +2402,32 @@ public Builder clearQuery() {
      * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); 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 @@ -2186,32 +2435,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -2219,6 +2474,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], which
@@ -2229,13 +2486,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; @@ -2244,6 +2501,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], which
@@ -2254,15 +2513,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 { @@ -2270,6 +2528,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], which
@@ -2280,20 +2540,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
@@ -2304,15 +2566,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Pagination token returned in an earlier
      * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
@@ -2323,16 +2588,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -2340,6 +2605,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2350,13 +2617,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; @@ -2365,6 +2632,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2375,15 +2644,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 { @@ -2391,6 +2659,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2401,20 +2671,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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2425,15 +2697,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Specifies the ordering of results, currently supported case-sensitive
      * choices are:
@@ -2444,23 +2719,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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2470,12 +2745,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(); } @@ -2484,27 +2759,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; @@ -2519,6 +2794,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 78% 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 eff5428a1b9b..6825848c4d0d 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); /** + * + * *
    * 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:
@@ -57,10 +89,13 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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:
@@ -74,23 +109,28 @@ public interface SearchCatalogRequestOrBuilder extends
    * 
* * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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
@@ -101,10 +141,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], which
@@ -115,12 +158,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:
@@ -131,10 +176,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:
@@ -145,8 +193,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 71% 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 dd4a344da584..bb0e73f42412 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,15 +28,16 @@
  *
  * 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_ = "";
@@ -27,32 +45,35 @@ private SearchCatalogResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List results_;
   /**
+   *
+   *
    * 
    * Search results.
    * 
@@ -64,6 +85,8 @@ public java.util.List return results_; } /** + * + * *
    * Search results.
    * 
@@ -71,11 +94,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.
    * 
@@ -87,6 +112,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * Search results.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i return results_.get(index); } /** + * + * *
    * Search results.
    * 
@@ -113,11 +142,14 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -126,29 +158,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 { @@ -157,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -186,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -200,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.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 (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,96 +264,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].
@@ -331,33 +369,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();
@@ -374,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_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
@@ -395,7 +432,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (resultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -415,38 +453,39 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -454,7 +493,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()) {
@@ -473,9 +513,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_);
           }
@@ -511,30 +552,33 @@ 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();
+            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();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -544,28 +588,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 { @@ -573,6 +627,8 @@ public java.util.List } } /** + * + * *
      * Search results.
      * 
@@ -587,6 +643,8 @@ public int getResultsCount() { } } /** + * + * *
      * Search results.
      * 
@@ -601,6 +659,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult getResults(int i } } /** + * + * *
      * Search results.
      * 
@@ -622,6 +682,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -629,7 +691,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()); @@ -640,6 +703,8 @@ public Builder setResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -660,6 +725,8 @@ public Builder addResults(com.google.cloud.datacatalog.v1beta1.SearchCatalogResu return this; } /** + * + * *
      * Search results.
      * 
@@ -681,6 +748,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -699,6 +768,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -706,7 +777,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()); @@ -717,6 +789,8 @@ public Builder addResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -724,11 +798,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); @@ -736,6 +810,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * Search results.
      * 
@@ -753,6 +829,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * Search results.
      * 
@@ -770,6 +848,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * Search results.
      * 
@@ -781,6 +861,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder getResul return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Search results.
      * 
@@ -790,19 +872,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 { @@ -810,6 +896,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu } } /** + * + * *
      * Search results.
      * 
@@ -817,10 +905,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.
      * 
@@ -829,30 +920,36 @@ 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_; @@ -860,18 +957,20 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResul 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; @@ -880,20 +979,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 { @@ -901,61 +1001,68 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -965,12 +1072,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(); } @@ -979,27 +1086,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; @@ -1014,6 +1121,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 67% 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 3048f22ed39f..a08d16948cdc 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,41 +54,49 @@ 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 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(); } 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 72% 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 8e60b2d92fe1..cbc7f2bdff5d 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,61 +47,75 @@ private SearchCatalogResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SearchCatalogResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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_;
   /**
+   *
+   *
    * 
    * 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() { + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SearchResultType getSearchResultType() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.SearchResultType result = com.google.cloud.datacatalog.v1beta1.SearchResultType.valueOf(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.valueOf(searchResultType_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.SearchResultType.UNRECOGNIZED + : result; } public static final int SEARCH_RESULT_SUBTYPE_FIELD_NUMBER = 2; 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
@@ -92,6 +124,7 @@ protected java.lang.Object newInstance(
    * 
* * string search_result_subtype = 2; + * * @return The searchResultSubtype. */ @java.lang.Override @@ -100,14 +133,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
@@ -116,16 +150,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 { @@ -136,6 +169,8 @@ public java.lang.String getSearchResultSubtype() { public static final int RELATIVE_RESOURCE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object relativeResourceName_; /** + * + * *
    * The relative resource name of the resource in URL format.
    * Examples:
@@ -144,6 +179,7 @@ public java.lang.String getSearchResultSubtype() {
    * 
* * string relative_resource_name = 3; + * * @return The relativeResourceName. */ @java.lang.Override @@ -152,14 +188,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:
@@ -168,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 { @@ -188,6 +224,8 @@ public java.lang.String getRelativeResourceName() { public static final int LINKED_RESOURCE_FIELD_NUMBER = 4; 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 +234,7 @@ public java.lang.String getRelativeResourceName() {
    * 
* * string linked_resource = 4; + * * @return The linkedResource. */ @java.lang.Override @@ -204,14 +243,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.
@@ -220,16 +260,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 { @@ -238,6 +277,7 @@ public java.lang.String getLinkedResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,9 +289,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_)) { @@ -272,9 +313,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_); @@ -293,20 +335,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -332,96 +372,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.
@@ -429,33 +477,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();
@@ -471,9 +518,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
@@ -492,7 +539,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);
+      com.google.cloud.datacatalog.v1beta1.SearchCatalogResult result =
+          new com.google.cloud.datacatalog.v1beta1.SearchCatalogResult(this);
       result.searchResultType_ = searchResultType_;
       result.searchResultSubtype_ = searchResultSubtype_;
       result.relativeResourceName_ = relativeResourceName_;
@@ -505,38 +553,39 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -544,7 +593,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());
       }
@@ -586,32 +636,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              searchResultType_ = input.readEnum();
+            case 8:
+              {
+                searchResultType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              searchResultSubtype_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                searchResultSubtype_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              relativeResourceName_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                relativeResourceName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              linkedResource_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                linkedResource_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -624,78 +679,98 @@ public Builder mergeFrom(
 
     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. */ public Builder setSearchResultTypeValue(int value) { - + searchResultType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.SearchResultType result = com.google.cloud.datacatalog.v1beta1.SearchResultType.valueOf(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.valueOf(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(); } - + searchResultType_ = value.getNumber(); onChanged(); 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() { - + searchResultType_ = 0; onChanged(); return this; @@ -703,6 +778,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
@@ -711,13 +788,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; @@ -726,6 +803,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
@@ -734,15 +813,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 { @@ -750,6 +828,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
@@ -758,20 +838,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) { + public Builder setSearchResultSubtype(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchResultSubtype_ = value; 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
@@ -780,15 +862,18 @@ public Builder setSearchResultSubtype(
      * 
* * string search_result_subtype = 2; + * * @return This builder for chaining. */ public Builder clearSearchResultSubtype() { - + searchResultSubtype_ = getDefaultInstance().getSearchResultSubtype(); 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
@@ -797,16 +882,16 @@ 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) { + public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchResultSubtype_ = value; onChanged(); return this; @@ -814,6 +899,8 @@ public Builder setSearchResultSubtypeBytes( private java.lang.Object relativeResourceName_ = ""; /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -822,13 +909,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; @@ -837,6 +924,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -845,15 +934,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 { @@ -861,6 +949,8 @@ public java.lang.String getRelativeResourceName() { } } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -869,20 +959,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) { + public Builder setRelativeResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeResourceName_ = value; onChanged(); return this; } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -891,15 +983,18 @@ public Builder setRelativeResourceName(
      * 
* * string relative_resource_name = 3; + * * @return This builder for chaining. */ public Builder clearRelativeResourceName() { - + relativeResourceName_ = getDefaultInstance().getRelativeResourceName(); onChanged(); return this; } /** + * + * *
      * The relative resource name of the resource in URL format.
      * Examples:
@@ -908,16 +1003,16 @@ 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) { + public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeResourceName_ = value; onChanged(); return this; @@ -925,6 +1020,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.
@@ -933,13 +1030,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; @@ -948,6 +1045,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.
@@ -956,15 +1055,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 { @@ -972,6 +1070,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.
@@ -980,20 +1080,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) { + public Builder setLinkedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + linkedResource_ = value; 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.
@@ -1002,15 +1104,18 @@ public Builder setLinkedResource(
      * 
* * string linked_resource = 4; + * * @return This builder for chaining. */ public Builder clearLinkedResource() { - + linkedResource_ = getDefaultInstance().getLinkedResource(); 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.
@@ -1019,23 +1124,23 @@ 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) { + public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + linkedResource_ = 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); } @@ -1045,12 +1150,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(); } @@ -1059,27 +1164,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; @@ -1094,6 +1199,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 78% 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 7b571125391f..0c4fdfa48cf2 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -63,10 +92,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:
@@ -75,12 +107,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.
@@ -89,10 +123,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.
@@ -101,8 +138,8 @@ public interface SearchCatalogResultOrBuilder extends
    * 
* * string linked_resource = 4; + * * @return The bytes for linkedResource. */ - com.google.protobuf.ByteString - getLinkedResourceBytes(); + com.google.protobuf.ByteString getLinkedResourceBytes(); } 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..54df65243d19 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 70% 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 9b52c054b47e..8377f758b488 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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() { displayName_ = ""; description_ = ""; @@ -27,37 +45,41 @@ private SerializedPolicyTag() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SerializedPolicyTag(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -66,29 +88,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; } } /** + * + * *
    * 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 { @@ -99,6 +121,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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,
@@ -106,6 +130,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -114,14 +139,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,
@@ -129,16 +155,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 { @@ -149,64 +174,81 @@ public java.lang.String getDescription() { public static final int CHILD_POLICY_TAGS_FIELD_NUMBER = 4; 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; @@ -218,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } @@ -245,8 +286,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; @@ -256,19 +296,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.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 (!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; } @@ -294,129 +332,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(); @@ -435,9 +480,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 @@ -456,7 +501,8 @@ 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); int from_bitField0_ = bitField0_; result.displayName_ = displayName_; result.description_ = description_; @@ -477,38 +523,39 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -516,7 +563,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.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -543,9 +591,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTa childPolicyTagsBuilder_ = null; childPolicyTags_ = other.childPolicyTags_; bitField0_ = (bitField0_ & ~0x00000001); - childPolicyTagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChildPolicyTagsFieldBuilder() : null; + childPolicyTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChildPolicyTagsFieldBuilder() + : null; } else { childPolicyTagsBuilder_.addAllMessages(other.childPolicyTags_); } @@ -577,35 +626,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - displayName_ = input.readStringRequireUtf8(); + case 18: + { + displayName_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - description_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); - 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: + 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) { @@ -615,22 +668,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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; @@ -639,20 +695,21 @@ 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 { @@ -660,54 +717,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -715,6 +779,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,
@@ -722,13 +788,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; @@ -737,6 +803,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,
@@ -744,15 +812,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 { @@ -760,6 +827,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,
@@ -767,20 +836,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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,
@@ -788,15 +859,18 @@ public Builder setDescription(
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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,
@@ -804,41 +878,51 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List childPolicyTags_ = - java.util.Collections.emptyList(); + private java.util.List + childPolicyTags_ = java.util.Collections.emptyList(); + private void ensureChildPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - childPolicyTags_ = new java.util.ArrayList(childPolicyTags_); + childPolicyTags_ = + new java.util.ArrayList( + childPolicyTags_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -846,11 +930,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) { @@ -860,11 +947,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) { @@ -874,11 +964,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) { @@ -895,14 +988,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()); @@ -913,13 +1010,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(); @@ -933,11 +1034,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) { @@ -954,11 +1058,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) { @@ -972,14 +1079,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()); @@ -990,18 +1101,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); @@ -1009,11 +1123,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) { @@ -1026,11 +1143,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) { @@ -1043,39 +1163,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 { @@ -1083,45 +1214,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1130,9 +1279,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); } @@ -1142,12 +1291,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(); } @@ -1156,27 +1305,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; @@ -1191,6 +1340,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 69% 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 8ebc0f1e8891..482bb6e98f6e 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,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 { /** + * + * *
    * 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,
@@ -35,10 +58,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,
@@ -46,51 +72,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 73% 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 10c07e35a474..929a17e425c5 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = "";
@@ -28,37 +46,41 @@ private SerializedTaxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SerializedTaxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,29 +89,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; } } /** + * + * *
    * 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 { @@ -100,6 +122,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 +131,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -115,14 +140,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 +156,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 { @@ -150,6 +175,8 @@ public java.lang.String getDescription() { public static final int POLICY_TAGS_FIELD_NUMBER = 3; private java.util.List policyTags_; /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -157,10 +184,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.
    * 
@@ -168,11 +198,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.
    * 
@@ -184,6 +216,8 @@ public int getPolicyTagsCount() { return policyTags_.size(); } /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -195,6 +229,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in return policyTags_.get(index); } /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -208,6 +244,7 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -246,8 +282,7 @@ 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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -257,19 +292,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -295,96 +328,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.
@@ -392,33 +433,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();
@@ -437,9 +477,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
@@ -458,7 +498,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.description_ = description_;
@@ -479,38 +520,39 @@ public com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -518,7 +560,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_;
         onChanged();
@@ -545,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy
             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_);
           }
@@ -579,35 +623,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              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:
+                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:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -617,22 +665,25 @@ 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; @@ -641,20 +692,21 @@ 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 { @@ -662,54 +714,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -717,6 +776,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,
@@ -724,13 +785,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; @@ -739,6 +800,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,
@@ -746,15 +809,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 { @@ -762,6 +824,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,
@@ -769,20 +833,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Description of the serialized taxonomy. The length of the
      * description is limited to 2000 bytes when encoded in UTF-8. If not set,
@@ -790,15 +856,18 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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,
@@ -806,41 +875,50 @@ public Builder clearDescription() {
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } 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.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 { @@ -848,6 +926,8 @@ public java.util.List } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -862,6 +942,8 @@ public int getPolicyTagsCount() { } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -876,6 +958,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(in } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -897,6 +981,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -904,7 +990,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()); @@ -915,6 +1002,8 @@ public Builder setPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -935,6 +1024,8 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1beta1.SerializedPoli return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -956,6 +1047,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -974,6 +1067,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -981,7 +1076,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()); @@ -992,6 +1088,8 @@ public Builder addPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -999,11 +1097,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); @@ -1011,6 +1109,8 @@ public Builder addAllPolicyTags( return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1028,6 +1128,8 @@ public Builder clearPolicyTags() { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1045,6 +1147,8 @@ public Builder removePolicyTags(int index) { return this; } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1056,6 +1160,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder getPolic return getPolicyTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1065,19 +1171,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 { @@ -1085,6 +1195,8 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli } } /** + * + * *
      * Top level policy tags associated with the taxonomy if any.
      * 
@@ -1092,10 +1204,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.
      * 
@@ -1104,37 +1219,43 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); policyTags_ = null; } return policyTagsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1144,12 +1265,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(); } @@ -1158,27 +1279,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; @@ -1193,6 +1314,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 75% 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 b479c7feddf0..bf2b55c9c371 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,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,
@@ -35,10 +58,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,
@@ -46,21 +72,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.
    * 
@@ -69,6 +98,8 @@ public interface SerializedTaxonomyOrBuilder extends */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag getPolicyTags(int index); /** + * + * *
    * Top level policy tags associated with the taxonomy if any.
    * 
@@ -77,15 +108,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.
    * 
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 ca307cc4e84b..e0dc83149eb3 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,60 +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/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,11 +83,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 @@ -74,6 +98,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.
    * 
@@ -88,11 +114,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 @@ -100,11 +129,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 @@ -112,6 +144,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.
    * 
@@ -126,12 +160,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 @@ -139,12 +177,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 @@ -152,12 +194,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() { @@ -165,6 +210,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -197,16 +242,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; @@ -216,27 +258,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; @@ -267,129 +307,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(); @@ -415,9 +462,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 @@ -436,7 +483,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); + com.google.cloud.datacatalog.v1beta1.SystemTimestamps result = + new com.google.cloud.datacatalog.v1beta1.SystemTimestamps(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -460,38 +508,39 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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 +548,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 +585,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -574,34 +622,47 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -622,14 +683,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(); onChanged(); @@ -640,6 +702,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -650,7 +714,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -662,6 +726,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -680,6 +746,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -687,11 +755,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The creation time of the resource within the given system.
      * 
@@ -702,11 +772,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.
      * 
@@ -714,14 +787,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_; @@ -729,34 +805,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 updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -777,14 +866,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(); onChanged(); @@ -795,6 +885,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -805,7 +897,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -817,6 +909,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -835,6 +929,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -842,11 +938,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 2; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The last-modified time of the resource within the given system.
      * 
@@ -857,11 +955,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.
      * 
@@ -869,14 +970,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_; @@ -884,42 +988,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 expireTimeBuilder_ != null || 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. */ 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) { @@ -935,15 +1058,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(); onChanged(); @@ -954,18 +1080,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -977,12 +1107,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() { if (expireTimeBuilder_ == null) { @@ -996,58 +1130,74 @@ 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() { - + onChanged(); 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); } @@ -1057,12 +1207,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(); } @@ -1071,27 +1221,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; @@ -1106,6 +1256,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..db8b2bca0c33 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 65% 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 28e46c651df8..de0c53e83bcf 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * 
@@ -40,6 +62,8 @@ public enum TableSourceType ; /** + * + * *
    * Default unknown type.
    * 
@@ -48,6 +72,8 @@ public enum TableSourceType */ public static final int TABLE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Table view.
    * 
@@ -56,6 +82,8 @@ public enum TableSourceType */ public static final int BIGQUERY_VIEW_VALUE = 2; /** + * + * *
    * BigQuery native table.
    * 
@@ -64,7 +92,6 @@ public enum TableSourceType */ public static final int BIGQUERY_TABLE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,51 @@ 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; + 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; @@ -147,4 +176,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 de6abdceb694..781d4f95aa2b 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,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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
@@ -59,7 +80,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 @@ -68,14 +92,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 the date sharded
@@ -84,17 +109,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 +129,7 @@ public java.lang.String getGroupedEntry() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,8 +141,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(groupedEntry_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupedEntry_); } @@ -139,15 +165,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -166,130 +192,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(); @@ -299,9 +331,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 @@ -320,7 +352,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); + com.google.cloud.datacatalog.v1beta1.TableSpec result = + new com.google.cloud.datacatalog.v1beta1.TableSpec(this); result.groupedEntry_ = groupedEntry_; onBuilt(); return result; @@ -330,38 +363,39 @@ public com.google.cloud.datacatalog.v1beta1.TableSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -400,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - groupedEntry_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + groupedEntry_ = input.readStringRequireUtf8(); + + 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) { @@ -423,6 +459,8 @@ public Builder mergeFrom( 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
@@ -431,14 +469,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; @@ -447,6 +487,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 the date sharded
@@ -455,16 +497,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 { @@ -472,6 +515,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 the date sharded
@@ -480,21 +525,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) { + public Builder setGroupedEntry(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + groupedEntry_ = value; 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
@@ -503,16 +552,21 @@ 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() { - + groupedEntry_ = getDefaultInstance().getGroupedEntry(); 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
@@ -521,24 +575,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) { + public Builder setGroupedEntryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + groupedEntry_ = 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); } @@ -548,12 +604,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(); } @@ -562,27 +618,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; @@ -597,6 +653,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 e7c978748081..3374dab8d50e 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 the date sharded
@@ -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 the date sharded
@@ -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..9c19d452ad9b --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java @@ -0,0 +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/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\"\367\001\n\021BigQueryTa" + + "bleSpec\022Q\n\021table_source_type\030\001 \001(\01621.goo" + + "gle.cloud.datacatalog.v1beta1.TableSourc" + + "eTypeB\003\340A\003\022?\n\tview_spec\030\002 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.ViewSpecH\000\022A\n\nt" + + "able_spec\030\003 \001(\0132+.google.cloud.datacatal" + + "og.v1beta1.TableSpecH\000B\013\n\ttype_spec\"#\n\010V" + + "iewSpec\022\027\n\nview_query\030\001 \001(\tB\003\340A\003\"L\n\tTabl" + + "eSpec\022?\n\rgrouped_entry\030\001 \001(\tB(\340A\003\372A\"\n da" + + "tacatalog.googleapis.com/Entry\"\211\001\n\027BigQu" + + "eryDateShardedSpec\0229\n\007dataset\030\001 \001(\tB(\340A\003" + + "\372A\"\n datacatalog.googleapis.com/Entry\022\031\n" + + "\014table_prefix\030\002 \001(\tB\003\340A\003\022\030\n\013shard_count\030" + + "\003 \001(\003B\003\340A\003*[\n\017TableSourceType\022!\n\035TABLE_S" + + "OURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUERY_VIE" + + "W\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\344\001\n$com.google.c" + + "loud.datacatalog.v1beta1P\001ZKgoogle.golan" + + "g.org/genproto/googleapis/cloud/datacata" + + "log/v1beta1;datacatalog\370\001\001\252\002 Google.Clou" + + "d.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Dat" + + "aCatalog\\V1beta1\352\002#Google::Cloud::DataCa" + + "talog::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 970b63c1ad90..4b4de99943ea 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -14,15 +31,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_ = "";
@@ -31,49 +49,52 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -89,25 +110,29 @@ 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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the tag in URL format. Example:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -116,6 +141,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -124,14 +150,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the tag in URL format. Example:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -140,16 +167,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,6 +186,8 @@ public java.lang.String getName() { public static final int TEMPLATE_FIELD_NUMBER = 2; private volatile java.lang.Object template_; /** + * + * *
    * Required. The resource name of the tag template that this tag uses. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -167,6 +195,7 @@ public java.lang.String getName() {
    * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The template. */ @java.lang.Override @@ -175,14 +204,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -190,16 +220,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 { @@ -210,11 +239,14 @@ public java.lang.String getTemplate() { public static final int TEMPLATE_DISPLAY_NAME_FIELD_NUMBER = 5; 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 @@ -223,29 +255,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 { @@ -255,6 +287,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.
@@ -264,12 +298,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.
@@ -279,6 +316,7 @@ public boolean hasColumn() {
    * 
* * string column = 4; + * * @return The column. */ public java.lang.String getColumn() { @@ -289,8 +327,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; @@ -299,6 +336,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.
@@ -308,18 +347,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; } @@ -330,24 +368,31 @@ 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()); } + + 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 - internalGetFields() { + 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_; } @@ -356,76 +401,91 @@ 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 com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( - java.lang.String key, - com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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)) { @@ -435,6 +495,7 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -446,20 +507,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_); } @@ -481,15 +537,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_); @@ -505,26 +562,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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: @@ -563,97 +615,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.
@@ -664,55 +723,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();
@@ -729,9 +785,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
@@ -750,7 +806,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);
+      com.google.cloud.datacatalog.v1beta1.Tag result =
+          new com.google.cloud.datacatalog.v1beta1.Tag(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.template_ = template_;
@@ -769,38 +826,39 @@ public com.google.cloud.datacatalog.v1beta1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -821,18 +879,19 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Tag other) {
         templateDisplayName_ = other.templateDisplayName_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       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();
@@ -860,41 +919,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              template_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              scopeCase_ = 4;
-              scope_ = s;
-              break;
-            } // case 34
-            case 42: {
-              templateDisplayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                template_ = input.readStringRequireUtf8();
+
+                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());
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                scopeCase_ = 4;
+                scope_ = s;
+                break;
+              } // case 34
+            case 42:
+              {
+                templateDisplayName_ = input.readStringRequireUtf8();
+
+                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) {
@@ -904,12 +973,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() {
@@ -923,6 +992,8 @@ public Builder clearScope() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -931,13 +1002,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; @@ -946,6 +1017,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -954,15 +1027,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 { @@ -970,6 +1042,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -978,20 +1052,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1000,15 +1076,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the tag in URL format. Example:
      * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -1017,16 +1096,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1034,6 +1113,8 @@ public Builder setNameBytes( private java.lang.Object template_ = ""; /** + * + * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1041,13 +1122,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; @@ -1056,6 +1137,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1063,15 +1146,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 { @@ -1079,6 +1161,8 @@ public java.lang.String getTemplate() { } } /** + * + * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1086,20 +1170,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) { + public Builder setTemplate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + template_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1107,15 +1193,18 @@ public Builder setTemplate(
      * 
* * string template = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTemplate() { - + template_ = getDefaultInstance().getTemplate(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tag template that this tag uses. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -1123,16 +1212,16 @@ 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) { + public Builder setTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + template_ = value; onChanged(); return this; @@ -1140,18 +1229,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; @@ -1160,20 +1251,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 { @@ -1181,60 +1273,69 @@ 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) { + public Builder setTemplateDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + templateDisplayName_ = value; 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() { - + templateDisplayName_ = getDefaultInstance().getTemplateDisplayName(); onChanged(); 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) { + public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + templateDisplayName_ = 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.
@@ -1244,6 +1345,7 @@ public Builder setTemplateDisplayNameBytes(
      * 
* * string column = 4; + * * @return Whether the column field is set. */ @java.lang.Override @@ -1251,6 +1353,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.
@@ -1260,6 +1364,7 @@ public boolean hasColumn() {
      * 
* * string column = 4; + * * @return The column. */ @java.lang.Override @@ -1269,8 +1374,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; @@ -1281,6 +1385,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.
@@ -1290,19 +1396,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; } @@ -1312,6 +1417,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.
@@ -1321,20 +1428,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) { + public Builder setColumn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - scopeCase_ = 4; + 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.
@@ -1344,6 +1453,7 @@ public Builder setColumn(
      * 
* * string column = 4; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1355,6 +1465,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.
@@ -1364,15 +1476,15 @@ 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) { + public Builder setColumnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); scopeCase_ = 4; scope_ = value; onChanged(); @@ -1380,21 +1492,25 @@ public Builder setColumnBytes( } 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_; } - private com.google.protobuf.MapField - internalGetMutableFields() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagField> + internalGetMutableFields() { + onChanged(); + ; 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(); @@ -1406,76 +1522,91 @@ 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 com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( - java.lang.String key, - com.google.cloud.datacatalog.v1beta1.TagField defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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)) { @@ -1485,75 +1616,81 @@ public com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrThrow( } public Builder clearFields() { - 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() { + getMutableFields() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableFields().getMutableMap() - .put(key, value); + internalGetMutableFields().getMutableMap().put(key, value); 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); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1563,12 +1700,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(); } @@ -1577,27 +1714,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; @@ -1612,6 +1749,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 00332f1780e0..45532a13217b 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,121 +28,136 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object displayName_; /** + * + * *
      * The display name of the enum value.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -134,29 +166,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 { @@ -165,6 +197,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -201,15 +233,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -229,87 +261,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 @@ -319,39 +358,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(); @@ -361,9 +402,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 @@ -382,7 +423,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); + com.google.cloud.datacatalog.v1beta1.TagField.EnumValue result = + new com.google.cloud.datacatalog.v1beta1.TagField.EnumValue(this); result.displayName_ = displayName_; onBuilt(); return result; @@ -392,38 +434,41 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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 +476,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_; onChanged(); @@ -462,17 +508,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,18 +533,20 @@ public Builder mergeFrom( 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; @@ -505,20 +555,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 { @@ -526,58 +577,66 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * The display name of the enum value.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -590,12 +649,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(); } @@ -604,27 +663,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; @@ -639,13 +699,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int kindCase_ = 0; 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 +715,7 @@ public enum KindCase ENUM_VALUE(6), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -669,34 +731,43 @@ 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; 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 +776,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 +808,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 +823,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 +843,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 +875,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 +884,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 +913,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 +928,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 +948,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 +963,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 +992,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 +1015,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 +1046,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 +1054,8 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV
   public static final int ORDER_FIELD_NUMBER = 7;
   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
@@ -958,6 +1065,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 @@ -966,6 +1074,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -977,21 +1086,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_); @@ -1015,29 +1121,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; @@ -1047,39 +1154,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: @@ -1102,8 +1203,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; @@ -1111,8 +1214,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; @@ -1130,97 +1232,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].
@@ -1228,33 +1337,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();
@@ -1274,9 +1382,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
@@ -1295,7 +1403,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);
+      com.google.cloud.datacatalog.v1beta1.TagField result =
+          new com.google.cloud.datacatalog.v1beta1.TagField(this);
       result.displayName_ = displayName_;
       if (kindCase_ == 2) {
         result.kind_ = kind_;
@@ -1330,38 +1439,39 @@ public com.google.cloud.datacatalog.v1beta1.TagField buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -1378,31 +1488,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();
@@ -1430,52 +1546,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              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();
+                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();
 
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -1485,12 +1605,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() {
@@ -1500,21 +1620,22 @@ public Builder clearKind() {
       return this;
     }
 
-
     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; @@ -1523,20 +1644,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 { @@ -1544,76 +1666,89 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } /** + * + * *
      * 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() { @@ -1623,11 +1758,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 +1776,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 +1796,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 +1811,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 +1828,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 +1839,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,30 +1867,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) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - kindCase_ = 3; + 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() { @@ -1755,20 +1907,22 @@ 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) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); kindCase_ = 3; kind_ = value; onChanged(); @@ -1776,22 +1930,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() { @@ -1801,11 +1961,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. */ @@ -1816,11 +1979,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() { @@ -1833,13 +1999,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 @@ -1847,11 +2019,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 @@ -1869,6 +2044,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1889,14 +2066,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(); @@ -1907,6 +2085,8 @@ public Builder setTimestampValue( return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1915,10 +2095,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; } @@ -1934,6 +2115,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1957,6 +2140,8 @@ public Builder clearTimestampValue() { return this; } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1967,6 +2152,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1985,6 +2172,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** + * + * *
      * Holds the value for a tag field with timestamp type.
      * 
@@ -1992,33 +2181,43 @@ 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; - onChanged();; + onChanged(); + ; return timestampValueBuilder_; } 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 @@ -2026,12 +2225,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 @@ -2049,6 +2251,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.
@@ -2070,6 +2274,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.
@@ -2089,6 +2295,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.
@@ -2098,10 +2306,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;
         }
@@ -2117,6 +2329,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.
@@ -2141,6 +2355,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.
@@ -2152,6 +2368,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.
@@ -2160,7 +2378,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 {
@@ -2171,6 +2390,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.
@@ -2179,26 +2400,34 @@ 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());
         kind_ = null;
       }
       kindCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       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
@@ -2208,6 +2437,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 @@ -2215,6 +2445,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 [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
@@ -2224,16 +2456,19 @@ public int getOrder() {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; onChanged(); 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
@@ -2243,17 +2478,18 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -2263,12 +2499,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(); } @@ -2277,27 +2513,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; @@ -2312,6 +2548,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 dc5279ae120a..852a6824de8a 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
@@ -161,6 +220,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 8ff6dc81b095..1fd24a856e84 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -16,10 +34,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:
    * * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
@@ -28,12 +49,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -41,10 +64,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -52,32 +78,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.
@@ -87,10 +120,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.
@@ -100,10 +136,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.
@@ -113,76 +152,89 @@ 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); public 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 aadf88b73c0b..fd821a8647ca 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -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,44 +51,46 @@ private TagTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TagTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the tag template in URL format. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -79,6 +99,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -87,14 +108,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -103,16 +125,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 { @@ -123,11 +144,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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 @@ -136,29 +160,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 { @@ -167,24 +191,31 @@ 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()); } + + 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 - internalGetFields() { + 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_; } @@ -193,6 +224,8 @@ 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
@@ -203,24 +236,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
@@ -231,14 +267,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
@@ -249,19 +289,23 @@ 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 com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
-      java.lang.String key,
-      com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -272,13 +316,16 @@ public 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)) { @@ -288,6 +335,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,20 +347,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); } @@ -328,15 +371,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; @@ -346,19 +392,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -383,97 +427,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 GCP resources.
@@ -487,55 +538,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();
@@ -548,9 +596,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
@@ -569,7 +617,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);
+      com.google.cloud.datacatalog.v1beta1.TagTemplate result =
+          new com.google.cloud.datacatalog.v1beta1.TagTemplate(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -583,38 +632,39 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -622,7 +672,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_;
         onChanged();
@@ -631,8 +682,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplate other)
         displayName_ = other.displayName_;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -659,30 +709,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                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());
+                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) {
@@ -692,10 +750,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:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -704,13 +765,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; @@ -719,6 +780,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -727,15 +790,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 { @@ -743,6 +805,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -751,20 +815,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -773,15 +839,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the tag template in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -790,16 +859,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -807,18 +876,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; @@ -827,20 +898,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 { @@ -848,75 +920,86 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private 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_; } - private com.google.protobuf.MapField - internalGetMutableFields() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.TagTemplateField> + internalGetMutableFields() { + onChanged(); + ; 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(); @@ -928,6 +1011,8 @@ 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
@@ -938,24 +1023,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
@@ -966,14 +1054,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
@@ -984,19 +1076,23 @@ 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 com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrDefault(
-        java.lang.String key,
-        com.google.cloud.datacatalog.v1beta1.TagTemplateField defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -1007,13 +1103,16 @@ public 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)) { @@ -1023,11 +1122,12 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getFieldsOrThrow( } public Builder clearFields() { - 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
@@ -1038,25 +1138,26 @@ 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() { + getMutableFields() { 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
@@ -1067,21 +1168,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableFields().getMutableMap() - .put(key, value); + internalGetMutableFields().getMutableMap().put(key, value); 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
@@ -1092,18 +1197,19 @@ 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); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1113,12 +1219,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(); } @@ -1127,27 +1233,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; @@ -1162,6 +1268,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 68% 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 fe25aa0f5385..8b92a331a4d7 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -26,32 +44,35 @@ private TagTemplateField() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TagTemplateField(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the tag template field in URL format. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The resource name of the tag template field in URL format. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -84,16 +107,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 { @@ -104,11 +126,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 1; 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 @@ -117,29 +142,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 { @@ -150,11 +175,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 @@ -162,23 +192,34 @@ 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() { @@ -188,11 +229,14 @@ public com.google.cloud.datacatalog.v1beta1.FieldTypeOrBuilder getTypeOrBuilder( public static final int IS_REQUIRED_FIELD_NUMBER = 3; private boolean isRequired_; /** + * + * *
    * Whether this is a required field. Defaults to false.
    * 
* * bool is_required = 3; + * * @return The isRequired. */ @java.lang.Override @@ -203,6 +247,8 @@ public boolean getIsRequired() { public static final int ORDER_FIELD_NUMBER = 5; 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
@@ -211,6 +257,7 @@ public boolean getIsRequired() {
    * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -219,6 +266,7 @@ public int getOrder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +278,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -260,16 +307,13 @@ 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 (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_); @@ -282,26 +326,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.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 (!getType().equals(other.getType())) return false; } - if (getIsRequired() - != other.getIsRequired()) return false; - if (getOrder() - != other.getOrder()) return false; + if (getIsRequired() != other.getIsRequired()) return false; + if (getOrder() != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,8 +362,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) + ORDER_FIELD_NUMBER; hash = (53 * hash) + getOrder(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -332,129 +371,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(); @@ -476,9 +522,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 @@ -497,7 +543,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); + com.google.cloud.datacatalog.v1beta1.TagTemplateField result = + new com.google.cloud.datacatalog.v1beta1.TagTemplateField(this); result.name_ = name_; result.displayName_ = displayName_; if (typeBuilder_ == null) { @@ -515,38 +562,39 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -554,7 +602,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_; onChanged(); @@ -598,39 +647,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); + case 10: + { + displayName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getTypeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getTypeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 24: { - isRequired_ = input.readBool(); + break; + } // case 18 + case 24: + { + isRequired_ = input.readBool(); - break; - } // case 24 - case 40: { - order_ = input.readInt32(); + break; + } // case 24 + case 40: + { + order_ = input.readInt32(); - break; - } // case 40 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 40 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -643,6 +696,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -651,13 +706,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; @@ -666,6 +721,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -674,15 +731,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 { @@ -690,6 +746,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -698,20 +756,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -720,15 +780,18 @@ public Builder setName(
      * 
* * string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the tag template field in URL format. Example:
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -737,16 +800,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -754,18 +817,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; @@ -774,20 +839,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 { @@ -795,54 +861,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -850,39 +923,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 typeBuilder_ != null || 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. */ 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) { @@ -898,14 +990,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(); onChanged(); @@ -916,17 +1011,23 @@ 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 (type_ != null) { type_ = - com.google.cloud.datacatalog.v1beta1.FieldType.newBuilder(type_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.FieldType.newBuilder(type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -938,11 +1039,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() { if (typeBuilder_ == null) { @@ -956,60 +1061,79 @@ 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() { - + onChanged(); 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 @@ -1017,37 +1141,45 @@ 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. */ public Builder setIsRequired(boolean value) { - + isRequired_ = value; onChanged(); return this; } /** + * + * *
      * Whether this is a required field. Defaults to false.
      * 
* * bool is_required = 3; + * * @return This builder for chaining. */ public Builder clearIsRequired() { - + isRequired_ = false; onChanged(); 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
@@ -1056,6 +1188,7 @@ public Builder clearIsRequired() {
      * 
* * int32 order = 5; + * * @return The order. */ @java.lang.Override @@ -1063,6 +1196,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
@@ -1071,16 +1206,19 @@ public int getOrder() {
      * 
* * int32 order = 5; + * * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(int value) { - + order_ = value; 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
@@ -1089,17 +1227,18 @@ public Builder setOrder(int value) {
      * 
* * int32 order = 5; + * * @return This builder for chaining. */ public Builder clearOrder() { - + 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); } @@ -1109,12 +1248,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(); } @@ -1123,27 +1262,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; @@ -1158,6 +1297,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/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 68% 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 f70dbce730ca..733c9944e0e6 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -16,10 +34,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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
@@ -28,69 +49,93 @@ 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 order of this field with respect to other fields in this tag
    * template.  A higher value indicates a more important field. The value can
@@ -99,6 +144,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 69% 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 be23af69fc74..d13fdb862517 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -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. Example:
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
@@ -28,32 +49,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
@@ -64,10 +92,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
@@ -78,17 +110,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
@@ -99,11 +132,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
@@ -114,15 +151,19 @@ 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
@@ -133,9 +174,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..b3309f942d0b --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java @@ -0,0 +1,250 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\220\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010te" + + "mplate\030\002 \001(\tB\003\340A\002\022\"\n\025template_display_na" + + "me\030\005 \001(\tB\003\340A\003\022\020\n\006column\030\004 \001(\tH\000\022F\n\006field" + + "s\030\003 \003(\01321.google.cloud.datacatalog.v1bet" + + "a1.Tag.FieldsEntryB\003\340A\002\032Y\n\013FieldsEntry\022\013" + + "\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.clou" + + "d.datacatalog.v1beta1.TagField:\0028\001:\201\001\352A~" + + "\n\036datacatalog.googleapis.com/Tag\022\\projec" + + "ts/{project}/locations/{location}/entryG" + + "roups/{entry_group}/entries/{entry}/tags" + + "/{tag}B\007\n\005scope\"\255\002\n\010TagField\022\031\n\014display_" + + "name\030\001 \001(\tB\003\340A\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\017timestamp_value\030\005 \001(\0132\032.google." + + "protobuf.TimestampH\000\022J\n\nenum_value\030\006 \001(\013" + + "24.google.cloud.datacatalog.v1beta1.TagF" + + "ield.EnumValueH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n\t" + + "EnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind\"" + + "\326\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display" + + "_name\030\002 \001(\t\022N\n\006fields\030\003 \003(\01329.google.clo" + + "ud.datacatalog.v1beta1.TagTemplate.Field" + + "sEntryB\003\340A\002\032a\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" + + "A\n\005value\030\002 \001(\01322.google.cloud.datacatalo" + + "g.v1beta1.TagTemplateField:\0028\001:p\352Am\n&dat" + + "acatalog.googleapis.com/TagTemplate\022Cpro" + + "jects/{project}/locations/{location}/tag" + + "Templates/{tag_template}\"\247\002\n\020TagTemplate" + + "Field\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\024\n\014display_name" + + "\030\001 \001(\t\022>\n\004type\030\002 \001(\0132+.google.cloud.data" + + "catalog.v1beta1.FieldTypeB\003\340A\002\022\023\n\013is_req" + + "uired\030\003 \001(\010\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datac" + + "atalog.googleapis.com/TagTemplateField\022R" + + "projects/{project}/locations/{location}/" + + "tagTemplates/{tag_template}/fields/{fiel" + + "d}\"\247\003\n\tFieldType\022S\n\016primitive_type\030\001 \001(\016" + + "29.google.cloud.datacatalog.v1beta1.Fiel" + + "dType.PrimitiveTypeH\000\022I\n\tenum_type\030\002 \001(\013" + + "24.google.cloud.datacatalog.v1beta1.Fiel" + + "dType.EnumTypeH\000\032\212\001\n\010EnumType\022V\n\016allowed" + + "_values\030\001 \003(\0132>.google.cloud.datacatalog" + + ".v1beta1.FieldType.EnumType.EnumValue\032&\n" + + "\tEnumValue\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\"`\n" + + "\rPrimitiveType\022\036\n\032PRIMITIVE_TYPE_UNSPECI" + + "FIED\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\344\001\n$com.goo" + + "gle.cloud.datacatalog.v1beta1P\001ZKgoogle." + + "golang.org/genproto/googleapis/cloud/dat" + + "acatalog/v1beta1;datacatalog\370\001\001\252\002 Google" + + ".Cloud.DataCatalog.V1Beta1\312\002 Google\\Clou" + + "d\\DataCatalog\\V1beta1\352\002#Google::Cloud::D" + + "ataCatalog::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/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 71% 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 95906fc9797e..eb20e567a683 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +50,43 @@ private Taxonomy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Taxonomy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -73,6 +95,8 @@ public enum PolicyType */ POLICY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Fine grained access control policy, which enables access control on
      * tagged resources.
@@ -85,6 +109,8 @@ public enum PolicyType
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified policy type.
      * 
@@ -93,6 +119,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.
@@ -102,7 +130,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(
@@ -127,48 +154,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;
@@ -188,12 +214,15 @@ private PolicyType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -202,30 +231,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 { @@ -236,6 +265,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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
@@ -243,6 +274,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -251,14 +283,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 spaces; and
@@ -266,16 +299,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 { @@ -286,6 +318,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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
@@ -293,6 +327,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -301,14 +336,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 most 2000 bytes
@@ -316,16 +352,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 { @@ -336,36 +371,53 @@ public java.lang.String getDescription() { public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; 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) { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.valueOf(from); - return result == null ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED : result; + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.valueOf(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 @@ -373,40 +425,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. */ @@ -414,9 +481,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; @@ -428,8 +497,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -468,14 +536,16 @@ public int getSerializedSize() { { 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; @@ -485,19 +555,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.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 (!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; @@ -525,97 +593,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
@@ -626,33 +701,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();
@@ -668,9 +742,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
@@ -689,7 +763,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -707,38 +782,39 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -795,44 +871,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-
-              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) {
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 48:
+              {
                 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:
+                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) {
@@ -842,23 +924,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; @@ -867,21 +952,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 { @@ -889,57 +975,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -947,6 +1040,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 spaces; and
@@ -954,13 +1049,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; @@ -969,6 +1064,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 spaces; and
@@ -976,15 +1073,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 { @@ -992,6 +1088,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 spaces; and
@@ -999,20 +1097,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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1020,15 +1120,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1036,16 +1139,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1053,6 +1156,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 most 2000 bytes
@@ -1060,13 +1165,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; @@ -1075,6 +1180,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 most 2000 bytes
@@ -1082,15 +1189,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 { @@ -1098,6 +1204,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 most 2000 bytes
@@ -1105,20 +1213,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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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
@@ -1126,15 +1236,18 @@ public Builder setDescription(
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); 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
@@ -1142,23 +1255,24 @@ 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private java.util.List activatedPolicyTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActivatedPolicyTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); @@ -1166,50 +1280,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. @@ -1225,16 +1362,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(); } @@ -1244,17 +1387,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()); @@ -1263,12 +1412,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() { @@ -1278,25 +1432,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. */ @@ -1304,30 +1467,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. */ @@ -1338,17 +1510,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); @@ -1356,9 +1532,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); } @@ -1368,12 +1544,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(); } @@ -1382,27 +1558,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; @@ -1417,6 +1593,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 997810ea0ec4..fe96de9d1362 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 spaces; and
@@ -37,10 +60,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 spaces; and
@@ -48,12 +74,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 most 2000 bytes
@@ -61,10 +89,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 most 2000 bytes
@@ -72,60 +103,85 @@ 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(); /** + * + * *
    * 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. */ 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..ee6cd7fb57b4 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java @@ -0,0 +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/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\"\252\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\0224\n\013expire" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003B\344\001\n$com.google.cloud.datacatalog.v1" + + "beta1P\001ZKgoogle.golang.org/genproto/goog" + + "leapis/cloud/datacatalog/v1beta1;datacat" + + "alog\370\001\001\252\002 Google.Cloud.DataCatalog.V1Bet" + + "a1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#" + + "Google::Cloud::DataCatalog::V1beta1b\006pro" + + "to3" + }; + 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 64% 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 1ea5c587a7cb..d4fb4a231492 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,51 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,23 +86,34 @@ 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() { @@ -89,12 +123,15 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB 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.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,12 +139,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update on the entry group. If absent or empty, all modifiable
    * fields are updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -115,6 +155,8 @@ 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.
@@ -128,6 +170,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -139,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 (entryGroup_ != null) {
       output.writeMessage(1, getEntryGroup());
     }
@@ -157,12 +199,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;
@@ -172,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.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;
@@ -214,96 +253,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].
@@ -311,33 +358,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();
@@ -357,13 +403,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();
     }
 
@@ -378,7 +425,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest(this);
       if (entryGroupBuilder_ == null) {
         result.entryGroup_ = entryGroup_;
       } else {
@@ -397,38 +445,39 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -436,7 +485,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());
       }
@@ -469,26 +520,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryGroupFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -501,39 +551,58 @@ public Builder mergeFrom(
 
     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 entryGroupBuilder_ != null || 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. */ 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) { @@ -549,11 +618,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) { @@ -567,17 +640,23 @@ 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 (entryGroup_ != null) { entryGroup_ = - com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_) + .mergeFrom(value) + .buildPartial(); } else { entryGroup_ = value; } @@ -589,11 +668,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() { if (entryGroupBuilder_ == null) { @@ -607,48 +690,64 @@ 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() { - + onChanged(); 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_; @@ -656,36 +755,49 @@ 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.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
      * 
* * .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.
@@ -707,6 +819,8 @@ 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.
@@ -714,8 +828,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();
         onChanged();
@@ -726,6 +839,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -737,7 +852,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -749,6 +864,8 @@ 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.
@@ -768,6 +885,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -776,11 +895,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -792,11 +913,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 fields to update on the entry group. If absent or empty, all modifiable
      * fields are updated.
@@ -805,21 +929,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);
     }
 
@@ -829,12 +956,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();
   }
@@ -843,27 +971,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;
@@ -878,6 +1006,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 60%
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 ec2aaa343fc6..ff02a38eeb68 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,60 +1,98 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
    * 
* * .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.
    * 
* * .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.
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 70%
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 afdc365440d2..93fb5e3449db 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,51 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,23 +86,34 @@ 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() { @@ -89,6 +123,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { 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.
@@ -112,6 +148,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 +156,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update on the entry. If absent or empty, all modifiable
    * fields are updated.
@@ -142,6 +181,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -149,6 +189,8 @@ 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.
@@ -179,6 +221,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,8 +233,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (entry_ != null) {
       output.writeMessage(1, getEntry());
     }
@@ -208,12 +250,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;
@@ -223,22 +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.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;
@@ -265,96 +304,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].
@@ -362,33 +409,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();
@@ -408,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_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
@@ -429,7 +475,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);
+      com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest(this);
       if (entryBuilder_ == null) {
         result.entry_ = entry_;
       } else {
@@ -448,38 +495,39 @@ public com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -487,7 +535,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());
       }
@@ -520,26 +569,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEntryFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -552,39 +600,58 @@ public Builder mergeFrom(
 
     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 entryBuilder_ != null || 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. */ 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) { @@ -600,14 +667,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(); onChanged(); @@ -618,17 +688,23 @@ 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 (entry_ != null) { entry_ = - com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.Entry.newBuilder(entry_) + .mergeFrom(value) + .buildPartial(); } else { entry_ = value; } @@ -640,11 +716,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() { if (entryBuilder_ == null) { @@ -658,48 +738,64 @@ 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() { - + onChanged(); 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_; @@ -707,8 +803,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_; /** + * + * *
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -732,12 +833,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -761,16 +865,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 fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -809,6 +918,8 @@ 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.
@@ -833,8 +944,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();
         onChanged();
@@ -845,6 +955,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -873,7 +985,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -885,6 +997,8 @@ 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.
@@ -921,6 +1035,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -946,11 +1062,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -979,11 +1097,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 fields to update on the entry. If absent or empty, all modifiable
      * fields are updated.
@@ -1009,21 +1130,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);
     }
 
@@ -1033,12 +1157,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();
   }
@@ -1047,27 +1171,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;
@@ -1082,6 +1206,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 74%
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 91d27e64dfa9..6537955f065d 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
@@ -58,10 +90,13 @@ public interface UpdateEntryRequestOrBuilder extends
    * 
* * .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.
@@ -85,10 +120,13 @@ public interface UpdateEntryRequestOrBuilder extends
    * 
* * .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.
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 04847b999293..818f42e06084 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -64,19 +85,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.
@@ -92,6 +120,8 @@ public com.google.cloud.datacatalog.v1beta1.PolicyTagOrBuilder getPolicyTagOrBui
   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
@@ -103,6 +133,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 @@ -110,6 +141,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
@@ -121,6 +154,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -128,6 +162,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
@@ -146,6 +182,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -157,8 +194,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -175,12 +211,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;
@@ -190,22 +224,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;
@@ -232,96 +265,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].
@@ -329,33 +370,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();
@@ -375,9 +415,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
@@ -396,7 +436,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);
+      com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest(this);
       if (policyTagBuilder_ == null) {
         result.policyTag_ = policyTag_;
       } else {
@@ -415,38 +456,39 @@ public com.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -454,7 +496,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());
       }
@@ -487,26 +530,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPolicyTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getPolicyTagFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -519,36 +561,49 @@ public Builder mergeFrom(
 
     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 policyTagBuilder_ != null || 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. */ 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.
@@ -570,6 +625,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.
@@ -589,6 +646,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,7 +659,9 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1beta1.PolicyTag val
       if (policyTagBuilder_ == null) {
         if (policyTag_ != null) {
           policyTag_ =
-            com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_).mergeFrom(value).buildPartial();
+              com.google.cloud.datacatalog.v1beta1.PolicyTag.newBuilder(policyTag_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           policyTag_ = value;
         }
@@ -612,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.
@@ -631,6 +694,8 @@ public Builder clearPolicyTag() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -639,11 +704,13 @@ public Builder clearPolicyTag() {
      * .google.cloud.datacatalog.v1beta1.PolicyTag policy_tag = 1;
      */
     public com.google.cloud.datacatalog.v1beta1.PolicyTag.Builder getPolicyTagBuilder() {
-      
+
       onChanged();
       return getPolicyTagFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The policy tag to update. Only the description, display_name, and
      * parent_policy_tag fields can be updated.
@@ -655,11 +722,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.
@@ -668,14 +738,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_;
@@ -683,8 +756,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
@@ -696,12 +774,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 updateMaskBuilder_ != null || 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
@@ -713,16 +794,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
@@ -749,6 +835,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
@@ -761,8 +849,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();
         onChanged();
@@ -773,6 +860,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,7 +878,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -801,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
@@ -825,6 +916,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
@@ -838,11 +931,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       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
@@ -859,11 +954,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
@@ -877,21 +975,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);
     }
 
@@ -901,12 +1002,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();
   }
@@ -915,27 +1016,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;
@@ -950,6 +1051,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..fe63eb3b1dc1 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 67%
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 0711f3606274..01970379a543 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,51 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,11 +85,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 @@ -75,11 +101,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() { @@ -89,12 +118,15 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -102,12 +134,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -115,6 +150,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : 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`.
@@ -128,6 +165,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -139,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -157,12 +194,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;
@@ -172,22 +207,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;
@@ -214,96 +248,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].
@@ -311,33 +353,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();
@@ -357,9 +398,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
@@ -378,7 +419,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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTagRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTagRequest(this);
       if (tagBuilder_ == null) {
         result.tag_ = tag_;
       } else {
@@ -397,38 +439,39 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -436,7 +479,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());
       }
@@ -469,26 +513,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -501,24 +544,37 @@ public Builder mergeFrom(
 
     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 tagBuilder_ != null || 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. */ public com.google.cloud.datacatalog.v1beta1.Tag getTag() { @@ -529,11 +585,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) { @@ -549,14 +609,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(); onChanged(); @@ -567,17 +630,23 @@ 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 (tag_ != null) { tag_ = - com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -589,11 +658,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() { if (tagBuilder_ == null) { @@ -607,48 +680,62 @@ 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() { - + onChanged(); 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_; @@ -656,36 +743,49 @@ 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_; /** + * + * *
      * 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`.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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`.
      * 
* * .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 Tag. If absent or empty, all modifiable fields
      * are updated. Currently the only modifiable field is the field `fields`.
@@ -707,6 +807,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * 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`.
@@ -714,8 +816,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();
         onChanged();
@@ -726,6 +827,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * 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`.
@@ -737,7 +840,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -749,6 +852,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * 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`.
@@ -768,6 +873,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * 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`.
@@ -776,11 +883,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * 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`.
@@ -792,11 +901,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 fields to update on the Tag. If absent or empty, all modifiable fields
      * are updated. Currently the only modifiable field is the field `fields`.
@@ -805,21 +917,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);
     }
 
@@ -829,12 +944,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();
   }
@@ -843,27 +958,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;
@@ -878,6 +993,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 69%
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 05ce8d826c9e..691c3631c7a2 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,60 +1,95 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); /** + * + * *
    * 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * 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`.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * 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`.
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 5b0fc5d3e83a..04f990ffa42d 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,53 +28,60 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -66,30 +90,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 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 { @@ -100,11 +126,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 @@ -112,32 +143,46 @@ 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() { + public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder + getTagTemplateFieldOrBuilder() { return getTagTemplateField(); } 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:
@@ -152,7 +197,9 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemp
    * 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 @@ -160,6 +207,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -174,7 +223,9 @@ public boolean hasUpdateMask() {
    * 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 @@ -182,6 +233,8 @@ 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:
@@ -196,7 +249,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * 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() { @@ -204,6 +258,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -239,12 +293,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; @@ -254,24 +306,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; @@ -300,96 +350,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].
@@ -397,33 +456,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();
@@ -445,14 +504,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
@@ -466,7 +527,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest(this);
       result.name_ = name_;
       if (tagTemplateFieldBuilder_ == null) {
         result.tagTemplateField_ = tagTemplateField_;
@@ -486,46 +548,51 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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_;
         onChanged();
@@ -562,31 +629,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getTagTemplateFieldFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getTagTemplateFieldFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -599,19 +667,23 @@ public Builder mergeFrom(
 
     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; @@ -620,21 +692,24 @@ 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 { @@ -642,57 +717,70 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -700,41 +788,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 tagTemplateFieldBuilder_ != null || 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. */ 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(); @@ -748,11 +856,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) { @@ -766,17 +878,24 @@ 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 (tagTemplateField_ != null) { tagTemplateField_ = - com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplateField.newBuilder(tagTemplateField_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplateField_ = value; } @@ -788,11 +907,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() { if (tagTemplateFieldBuilder_ == null) { @@ -806,48 +929,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() { + 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_; @@ -855,8 +996,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. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -871,13 +1017,17 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateFieldOrBuilder getTagTemp
      * 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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -892,17 +1042,23 @@ public boolean hasUpdateMask() {
      * 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:
@@ -917,7 +1073,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * 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) { @@ -933,6 +1090,8 @@ 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:
@@ -947,10 +1106,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * 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(); onChanged(); @@ -961,6 +1120,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -975,13 +1136,14 @@ public Builder setUpdateMask(
      * 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -993,6 +1155,8 @@ 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:
@@ -1007,7 +1171,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * 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() { if (updateMaskBuilder_ == null) { @@ -1021,6 +1186,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -1035,14 +1202,17 @@ public Builder clearUpdateMask() {
      * 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The field mask specifies the parts of the template to be updated.
      * Allowed fields:
@@ -1057,17 +1227,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * 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:
@@ -1082,24 +1256,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 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); } @@ -1109,41 +1287,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; @@ -1155,9 +1335,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 68% 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 977a9020f1c2..3d3761183914 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,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -71,11 +112,15 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * 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. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -90,11 +135,15 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * 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. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. The field mask specifies the parts of the template to be updated.
    * Allowed fields:
@@ -109,7 +158,8 @@ public interface UpdateTagTemplateFieldRequestOrBuilder extends
    * 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]; + * */ 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 65% 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 5ab1604be878..a6bb265ee205 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,51 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -63,23 +86,34 @@ 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() { @@ -89,6 +123,8 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO 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:
@@ -97,6 +133,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 @@ -104,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The field mask specifies the parts of the template to overwrite.
    * Allowed fields:
@@ -112,6 +151,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -119,6 +159,8 @@ 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.
    * Allowed fields:
@@ -134,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -145,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 (tagTemplate_ != null) {
       output.writeMessage(1, getTagTemplate());
     }
@@ -163,12 +205,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;
@@ -178,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.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;
@@ -220,96 +259,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].
@@ -317,33 +364,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();
@@ -363,13 +409,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();
     }
 
@@ -384,7 +431,8 @@ 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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest(this);
       if (tagTemplateBuilder_ == null) {
         result.tagTemplate_ = tagTemplate_;
       } else {
@@ -403,38 +451,39 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -442,7 +491,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());
       }
@@ -475,26 +526,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTagTemplateFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getTagTemplateFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -507,39 +557,58 @@ public Builder mergeFrom(
 
     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 tagTemplateBuilder_ != null || 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. */ 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) { @@ -555,11 +624,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) { @@ -573,17 +646,23 @@ 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 (tagTemplate_ != null) { tagTemplate_ = - com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_).mergeFrom(value).buildPartial(); + com.google.cloud.datacatalog.v1beta1.TagTemplate.newBuilder(tagTemplate_) + .mergeFrom(value) + .buildPartial(); } else { tagTemplate_ = value; } @@ -595,11 +674,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() { if (tagTemplateBuilder_ == null) { @@ -613,48 +696,64 @@ 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() { - + onChanged(); 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_; @@ -662,8 +761,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_; /** + * + * *
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -672,12 +776,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -686,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 field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -719,6 +831,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -728,8 +842,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();
         onChanged();
@@ -740,6 +853,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -753,7 +868,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -765,6 +880,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -786,6 +903,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -796,11 +915,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -814,11 +935,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 field mask specifies the parts of the template to overwrite.
      * Allowed fields:
@@ -829,21 +953,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);
     }
 
@@ -853,12 +980,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();
   }
@@ -867,27 +995,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;
@@ -902,6 +1030,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 63%
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 d5784f326a45..2058199b468f 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); /** + * + * *
    * The field mask specifies the parts of the template to overwrite.
    * Allowed fields:
@@ -43,10 +75,13 @@ public interface UpdateTagTemplateRequestOrBuilder extends
    * 
* * .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:
@@ -55,10 +90,13 @@ public interface UpdateTagTemplateRequestOrBuilder extends
    * 
* * .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:
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 72%
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 2c6b4d83006f..5ded414d4daa 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -64,19 +85,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.
@@ -92,6 +120,8 @@ public com.google.cloud.datacatalog.v1beta1.TaxonomyOrBuilder getTaxonomyOrBuild
   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
@@ -100,6 +130,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 @@ -107,6 +138,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -115,6 +148,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -122,6 +156,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
@@ -137,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -148,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());
     }
@@ -166,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;
@@ -181,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.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;
@@ -223,96 +256,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].
@@ -320,33 +361,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();
@@ -366,9 +406,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
@@ -387,7 +427,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);
+      com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest result =
+          new com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest(this);
       if (taxonomyBuilder_ == null) {
         result.taxonomy_ = taxonomy_;
       } else {
@@ -406,38 +447,39 @@ public com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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;
@@ -445,7 +487,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());
       }
@@ -478,26 +521,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTaxonomyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -510,36 +552,49 @@ public Builder mergeFrom(
 
     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 taxonomyBuilder_ != null || 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. */ 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.
@@ -561,6 +616,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.
@@ -580,6 +637,8 @@ public Builder setTaxonomy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -591,7 +650,9 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1beta1.Taxonomy value
       if (taxonomyBuilder_ == null) {
         if (taxonomy_ != null) {
           taxonomy_ =
-            com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_).mergeFrom(value).buildPartial();
+              com.google.cloud.datacatalog.v1beta1.Taxonomy.newBuilder(taxonomy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           taxonomy_ = value;
         }
@@ -603,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.
@@ -622,6 +685,8 @@ public Builder clearTaxonomy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -630,11 +695,13 @@ public Builder clearTaxonomy() {
      * .google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;
      */
     public com.google.cloud.datacatalog.v1beta1.Taxonomy.Builder getTaxonomyBuilder() {
-      
+
       onChanged();
       return getTaxonomyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The taxonomy to update. Only description, display_name, and activated
      * policy types can be updated.
@@ -646,11 +713,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.
@@ -659,14 +729,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_;
@@ -674,8 +747,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
@@ -684,12 +762,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -698,16 +779,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
@@ -731,6 +817,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -740,8 +828,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();
         onChanged();
@@ -752,6 +839,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -765,7 +854,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -777,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
@@ -798,6 +889,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -808,11 +901,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -826,11 +921,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
@@ -841,21 +939,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);
     }
 
@@ -865,12 +966,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();
   }
@@ -879,27 +980,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;
@@ -914,6 +1015,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..7aa28ec1ab61 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 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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/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 2b2f79282bf6..dc84b6ccbe45 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,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -64,29 +86,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 { @@ -95,6 +117,7 @@ public java.lang.String getViewQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, viewQuery_); } @@ -131,15 +153,15 @@ public int getSerializedSize() { @java.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; } @@ -158,130 +180,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(); @@ -291,9 +319,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 @@ -312,7 +340,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); + com.google.cloud.datacatalog.v1beta1.ViewSpec result = + new com.google.cloud.datacatalog.v1beta1.ViewSpec(this); result.viewQuery_ = viewQuery_; onBuilt(); return result; @@ -322,38 +351,39 @@ public com.google.cloud.datacatalog.v1beta1.ViewSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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; @@ -392,17 +422,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - viewQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + viewQuery_ = input.readStringRequireUtf8(); + + 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) { @@ -415,18 +447,20 @@ public Builder mergeFrom( 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; @@ -435,20 +469,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 { @@ -456,61 +491,68 @@ 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) { + public Builder setViewQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + viewQuery_ = value; 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() { - + viewQuery_ = getDefaultInstance().getViewQuery(); onChanged(); 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) { + public Builder setViewQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + viewQuery_ = 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); } @@ -520,12 +562,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(); } @@ -534,27 +576,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; @@ -569,6 +611,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..2476de2aa2bb 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 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/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/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/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/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 61466a4701e9..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,1399 +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 static abstract class PolicyTagManagerImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void listTaxonomies(com.google.cloud.datacatalog.v1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public 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.
-     * 
- */ - public 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
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>( - this, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1.ListTaxonomiesResponse>( - this, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1.Taxonomy>( - this, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1.PolicyTag>( - this, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1.DeletePolicyTagRequest, - com.google.protobuf.Empty>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_GET_POLICY_TAG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 PolicyTagManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PolicyTagManagerImplBase 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(); - } - } - } - - 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 5e4e79fc0d95..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\332\001\n\037com.google.cl" + - "oud.datacatalog.v1B\rBigQueryProtoP\001ZFgoo" + - "gle.golang.org/genproto/googleapis/cloud" + - "/datacatalog/v1;datacatalog\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.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/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 5718a892fcc3..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,61 +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*{\n\020Integrate" + - "dSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIED" + - "\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022DA" + - "TAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004B\313\001\n\037com" + - ".google.cloud.datacatalog.v1P\001ZFgoogle.g" + - "olang.org/genproto/googleapis/cloud/data" + - "catalog/v1;datacatalog\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.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/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 1e1bdc5102d1..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\"\234\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\031\n\014source_entry\030\003 \001(\tB\003\340A\003\022L\n\022s" + - "torage_properties\030\004 \001(\0132..google.cloud.d" + - "atacatalog.v1.StoragePropertiesH\000\"C\n\007Ser" + - "vice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_S" + - "TORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n\021" + - "StorageProperties\022\024\n\014file_pattern\030\001 \003(\t\022" + - "\021\n\tfile_type\030\002 \001(\tB\334\001\n\037com.google.cloud." + - "datacatalog.v1B\017DataSourceProtoP\001ZFgoogl" + - "e.golang.org/genproto/googleapis/cloud/d" + - "atacatalog/v1;datacatalog\370\001\001\252\002\033Google.Cl" + - "oud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCa" + - "talog\\V1\352\002\036Google::Cloud::DataCatalog::V" + - "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_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 ac31ea78e87f..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,1023 +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_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_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_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_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\033google/protobuf/" + - "empty.proto\032 google/protobuf/field_mask." + - "proto\"\205\003\n\024SearchCatalogRequest\022K\n\005scope\030" + - "\006 \001(\01327.google.cloud.datacatalog.v1.Sear" + - "chCatalogRequest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001" + - "(\tB\003\340A\001\022\021\n\tpage_size\030\002 \001(\005\022\027\n\npage_token" + - "\030\003 \001(\tB\003\340A\001\022\020\n\010order_by\030\005 \001(\t\032\315\001\n\005Scope\022" + - "\027\n\017include_org_ids\030\002 \003(\t\022\033\n\023include_proj" + - "ect_ids\030\003 \003(\t\022#\n\033include_gcp_public_data" + - "sets\030\007 \001(\010\022!\n\024restricted_locations\030\020 \003(\t" + - "B\003\340A\001\022\031\n\014starred_only\030\022 \001(\010B\003\340A\001\022+\n\034incl" + - "ude_public_tag_templates\030\023 \001(\010B\005\030\001\340A\001\"\210\001" + - "\n\025SearchCatalogResponse\022A\n\007results\030\001 \003(\013" + - "20.google.cloud.datacatalog.v1.SearchCat" + - "alogResult\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013u" + - "nreachable\030\006 \003(\t\"\263\001\n\027CreateEntryGroupReq" + - "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" + - "g.googleapis.com/EntryGroup\022\033\n\016entry_gro" + - "up_id\030\003 \001(\tB\003\340A\002\022<\n\013entry_group\030\002 \001(\0132\'." + - "google.cloud.datacatalog.v1.EntryGroup\"\215" + - "\001\n\027UpdateEntryGroupRequest\022A\n\013entry_grou" + - "p\030\001 \001(\0132\'.google.cloud.datacatalog.v1.En" + - "tryGroupB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goo" + - "gle.protobuf.FieldMask\"\202\001\n\024GetEntryGroup" + - "Request\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatal" + - "og.googleapis.com/EntryGroup\022-\n\tread_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"j\n\027D" + - "eleteEntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A" + - "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" + - "oup\022\022\n\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGro" + - "upsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%data" + - "catalog.googleapis.com/EntryGroup\022\026\n\tpag" + - "e_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340" + - "A\001\"q\n\027ListEntryGroupsResponse\022=\n\014entry_g" + - "roups\030\001 \003(\0132\'.google.cloud.datacatalog.v" + - "1.EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\242\001" + - "\n\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A" + - "\002\372A\'\n%datacatalog.googleapis.com/EntryGr" + - "oup\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\0226\n\005entry\030\002 \001(" + - "\0132\".google.cloud.datacatalog.v1.EntryB\003\340" + - "A\002\"}\n\022UpdateEntryRequest\0226\n\005entry\030\001 \001(\0132" + - "\".google.cloud.datacatalog.v1.EntryB\003\340A\002" + - "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMask\"L\n\022DeleteEntryRequest\0226\n\004name\030" + - "\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleapis.co" + - "m/Entry\"I\n\017GetEntryRequest\0226\n\004name\030\001 \001(\t" + - "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + - "ry\"v\n\022LookupEntryRequest\022\031\n\017linked_resou" + - "rce\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000\022\036\n\024f" + - "ully_qualified_name\030\005 \001(\tH\000B\r\n\013target_na" + - "me\"\322\014\n\005Entry\022;\n\004name\030\001 \001(\tB-\340A\003\372A\'\n%data" + - "catalog.googleapis.com/EntryGroup\022\027\n\017lin" + - "ked_resource\030\t \001(\t\022\034\n\024fully_qualified_na" + - "me\030\035 \001(\t\0226\n\004type\030\002 \001(\0162&.google.cloud.da" + - "tacatalog.v1.EntryTypeH\000\022\035\n\023user_specifi" + - "ed_type\030\020 \001(\tH\000\022O\n\021integrated_system\030\021 \001" + - "(\0162-.google.cloud.datacatalog.v1.Integra" + - "tedSystemB\003\340A\003H\001\022\037\n\025user_specified_syste" + - "m\030\022 \001(\tH\001\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.go" + - "ogle.cloud.datacatalog.v1.GcsFilesetSpec" + - "H\002\022R\n\023bigquery_table_spec\030\014 \001(\0132..google" + - ".cloud.datacatalog.v1.BigQueryTableSpecB" + - "\003\340A\003H\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" + - "(\01324.google.cloud.datacatalog.v1.BigQuer" + - "yDateShardedSpecB\003\340A\003H\002\022M\n\023database_tabl" + - "e_spec\030\030 \001(\0132..google.cloud.datacatalog." + - "v1.DatabaseTableSpecH\003\022\\\n\033data_source_co" + - "nnection_spec\030\033 \001(\01325.google.cloud.datac" + - "atalog.v1.DataSourceConnectionSpecH\003\022@\n\014" + - "routine_spec\030\034 \001(\0132(.google.cloud.dataca" + - "talog.v1.RoutineSpecH\003\022@\n\014fileset_spec\030!" + - " \001(\0132(.google.cloud.datacatalog.v1.Files" + - "etSpecH\003\022\024\n\014display_name\030\003 \001(\t\022\023\n\013descri" + - "ption\030\004 \001(\t\022F\n\020business_context\030% \001(\0132,." + - "google.cloud.datacatalog.v1.BusinessCont" + - "ext\0223\n\006schema\030\005 \001(\0132#.google.cloud.datac" + - "atalog.v1.Schema\022O\n\030source_system_timest" + - "amps\030\007 \001(\0132-.google.cloud.datacatalog.v1" + - ".SystemTimestamps\022>\n\014usage_signal\030\r \001(\0132" + - "(.google.cloud.datacatalog.v1.UsageSigna" + - "l\022>\n\006labels\030\016 \003(\0132..google.cloud.datacat" + - "alog.v1.Entry.LabelsEntry\022A\n\013data_source" + - "\030\024 \001(\0132\'.google.cloud.datacatalog.v1.Dat" + - "aSourceB\003\340A\003\022K\n\020personal_details\030\032 \001(\0132," + - ".google.cloud.datacatalog.v1.PersonalDet" + - "ailsB\003\340A\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.googl" + - "eapis.com/Entry\022Qprojects/{project}/loca" + - "tions/{location}/entryGroups/{entry_grou" + - "p}/entries/{entry}B\014\n\nentry_typeB\010\n\006syst" + - "emB\013\n\ttype_specB\006\n\004spec\"\353\001\n\021DatabaseTabl" + - "eSpec\022F\n\004type\030\001 \001(\01628.google.cloud.datac" + - "atalog.v1.DatabaseTableSpec.TableType\022K\n" + - "\016dataplex_table\030\002 \001(\0132..google.cloud.dat" + - "acatalog.v1.DataplexTableSpecB\003\340A\003\"A\n\tTa" + - "bleType\022\032\n\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006N" + - "ATIVE\020\001\022\014\n\010EXTERNAL\020\002\"Y\n\013FilesetSpec\022J\n\020" + - "dataplex_fileset\030\001 \001(\01320.google.cloud.da" + - "tacatalog.v1.DataplexFilesetSpec\"q\n\030Data" + - "SourceConnectionSpec\022U\n\030bigquery_connect" + - "ion_spec\030\001 \001(\01323.google.cloud.datacatalo" + - "g.v1.BigQueryConnectionSpec\"\303\004\n\013RoutineS" + - "pec\022J\n\014routine_type\030\001 \001(\01624.google.cloud" + - ".datacatalog.v1.RoutineSpec.RoutineType\022" + - "\020\n\010language\030\002 \001(\t\022L\n\021routine_arguments\030\003" + - " \003(\01321.google.cloud.datacatalog.v1.Routi" + - "neSpec.Argument\022\023\n\013return_type\030\004 \001(\t\022\027\n\017" + - "definition_body\030\005 \001(\t\022Q\n\025bigquery_routin" + - "e_spec\030\006 \001(\01320.google.cloud.datacatalog." + - "v1.BigQueryRoutineSpecH\000\032\246\001\n\010Argument\022\014\n" + - "\004name\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.google.cloud" + - ".datacatalog.v1.RoutineSpec.Argument.Mod" + - "e\022\014\n\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_UNSPECIF" + - "IED\020\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003\"O\n\013Rou" + - "tineType\022\034\n\030ROUTINE_TYPE_UNSPECIFIED\020\000\022\023" + - "\n\017SCALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020\002B\r\n\013sy" + - "stem_spec\"\216\001\n\017BusinessContext\022B\n\016entry_o" + - "verview\030\001 \001(\0132*.google.cloud.datacatalog" + - ".v1.EntryOverview\0227\n\010contacts\030\002 \001(\0132%.go" + - "ogle.cloud.datacatalog.v1.Contacts\"!\n\rEn" + - "tryOverview\022\020\n\010overview\030\001 \001(\t\"v\n\010Contact" + - "s\022<\n\006people\030\001 \003(\0132,.google.cloud.datacat" + - "alog.v1.Contacts.Person\032,\n\006Person\022\023\n\013des" + - "ignation\030\001 \001(\t\022\r\n\005email\030\002 \001(\t\"\211\002\n\nEntryG" + - "roup\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\022S\n\027data_catalog_ti" + - "mestamps\030\004 \001(\0132-.google.cloud.datacatalo" + - "g.v1.SystemTimestampsB\003\340A\003:m\352Aj\n%datacat" + - "alog.googleapis.com/EntryGroup\022Aprojects" + - "/{project}/locations/{location}/entryGro" + - "ups/{entry_group}\"\275\001\n\030CreateTagTemplateR" + - "equest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&datacata" + - "log.googleapis.com/TagTemplate\022\034\n\017tag_te" + - "mplate_id\030\003 \001(\tB\003\340A\002\022C\n\014tag_template\030\002 \001" + - "(\0132(.google.cloud.datacatalog.v1.TagTemp" + - "lateB\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004na" + - "me\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis" + - ".com/TagTemplate\"\220\001\n\030UpdateTagTemplateRe" + - "quest\022C\n\014tag_template\030\001 \001(\0132(.google.clo" + - "ud.datacatalog.v1.TagTemplateB\003\340A\002\022/\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" + - "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" + - "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"~\n\020Cre" + - "ateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036d" + - "atacatalog.googleapis.com/Tag\0222\n\003tag\030\002 \001" + - "(\0132 .google.cloud.datacatalog.v1.TagB\003\340A" + - "\002\"w\n\020UpdateTagRequest\0222\n\003tag\030\001 \001(\0132 .goo" + - "gle.cloud.datacatalog.v1.TagB\003\340A\002\022/\n\013upd" + - "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + - "sk\"H\n\020DeleteTagRequest\0224\n\004name\030\001 \001(\tB&\340A" + - "\002\372A \022\036datacatalog.googleapis.com/Tag\"\323\001\n" + - "\035CreateTagTemplateFieldRequest\022>\n\006parent" + - "\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.c" + - "om/TagTemplate\022\"\n\025tag_template_field_id\030" + - "\002 \001(\tB\003\340A\002\022N\n\022tag_template_field\030\003 \001(\0132-" + - ".google.cloud.datacatalog.v1.TagTemplate" + - "FieldB\003\340A\002\"\350\001\n\035UpdateTagTemplateFieldReq" + - "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog." + - "googleapis.com/TagTemplateField\022N\n\022tag_t" + - "emplate_field\030\002 \001(\0132-.google.cloud.datac" + - "atalog.v1.TagTemplateFieldB\003\340A\002\0224\n\013updat" + - "e_mask\030\003 \001(\0132\032.google.protobuf.FieldMask" + - "B\003\340A\001\"\212\001\n\035RenameTagTemplateFieldRequest\022" + - "A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.googl" + - "eapis.com/TagTemplateField\022&\n\031new_tag_te" + - "mplate_field_id\030\002 \001(\tB\003\340A\002\"\236\001\n&RenameTag" + - "TemplateFieldEnumValueRequest\022J\n\004name\030\001 " + - "\001(\tB<\340A\002\372A6\n4datacatalog.googleapis.com/" + - "TagTemplateFieldEnumValue\022(\n\033new_enum_va" + - "lue_display_name\030\002 \001(\tB\003\340A\002\"v\n\035DeleteTag" + - "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + - "A-\n+datacatalog.googleapis.com/TagTempla" + - "teField\022\022\n\005force\030\002 \001(\010B\003\340A\002\"p\n\017ListTagsR" + - "equest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036datacata" + - "log.googleapis.com/Tag\022\021\n\tpage_size\030\002 \001(" + - "\005\022\022\n\npage_token\030\003 \001(\t\"[\n\020ListTagsRespons" + - "e\022.\n\004tags\030\001 \003(\0132 .google.cloud.datacatal" + - "og.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\251\001\n\022L" + - "istEntriesRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A" + - "\'\n%datacatalog.googleapis.com/EntryGroup" + - "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + - "-\n\tread_mask\030\004 \001(\0132\032.google.protobuf.Fie" + - "ldMask\"c\n\023ListEntriesResponse\0223\n\007entries" + - "\030\001 \003(\0132\".google.cloud.datacatalog.v1.Ent" + - "ry\022\027\n\017next_page_token\030\002 \001(\t\"J\n\020StarEntry" + - "Request\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatal" + - "og.googleapis.com/Entry\"\023\n\021StarEntryResp" + - "onse\"L\n\022UnstarEntryRequest\0226\n\004name\030\001 \001(\t" + - "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + - "ry\"\025\n\023UnstarEntryResponse\"\235\001\n\032ModifyEntr" + - "yOverviewRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + - "datacatalog.googleapis.com/Entry\022G\n\016entr" + - "y_overview\030\002 \001(\0132*.google.cloud.datacata" + - "log.v1.EntryOverviewB\003\340A\002\"\222\001\n\032ModifyEntr" + - "yContactsRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n " + - "datacatalog.googleapis.com/Entry\022<\n\010cont" + - "acts\030\002 \001(\0132%.google.cloud.datacatalog.v1" + - ".ContactsB\003\340A\002*\300\001\n\tEntryType\022\032\n\026ENTRY_TY" + - "PE_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\004\022\013\n\007CLUSTER\020" + - "\006\022\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTIO" + - "N\020\010\022\013\n\007ROUTINE\020\t\022\010\n\004LAKE\020\n\022\010\n\004ZONE\020\013\022\013\n\007" + - "SERVICE\020\0162\3617\n\013DataCatalog\022\243\001\n\rSearchCata" + - "log\0221.google.cloud.datacatalog.v1.Search" + - "CatalogRequest\0322.google.cloud.datacatalo" + - "g.v1.SearchCatalogResponse\"+\202\323\344\223\002\027\"\022/v1/" + - "catalog:search:\001*\332A\013scope,query\022\333\001\n\020Crea" + - "teEntryGroup\0224.google.cloud.datacatalog." + - "v1.CreateEntryGroupRequest\032\'.google.clou" + - "d.datacatalog.v1.EntryGroup\"h\202\323\344\223\002>\"//v1" + - "/{parent=projects/*/locations/*}/entryGr" + - "oups:\013entry_group\332A!parent,entry_group_i" + - "d,entry_group\022\274\001\n\rGetEntryGroup\0221.google" + - ".cloud.datacatalog.v1.GetEntryGroupReque" + - "st\032\'.google.cloud.datacatalog.v1.EntryGr" + - "oup\"O\202\323\344\223\0021\022//v1/{name=projects/*/locati" + - "ons/*/entryGroups/*}\332A\004name\332A\016name,read_" + - "mask\022\353\001\n\020UpdateEntryGroup\0224.google.cloud" + - ".datacatalog.v1.UpdateEntryGroupRequest\032" + - "\'.google.cloud.datacatalog.v1.EntryGroup" + - "\"x\202\323\344\223\002J2;/v1/{entry_group.name=projects" + - "/*/locations/*/entryGroups/*}:\013entry_gro" + - "up\332A\013entry_group\332A\027entry_group,update_ma" + - "sk\022\240\001\n\020DeleteEntryGroup\0224.google.cloud.d" + - "atacatalog.v1.DeleteEntryGroupRequest\032\026." + - "google.protobuf.Empty\">\202\323\344\223\0021*//v1/{name" + - "=projects/*/locations/*/entryGroups/*}\332A" + - "\004name\022\276\001\n\017ListEntryGroups\0223.google.cloud" + - ".datacatalog.v1.ListEntryGroupsRequest\0324" + - ".google.cloud.datacatalog.v1.ListEntryGr" + - "oupsResponse\"@\202\323\344\223\0021\022//v1/{parent=projec" + - "ts/*/locations/*}/entryGroups\332A\006parent\022\304" + - "\001\n\013CreateEntry\022/.google.cloud.datacatalo" + - "g.v1.CreateEntryRequest\032\".google.cloud.d" + - "atacatalog.v1.Entry\"`\202\323\344\223\002B\"9/v1/{parent" + - "=projects/*/locations/*/entryGroups/*}/e" + - "ntries:\005entry\332A\025parent,entry_id,entry\022\316\001" + - "\n\013UpdateEntry\022/.google.cloud.datacatalog" + - ".v1.UpdateEntryRequest\032\".google.cloud.da" + - "tacatalog.v1.Entry\"j\202\323\344\223\002H2?/v1/{entry.n" + - "ame=projects/*/locations/*/entryGroups/*" + - "/entries/*}:\005entry\332A\005entry\332A\021entry,updat" + - "e_mask\022\240\001\n\013DeleteEntry\022/.google.cloud.da" + - "tacatalog.v1.DeleteEntryRequest\032\026.google" + - ".protobuf.Empty\"H\202\323\344\223\002;*9/v1/{name=proje" + - "cts/*/locations/*/entryGroups/*/entries/" + - "*}\332A\004name\022\246\001\n\010GetEntry\022,.google.cloud.da" + - "tacatalog.v1.GetEntryRequest\032\".google.cl" + - "oud.datacatalog.v1.Entry\"H\202\323\344\223\002;\0229/v1/{n" + - "ame=projects/*/locations/*/entryGroups/*" + - "/entries/*}\332A\004name\022~\n\013LookupEntry\022/.goog" + - "le.cloud.datacatalog.v1.LookupEntryReque" + - "st\032\".google.cloud.datacatalog.v1.Entry\"\032" + - "\202\323\344\223\002\024\022\022/v1/entries:lookup\022\274\001\n\013ListEntri" + - "es\022/.google.cloud.datacatalog.v1.ListEnt" + - "riesRequest\0320.google.cloud.datacatalog.v" + - "1.ListEntriesResponse\"J\202\323\344\223\002;\0229/v1/{pare" + - "nt=projects/*/locations/*/entryGroups/*}" + - "/entries\332A\006parent\022\324\001\n\023ModifyEntryOvervie" + - "w\0227.google.cloud.datacatalog.v1.ModifyEn" + - "tryOverviewRequest\032*.google.cloud.dataca" + - "talog.v1.EntryOverview\"X\202\323\344\223\002R\"M/v1/{nam" + - "e=projects/*/locations/*/entryGroups/*/e" + - "ntries/*}:modifyEntryOverview:\001*\022\317\001\n\023Mod" + - "ifyEntryContacts\0227.google.cloud.datacata" + - "log.v1.ModifyEntryContactsRequest\032%.goog" + - "le.cloud.datacatalog.v1.Contacts\"X\202\323\344\223\002R" + - "\"M/v1/{name=projects/*/locations/*/entry" + - "Groups/*/entries/*}:modifyEntryContacts:" + - "\001*\022\342\001\n\021CreateTagTemplate\0225.google.cloud." + - "datacatalog.v1.CreateTagTemplateRequest\032" + - "(.google.cloud.datacatalog.v1.TagTemplat" + - "e\"l\202\323\344\223\002@\"0/v1/{parent=projects/*/locati" + - "ons/*}/tagTemplates:\014tag_template\332A#pare" + - "nt,tag_template_id,tag_template\022\257\001\n\016GetT" + - "agTemplate\0222.google.cloud.datacatalog.v1" + - ".GetTagTemplateRequest\032(.google.cloud.da" + - "tacatalog.v1.TagTemplate\"?\202\323\344\223\0022\0220/v1/{n" + - "ame=projects/*/locations/*/tagTemplates/" + - "*}\332A\004name\022\363\001\n\021UpdateTagTemplate\0225.google" + - ".cloud.datacatalog.v1.UpdateTagTemplateR" + - "equest\032(.google.cloud.datacatalog.v1.Tag" + - "Template\"}\202\323\344\223\002M2=/v1/{tag_template.name" + - "=projects/*/locations/*/tagTemplates/*}:" + - "\014tag_template\332A\014tag_template\332A\030tag_templ" + - "ate,update_mask\022\251\001\n\021DeleteTagTemplate\0225." + - "google.cloud.datacatalog.v1.DeleteTagTem" + - "plateRequest\032\026.google.protobuf.Empty\"E\202\323" + - "\344\223\0022*0/v1/{name=projects/*/locations/*/t" + - "agTemplates/*}\332A\nname,force\022\215\002\n\026CreateTa" + - "gTemplateField\022:.google.cloud.datacatalo" + - "g.v1.CreateTagTemplateFieldRequest\032-.goo" + - "gle.cloud.datacatalog.v1.TagTemplateFiel" + - "d\"\207\001\202\323\344\223\002O\"9/v1/{parent=projects/*/locat" + - "ions/*/tagTemplates/*}/fields:\022tag_templ" + - "ate_field\332A/parent,tag_template_field_id" + - ",tag_template_field\022\233\002\n\026UpdateTagTemplat" + - "eField\022:.google.cloud.datacatalog.v1.Upd" + - "ateTagTemplateFieldRequest\032-.google.clou" + - "d.datacatalog.v1.TagTemplateField\"\225\001\202\323\344\223" + - "\002O29/v1/{name=projects/*/locations/*/tag" + - "Templates/*/fields/*}:\022tag_template_fiel" + - "d\332A\027name,tag_template_field\332A#name,tag_t" + - "emplate_field,update_mask\022\361\001\n\026RenameTagT" + - "emplateField\022:.google.cloud.datacatalog." + - "v1.RenameTagTemplateFieldRequest\032-.googl" + - "e.cloud.datacatalog.v1.TagTemplateField\"" + - "l\202\323\344\223\002E\"@/v1/{name=projects/*/locations/" + - "*/tagTemplates/*/fields/*}:rename:\001*\332A\036n" + - "ame,new_tag_template_field_id\022\222\002\n\037Rename" + - "TagTemplateFieldEnumValue\022C.google.cloud" + - ".datacatalog.v1.RenameTagTemplateFieldEn" + - "umValueRequest\032-.google.cloud.datacatalo" + - "g.v1.TagTemplateField\"{\202\323\344\223\002R\"M/v1/{name" + - "=projects/*/locations/*/tagTemplates/*/f" + - "ields/*/enumValues/*}:rename:\001*\332A name,n" + - "ew_enum_value_display_name\022\274\001\n\026DeleteTag" + - "TemplateField\022:.google.cloud.datacatalog" + - ".v1.DeleteTagTemplateFieldRequest\032\026.goog" + - "le.protobuf.Empty\"N\202\323\344\223\002;*9/v1/{name=pro" + - "jects/*/locations/*/tagTemplates/*/field" + - "s/*}\332A\nname,force\022\371\001\n\tCreateTag\022-.google" + - ".cloud.datacatalog.v1.CreateTagRequest\032 " + - ".google.cloud.datacatalog.v1.Tag\"\232\001\202\323\344\223\002" + - "\206\001\"@/v1/{parent=projects/*/locations/*/e" + - "ntryGroups/*/entries/*}/tags:\003tagZ=\"6/v1" + - "/{parent=projects/*/locations/*/entryGro" + - "ups/*}/tags:\003tag\332A\nparent,tag\022\214\002\n\tUpdate" + - "Tag\022-.google.cloud.datacatalog.v1.Update" + - "TagRequest\032 .google.cloud.datacatalog.v1" + - ".Tag\"\255\001\202\323\344\223\002\216\0012D/v1/{tag.name=projects/*" + - "/locations/*/entryGroups/*/entries/*/tag" + - "s/*}:\003tagZA2:/v1/{tag.name=projects/*/lo" + - "cations/*/entryGroups/*/tags/*}:\003tag\332A\003t" + - "ag\332A\017tag,update_mask\022\336\001\n\tDeleteTag\022-.goo" + - "gle.cloud.datacatalog.v1.DeleteTagReques" + - "t\032\026.google.protobuf.Empty\"\211\001\202\323\344\223\002|*@/v1/" + - "{name=projects/*/locations/*/entryGroups" + - "/*/entries/*/tags/*}Z8*6/v1/{name=projec" + - "ts/*/locations/*/entryGroups/*/tags/*}\332A" + - "\004name\022\365\001\n\010ListTags\022,.google.cloud.dataca" + - "talog.v1.ListTagsRequest\032-.google.cloud." + - "datacatalog.v1.ListTagsResponse\"\213\001\202\323\344\223\002|" + - "\022@/v1/{parent=projects/*/locations/*/ent" + - "ryGroups/*/entries/*}/tagsZ8\0226/v1/{paren" + - "t=projects/*/locations/*/entryGroups/*}/" + - "tags\332A\006parent\022\274\001\n\tStarEntry\022-.google.clo" + - "ud.datacatalog.v1.StarEntryRequest\032..goo" + - "gle.cloud.datacatalog.v1.StarEntryRespon" + - "se\"P\202\323\344\223\002C\">/v1/{name=projects/*/locatio" + - "ns/*/entryGroups/*/entries/*}:star:\001*\332A\004" + - "name\022\304\001\n\013UnstarEntry\022/.google.cloud.data" + - "catalog.v1.UnstarEntryRequest\0320.google.c" + - "loud.datacatalog.v1.UnstarEntryResponse\"" + - "R\202\323\344\223\002E\"@/v1/{name=projects/*/locations/" + - "*/entryGroups/*/entries/*}:unstar:\001*\332A\004n" + - "ame\022\362\001\n\014SetIamPolicy\022\".google.iam.v1.Set" + - "IamPolicyRequest\032\025.google.iam.v1.Policy\"" + - "\246\001\202\323\344\223\002\215\001\"A/v1/{resource=projects/*/loca" + - "tions/*/tagTemplates/*}:setIamPolicy:\001*Z" + - "E\"@/v1/{resource=projects/*/locations/*/" + - "entryGroups/*}:setIamPolicy:\001*\332A\017resourc" + - "e,policy\022\274\002\n\014GetIamPolicy\022\".google.iam.v" + - "1.GetIamPolicyRequest\032\025.google.iam.v1.Po" + - "licy\"\360\001\202\323\344\223\002\336\001\"A/v1/{resource=projects/*" + - "/locations/*/tagTemplates/*}:getIamPolic" + - "y:\001*ZE\"@/v1/{resource=projects/*/locatio" + - "ns/*/entryGroups/*}:getIamPolicy:\001*ZO\"J/" + - "v1/{resource=projects/*/locations/*/entr" + - "yGroups/*/entries/*}:getIamPolicy:\001*\332A\010r" + - "esource\022\343\002\n\022TestIamPermissions\022(.google." + - "iam.v1.TestIamPermissionsRequest\032).googl" + - "e.iam.v1.TestIamPermissionsResponse\"\367\001\202\323" + - "\344\223\002\360\001\"G/v1/{resource=projects/*/location" + - "s/*/tagTemplates/*}:testIamPermissions:\001" + - "*ZK\"F/v1/{resource=projects/*/locations/" + - "*/entryGroups/*}:testIamPermissions:\001*ZU" + - "\"P/v1/{resource=projects/*/locations/*/e" + - "ntryGroups/*/entries/*}:testIamPermissio" + - "ns:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + - "ttps://www.googleapis.com/auth/cloud-pla", - "tformB\217\003\n\037com.google.cloud.datacatalog.v" + - "1P\001ZFgoogle.golang.org/genproto/googleap" + - "is/cloud/datacatalog/v1;datacatalog\370\001\001\252\002" + - "\033Google.Cloud.DataCatalog.V1\312\002\033Google\\Cl" + - "oud\\DataCatalog\\V1\352\002\036Google::Cloud::Data" + - "Catalog::V1\352A\300\001\n4datacatalog.googleapis." + - "com/TagTemplateFieldEnumValue\022\207\001projects" + - "/{project}/locations/{location}/tagTempl" + - "ates/{tag_template}/fields/{tag_template" + - "_field_id}/enumValues/{enum_value_displa" + - "y_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.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.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.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", "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", "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", "GcsFilesetSpec", "BigqueryTableSpec", "BigqueryDateShardedSpec", "DatabaseTableSpec", "DataSourceConnectionSpec", "RoutineSpec", "FilesetSpec", "DisplayName", "Description", "BusinessContext", "Schema", "SourceSystemTimestamps", "UsageSignal", "Labels", "DataSource", "PersonalDetails", "EntryType", "System", "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", }); - 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_BusinessContext_descriptor = - getDescriptor().getMessageTypes().get(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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_ModifyEntryOverviewRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - 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(43); - 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); - 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.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/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 fd49f4c590c2..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,108 +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\336\001\n\037com.google.cloud.datacat" + - "alog.v1B\021DataplexSpecProtoP\001ZFgoogle.gol" + - "ang.org/genproto/googleapis/cloud/dataca" + - "talog/v1;datacatalog\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.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 04b54dd9a1b7..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,31 +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 7936aec4296c..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,40 +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 809b5dd85cd9..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,40 +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 8b98f89104c0..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,31 +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/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 b1a65b3644df..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" + - "\"z\n\016GcsFilesetSpec\022\032\n\rfile_patterns\030\001 \003(" + - "\tB\003\340A\002\022L\n\025sample_gcs_file_specs\030\002 \003(\0132(." + - "google.cloud.datacatalog.v1.GcsFileSpecB" + - "\003\340A\003\"\212\001\n\013GcsFileSpec\022\026\n\tfile_path\030\001 \001(\tB" + - "\003\340A\002\022J\n\016gcs_timestamps\030\002 \001(\0132-.google.cl" + - "oud.datacatalog.v1.SystemTimestampsB\003\340A\003" + - "\022\027\n\nsize_bytes\030\004 \001(\003B\003\340A\003B\313\001\n\037com.google" + - ".cloud.datacatalog.v1P\001ZFgoogle.golang.o" + - "rg/genproto/googleapis/cloud/datacatalog" + - "/v1;datacatalog\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 3f9b0365696f..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,135 +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\340\001\n\037com.google.cloud.datacatalo" + - "g.v1B\023PhysicalSchemaProtoP\001ZFgoogle.gola" + - "ng.org/genproto/googleapis/cloud/datacat" + - "alog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.Da" + - "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" + - "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" + - "to3" - }; - 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 aa1235180bd0..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,354 +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_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/timestamps.pro" + - "to\032\036google/iam/v1/iam_policy.proto\032\032goog" + - "le/iam/v1/policy.proto\032\033google/protobuf/" + - "empty.proto\032 google/protobuf/field_mask." + - "proto\"\316\003\n\010Taxonomy\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" + - "\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030" + - "\003 \001(\tB\003\340A\001\022\035\n\020policy_tag_count\030\004 \001(\005B\003\340A" + - "\003\022O\n\023taxonomy_timestamps\030\005 \001(\0132-.google." + - "cloud.datacatalog.v1.SystemTimestampsB\003\340" + - "A\003\022U\n\026activated_policy_types\030\006 \003(\01620.goo" + - "gle.cloud.datacatalog.v1.Taxonomy.Policy" + - "TypeB\003\340A\001\"J\n\nPolicyType\022\033\n\027POLICY_TYPE_U" + - "NSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCESS_CONT" + - "ROL\020\001:g\352Ad\n#datacatalog.googleapis.com/T" + - "axonomy\022=projects/{project}/locations/{l" + - "ocation}/taxonomies/{taxonomy}\"\214\002\n\tPolic" + - "yTag\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030" + - "\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022\031\n\021paren" + - "t_policy_tag\030\004 \001(\t\022\036\n\021child_policy_tags\030" + - "\005 \003(\tB\003\340A\003:\200\001\352A}\n$datacatalog.googleapis" + - ".com/PolicyTag\022Uprojects/{project}/locat" + - "ions/{location}/taxonomies/{taxonomy}/po" + - "licyTags/{policy_tag}\"\215\001\n\025CreateTaxonomy" + - "Request\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacat" + - "alog.googleapis.com/Taxonomy\0227\n\010taxonomy" + - "\030\002 \001(\0132%.google.cloud.datacatalog.v1.Tax" + - "onomy\"R\n\025DeleteTaxonomyRequest\0229\n\004name\030\001" + - " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" + - "/Taxonomy\"\201\001\n\025UpdateTaxonomyRequest\0227\n\010t" + - "axonomy\030\001 \001(\0132%.google.cloud.datacatalog" + - ".v1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.goog" + - "le.protobuf.FieldMask\"{\n\025ListTaxonomiesR" + - "equest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacata" + - "log.googleapis.com/Taxonomy\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"l\n\026ListTaxono" + - "miesResponse\0229\n\ntaxonomies\030\001 \003(\0132%.googl" + - "e.cloud.datacatalog.v1.Taxonomy\022\027\n\017next_" + - "page_token\030\002 \001(\t\"O\n\022GetTaxonomyRequest\0229" + - "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.google" + - "apis.com/Taxonomy\"\222\001\n\026CreatePolicyTagReq" + - "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacatalo" + - "g.googleapis.com/PolicyTag\022:\n\npolicy_tag" + - "\030\002 \001(\0132&.google.cloud.datacatalog.v1.Pol" + - "icyTag\"T\n\026DeletePolicyTagRequest\022:\n\004name" + - "\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.googleapis.c" + - "om/PolicyTag\"\205\001\n\026UpdatePolicyTagRequest\022" + - ":\n\npolicy_tag\030\001 \001(\0132&.google.cloud.datac" + - "atalog.v1.PolicyTag\022/\n\013update_mask\030\002 \001(\013" + - "2\032.google.protobuf.FieldMask\"|\n\025ListPoli" + - "cyTagsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$d" + - "atacatalog.googleapis.com/PolicyTag\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"n\n\026Li" + - "stPolicyTagsResponse\022;\n\013policy_tags\030\001 \003(" + - "\0132&.google.cloud.datacatalog.v1.PolicyTa" + - "g\022\027\n\017next_page_token\030\002 \001(\t\"Q\n\023GetPolicyT" + - "agRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacat" + - "alog.googleapis.com/PolicyTag2\273\025\n\020Policy" + - "TagManager\022\277\001\n\016CreateTaxonomy\0222.google.c" + - "loud.datacatalog.v1.CreateTaxonomyReques" + - "t\032%.google.cloud.datacatalog.v1.Taxonomy" + - "\"R\202\323\344\223\002:\"./v1/{parent=projects/*/locatio" + - "ns/*}/taxonomies:\010taxonomy\332A\017parent,taxo" + - "nomy\022\233\001\n\016DeleteTaxonomy\0222.google.cloud.d" + - "atacatalog.v1.DeleteTaxonomyRequest\032\026.go" + - "ogle.protobuf.Empty\"=\202\323\344\223\0020*./v1/{name=p" + - "rojects/*/locations/*/taxonomies/*}\332A\004na" + - "me\022\301\001\n\016UpdateTaxonomy\0222.google.cloud.dat" + - "acatalog.v1.UpdateTaxonomyRequest\032%.goog" + - "le.cloud.datacatalog.v1.Taxonomy\"T\202\323\344\223\002C" + - "27/v1/{taxonomy.name=projects/*/location" + - "s/*/taxonomies/*}:\010taxonomy\332A\010taxonomy\022\272" + - "\001\n\016ListTaxonomies\0222.google.cloud.datacat" + - "alog.v1.ListTaxonomiesRequest\0323.google.c" + - "loud.datacatalog.v1.ListTaxonomiesRespon" + - "se\"?\202\323\344\223\0020\022./v1/{parent=projects/*/locat" + - "ions/*}/taxonomies\332A\006parent\022\244\001\n\013GetTaxon" + - "omy\022/.google.cloud.datacatalog.v1.GetTax" + - "onomyRequest\032%.google.cloud.datacatalog." + - "v1.Taxonomy\"=\202\323\344\223\0020\022./v1/{name=projects/" + - "*/locations/*/taxonomies/*}\332A\004name\022\323\001\n\017C" + - "reatePolicyTag\0223.google.cloud.datacatalo" + - "g.v1.CreatePolicyTagRequest\032&.google.clo" + - "ud.datacatalog.v1.PolicyTag\"c\202\323\344\223\002I\";/v1" + - "/{parent=projects/*/locations/*/taxonomi" + - "es/*}/policyTags:\npolicy_tag\332A\021parent,po" + - "licy_tag\022\252\001\n\017DeletePolicyTag\0223.google.cl" + - "oud.datacatalog.v1.DeletePolicyTagReques" + - "t\032\026.google.protobuf.Empty\"J\202\323\344\223\002=*;/v1/{" + - "name=projects/*/locations/*/taxonomies/*" + - "/policyTags/*}\332A\004name\022\327\001\n\017UpdatePolicyTa" + - "g\0223.google.cloud.datacatalog.v1.UpdatePo" + - "licyTagRequest\032&.google.cloud.datacatalo" + - "g.v1.PolicyTag\"g\202\323\344\223\002T2F/v1/{policy_tag." + - "name=projects/*/locations/*/taxonomies/*" + - "/policyTags/*}:\npolicy_tag\332A\npolicy_tag\022" + - "\307\001\n\016ListPolicyTags\0222.google.cloud.dataca" + - "talog.v1.ListPolicyTagsRequest\0323.google." + - "cloud.datacatalog.v1.ListPolicyTagsRespo" + - "nse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/loca" + - "tions/*/taxonomies/*}/policyTags\332A\006paren" + - "t\022\264\001\n\014GetPolicyTag\0220.google.cloud.dataca" + - "talog.v1.GetPolicyTagRequest\032&.google.cl" + - "oud.datacatalog.v1.PolicyTag\"J\202\323\344\223\002=\022;/v" + - "1/{name=projects/*/locations/*/taxonomie" + - "s/*/policyTags/*}\332A\004name\022\352\001\n\014GetIamPolic" + - "y\022\".google.iam.v1.GetIamPolicyRequest\032\025." + - "google.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{res" + - "ource=projects/*/locations/*/taxonomies/" + - "*}:getIamPolicy:\001*ZQ\"L/v1/{resource=proj" + - "ects/*/locations/*/taxonomies/*/policyTa" + - "gs/*}:getIamPolicy:\001*\022\352\001\n\014SetIamPolicy\022\"" + - ".google.iam.v1.SetIamPolicyRequest\032\025.goo" + - "gle.iam.v1.Policy\"\236\001\202\323\344\223\002\227\001\"?/v1/{resour" + - "ce=projects/*/locations/*/taxonomies/*}:" + - "setIamPolicy:\001*ZQ\"L/v1/{resource=project" + - "s/*/locations/*/taxonomies/*/policyTags/" + - "*}:setIamPolicy:\001*\022\226\002\n\022TestIamPermission" + - "s\022(.google.iam.v1.TestIamPermissionsRequ" + - "est\032).google.iam.v1.TestIamPermissionsRe" + - "sponse\"\252\001\202\323\344\223\002\243\001\"E/v1/{resource=projects" + - "/*/locations/*/taxonomies/*}:testIamPerm" + - "issions:\001*ZW\"R/v1/{resource=projects/*/l" + - "ocations/*/taxonomies/*/policyTags/*}:te" + - "stIamPermissions:\001*\032N\312A\032datacatalog.goog" + - "leapis.com\322A.https://www.googleapis.com/" + - "auth/cloud-platformB\342\001\n\037com.google.cloud" + - ".datacatalog.v1B\025PolicyTagManagerProtoP\001" + - "ZFgoogle.golang.org/genproto/googleapis/" + - "cloud/datacatalog/v1;datacatalog\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.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.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", }); - 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", }); - 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.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 7334883db0b7..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\"\335\001\n\022SerializedTaxo" + - "nomy\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\022\023\n\013descr" + - "iption\030\002 \001(\t\022E\n\013policy_tags\030\003 \003(\01320.goog" + - "le.cloud.datacatalog.v1.SerializedPolicy" + - "Tag\022P\n\026activated_policy_types\030\004 \003(\01620.go" + - "ogle.cloud.datacatalog.v1.Taxonomy.Polic" + - "yType\"\246\001\n\023SerializedPolicyTag\022\022\n\npolicy_" + - "tag\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" + - "description\030\003 \001(\t\022K\n\021child_policy_tags\030\004" + - " \003(\01320.google.cloud.datacatalog.v1.Seria" + - "lizedPolicyTag\"\246\001\n\026ReplaceTaxonomyReques" + - "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" + - "gleapis.com/Taxonomy\022Q\n\023serialized_taxon" + - "omy\030\002 \001(\0132/.google.cloud.datacatalog.v1." + - "SerializedTaxonomyB\003\340A\002\"\367\001\n\027ImportTaxono" + - "miesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#dat" + - "acatalog.googleapis.com/Taxonomy\022B\n\rinli" + - "ne_source\030\002 \001(\0132).google.cloud.datacatal" + - "og.v1.InlineSourceH\000\022Q\n\025cross_regional_s" + - "ource\030\003 \001(\01320.google.cloud.datacatalog.v" + - "1.CrossRegionalSourceH\000B\010\n\006source\"X\n\014Inl" + - "ineSource\022H\n\ntaxonomies\030\001 \003(\0132/.google.c" + - "loud.datacatalog.v1.SerializedTaxonomyB\003" + - "\340A\002\"T\n\023CrossRegionalSource\022=\n\010taxonomy\030\001" + - " \001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com" + - "/Taxonomy\"U\n\030ImportTaxonomiesResponse\0229\n" + - "\ntaxonomies\030\001 \003(\0132%.google.cloud.datacat" + - "alog.v1.Taxonomy\"\307\001\n\027ExportTaxonomiesReq" + - "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" + - "g.googleapis.com/Taxonomy\022?\n\ntaxonomies\030" + - "\002 \003(\tB+\340A\002\372A%\n#datacatalog.googleapis.co" + - "m/Taxonomy\022\037\n\025serialized_taxonomies\030\003 \001(" + - "\010H\000B\r\n\013destination\"_\n\030ExportTaxonomiesRe" + - "sponse\022C\n\ntaxonomies\030\001 \003(\0132/.google.clou" + - "d.datacatalog.v1.SerializedTaxonomy2\247\005\n\035" + - "PolicyTagManagerSerialization\022\260\001\n\017Replac" + - "eTaxonomy\0223.google.cloud.datacatalog.v1." + - "ReplaceTaxonomyRequest\032%.google.cloud.da" + - "tacatalog.v1.Taxonomy\"A\202\323\344\223\002;\"6/v1/{name" + - "=projects/*/locations/*/taxonomies/*}:re" + - "place:\001*\022\301\001\n\020ImportTaxonomies\0224.google.c" + - "loud.datacatalog.v1.ImportTaxonomiesRequ" + - "est\0325.google.cloud.datacatalog.v1.Import" + - "TaxonomiesResponse\"@\202\323\344\223\002:\"5/v1/{parent=" + - "projects/*/locations/*}/taxonomies:impor" + - "t:\001*\022\276\001\n\020ExportTaxonomies\0224.google.cloud" + - ".datacatalog.v1.ExportTaxonomiesRequest\032" + - "5.google.cloud.datacatalog.v1.ExportTaxo" + - "nomiesResponse\"=\202\323\344\223\0027\0225/v1/{parent=proj" + - "ects/*/locations/*}/taxonomies:export\032N\312" + - "A\032datacatalog.googleapis.com\322A.https://w" + - "ww.googleapis.com/auth/cloud-platformB\357\001" + - "\n\037com.google.cloud.datacatalog.v1B\"Polic" + - "yTagManagerSerializationProtoP\001ZFgoogle." + - "golang.org/genproto/googleapis/cloud/dat" + - "acatalog/v1;datacatalog\370\001\001\252\002\033Google.Clou" + - "d.DataCatalog.V1\312\002\033Google\\Cloud\\DataCata" + - "log\\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 deb83f413f64..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,77 +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; - - 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\"\247\001\n\014ColumnSchema\022\023\n\006colum" + - "n\030\006 \001(\tB\003\340A\002\022\021\n\004type\030\001 \001(\tB\003\340A\002\022\030\n\013descr" + - "iption\030\002 \001(\tB\003\340A\001\022\021\n\004mode\030\003 \001(\tB\003\340A\001\022B\n\n" + - "subcolumns\030\007 \003(\0132).google.cloud.datacata" + - "log.v1.ColumnSchemaB\003\340A\001B\313\001\n\037com.google." + - "cloud.datacatalog.v1P\001ZFgoogle.golang.or" + - "g/genproto/googleapis/cloud/datacatalog/" + - "v1;datacatalog\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[] { - 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", "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/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 f3b8611b5fd0..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\"\256\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\022O\n\021integrated_system\030\010 \001" + - "(\0162-.google.cloud.datacatalog.v1.Integra" + - "tedSystemB\003\340A\003H\000\022\037\n\025user_specified_syste" + - "m\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\036SEAR" + - "CH_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\313\001\n\037c" + - "om.google.cloud.datacatalog.v1P\001ZFgoogle" + - ".golang.org/genproto/googleapis/cloud/da" + - "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" + - "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" + - "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" + - "b\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.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 70841f86c9f5..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,113 +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\"\350\001\n\021BigQueryTableSpec\022L\n" + - "\021table_source_type\030\001 \001(\0162,.google.cloud." + - "datacatalog.v1.TableSourceTypeB\003\340A\003\022:\n\tv" + - "iew_spec\030\002 \001(\0132%.google.cloud.datacatalo" + - "g.v1.ViewSpecH\000\022<\n\ntable_spec\030\003 \001(\0132&.go" + - "ogle.cloud.datacatalog.v1.TableSpecH\000B\013\n" + - "\ttype_spec\"#\n\010ViewSpec\022\027\n\nview_query\030\001 \001" + - "(\tB\003\340A\003\"L\n\tTableSpec\022?\n\rgrouped_entry\030\001 " + - "\001(\tB(\340A\003\372A\"\n datacatalog.googleapis.com/" + - "Entry\"\255\001\n\027BigQueryDateShardedSpec\0229\n\007dat" + - "aset\030\001 \001(\tB(\340A\003\372A\"\n datacatalog.googleap" + - "is.com/Entry\022\031\n\014table_prefix\030\002 \001(\tB\003\340A\003\022" + - "\030\n\013shard_count\030\003 \001(\003B\003\340A\003\022\"\n\025latest_shar" + - "d_resource\030\004 \001(\tB\003\340A\003*{\n\017TableSourceType" + - "\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rB" + - "IGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BI" + - "GQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.googl" + - "e.cloud.datacatalog.v1P\001ZFgoogle.golang." + - "org/genproto/googleapis/cloud/datacatalo" + - "g/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataC" + - "atalog.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.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 a58e0e0ae10e..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,211 +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\"\206\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010template\030\002 \001" + - "(\tB\003\340A\002\022\"\n\025template_display_name\030\005 \001(\tB\003" + - "\340A\003\022\020\n\006column\030\004 \001(\tH\000\022A\n\006fields\030\003 \003(\0132,." + - "google.cloud.datacatalog.v1.Tag.FieldsEn" + - "tryB\003\340A\002\032T\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\0224\n\005" + - "value\030\002 \001(\0132%.google.cloud.datacatalog.v" + - "1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.google" + - "apis.com/Tag\022\\projects/{project}/locatio" + - "ns/{location}/entryGroups/{entry_group}/" + - "entries/{entry}/tags/{tag}B\007\n\005scope\"\302\002\n\010" + - "TagField\022\031\n\014display_name\030\001 \001(\tB\003\340A\003\022\026\n\014d" + - "ouble_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\017timestamp_v" + - "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" + - "\022E\n\nenum_value\030\006 \001(\0132/.google.cloud.data" + - "catalog.v1.TagField.EnumValueH\000\022\030\n\016richt" + - "ext_value\030\010 \001(\tH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n" + - "\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind" + - "\"\352\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" + - "y_name\030\002 \001(\t\022\034\n\024is_publicly_readable\030\005 \001" + - "(\010\022I\n\006fields\030\003 \003(\01324.google.cloud.dataca" + - "talog.v1.TagTemplate.FieldsEntryB\003\340A\002\032\\\n" + - "\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + - "2-.google.cloud.datacatalog.v1.TagTempla" + - "teField:\0028\001:p\352Am\n&datacatalog.googleapis" + - ".com/TagTemplate\022Cprojects/{project}/loc" + - "ations/{location}/tagTemplates/{tag_temp" + - "late}\"\267\002\n\020TagTemplateField\022\021\n\004name\030\006 \001(\t" + - "B\003\340A\003\022\024\n\014display_name\030\001 \001(\t\0229\n\004type\030\002 \001(" + - "\0132&.google.cloud.datacatalog.v1.FieldTyp" + - "eB\003\340A\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013descripti" + - "on\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacata" + - "log.googleapis.com/TagTemplateField\022Rpro" + - "jects/{project}/locations/{location}/tag" + - "Templates/{tag_template}/fields/{field}\"" + - "\246\003\n\tFieldType\022N\n\016primitive_type\030\001 \001(\01624." + - "google.cloud.datacatalog.v1.FieldType.Pr" + - "imitiveTypeH\000\022D\n\tenum_type\030\002 \001(\0132/.googl" + - "e.cloud.datacatalog.v1.FieldType.EnumTyp" + - "eH\000\032\205\001\n\010EnumType\022Q\n\016allowed_values\030\001 \003(\013" + - "29.google.cloud.datacatalog.v1.FieldType" + - ".EnumType.EnumValue\032&\n\tEnumValue\022\031\n\014disp" + - "lay_name\030\001 \001(\tB\003\340A\002\"n\n\rPrimitiveType\022\036\n\032" + - "PRIMITIVE_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\tTIMESTAMP\020\004\022\014\n" + - "\010RICHTEXT\020\005B\013\n\ttype_declB\313\001\n\037com.google." + - "cloud.datacatalog.v1P\001ZFgoogle.golang.or" + - "g/genproto/googleapis/cloud/datacatalog/" + - "v1;datacatalog\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[] { - 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 e39d9480f6e6..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\"\252\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\0224\n\013expire_time\030\003 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003B\313\001\n\037c" + - "om.google.cloud.datacatalog.v1P\001ZFgoogle" + - ".golang.org/genproto/googleapis/cloud/da" + - "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" + - "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" + - "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" + - "b\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_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 c67cd12d7f21..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,96 +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_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; - - 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\"\216\002\n\013UsageSignal\022/\n\013update_time\030\001 \001(" + - "\0132\032.google.protobuf.Timestamp\022h\n\027usage_w" + - "ithin_time_range\030\002 \003(\0132B.google.cloud.da" + - "tacatalog.v1.UsageSignal.UsageWithinTime" + - "RangeEntryB\003\340A\003\032d\n\031UsageWithinTimeRangeE" + - "ntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.googl" + - "e.cloud.datacatalog.v1.UsageStats:\0028\001B\313\001" + - "\n\037com.google.cloud.datacatalog.v1P\001ZFgoo" + - "gle.golang.org/genproto/googleapis/cloud" + - "/datacatalog/v1;datacatalog\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.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_UsageSignal_descriptor = - getDescriptor().getMessageTypes().get(1); - 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", }); - 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", }); - 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 5324543d4199..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,3000 +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 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 static abstract class DataCatalogImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.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).
-     * 
- */ - public 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).
-     * 
- */ - public void updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntryGroupMethod(), responseObserver); - } - - /** - *
-     * Gets an EntryGroup.
-     * 
- */ - public 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).
-     * 
- */ - public void deleteEntryGroup(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryGroupMethod(), responseObserver); - } - - /** - *
-     * Lists entry groups.
-     * 
- */ - public 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.
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public void deleteEntry(com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEntryMethod(), responseObserver); - } - - /** - *
-     * Gets an entry.
-     * 
- */ - public 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.
-     * 
- */ - public void lookupEntry(com.google.cloud.datacatalog.v1beta1.LookupEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLookupEntryMethod(), responseObserver); - } - - /** - *
-     * Lists entries.
-     * 
- */ - public 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).
-     * 
- */ - public 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.
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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).
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void updateTag(com.google.cloud.datacatalog.v1beta1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_SEARCH_CATALOG))) - .addMethod( - getCreateEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest, - com.google.cloud.datacatalog.v1beta1.EntryGroup>( - this, 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>( - this, 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>( - this, METHODID_GET_ENTRY_GROUP))) - .addMethod( - getDeleteEntryGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest, - com.google.protobuf.Empty>( - this, 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>( - this, 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>( - this, METHODID_CREATE_ENTRY))) - .addMethod( - getUpdateEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - this, METHODID_UPDATE_ENTRY))) - .addMethod( - getDeleteEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteEntryRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ENTRY))) - .addMethod( - getGetEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - this, METHODID_GET_ENTRY))) - .addMethod( - getLookupEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.LookupEntryRequest, - com.google.cloud.datacatalog.v1beta1.Entry>( - this, METHODID_LOOKUP_ENTRY))) - .addMethod( - getListEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListEntriesRequest, - com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>( - this, METHODID_LIST_ENTRIES))) - .addMethod( - getCreateTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest, - com.google.cloud.datacatalog.v1beta1.TagTemplate>( - this, 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>( - this, 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>( - this, METHODID_UPDATE_TAG_TEMPLATE))) - .addMethod( - getDeleteTagTemplateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest, - com.google.protobuf.Empty>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_RENAME_TAG_TEMPLATE_FIELD))) - .addMethod( - getDeleteTagTemplateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, - com.google.protobuf.Empty>( - this, 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>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTagRequest, - com.google.cloud.datacatalog.v1beta1.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTagsRequest, - com.google.cloud.datacatalog.v1beta1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 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); - } - - /** - *
-     * 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 the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
-     * 
- */ - 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_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 DataCatalogImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataCatalogImplBase 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_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(); - } - } - } - - 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(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 0fac9f865773..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,1352 +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 static abstract class PolicyTagManagerImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTaxonomyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTaxonomyMethod(), responseObserver); - } - - /** - *
-     * Updates a taxonomy.
-     * 
- */ - public 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.
-     * 
- */ - public void listTaxonomies(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaxonomiesMethod(), responseObserver); - } - - /** - *
-     * Gets a taxonomy.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_CREATE_TAXONOMY))) - .addMethod( - getDeleteTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAXONOMY))) - .addMethod( - getUpdateTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - this, METHODID_UPDATE_TAXONOMY))) - .addMethod( - getListTaxonomiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest, - com.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse>( - this, METHODID_LIST_TAXONOMIES))) - .addMethod( - getGetTaxonomyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest, - com.google.cloud.datacatalog.v1beta1.Taxonomy>( - this, METHODID_GET_TAXONOMY))) - .addMethod( - getCreatePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest, - com.google.cloud.datacatalog.v1beta1.PolicyTag>( - this, METHODID_CREATE_POLICY_TAG))) - .addMethod( - getDeletePolicyTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest, - com.google.protobuf.Empty>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_GET_POLICY_TAG))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 PolicyTagManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PolicyTagManagerImplBase 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(); - } - } - } - - 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 d7c902a12e0b..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,45 +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\002B\344\001\n$com.google.cloud.datacatalo" + - "g.v1beta1P\001ZKgoogle.golang.org/genproto/" + - "googleapis/cloud/datacatalog/v1beta1;dat" + - "acatalog\370\001\001\252\002 Google.Cloud.DataCatalog.V" + - "1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1beta" + - "1\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 dd6cddfaadc8..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,730 +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_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\"\236\002\n\024Search" + - "CatalogRequest\022P\n\005scope\030\006 \001(\0132<.google.c" + - "loud.datacatalog.v1beta1.SearchCatalogRe" + - "quest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\002\022\021\n\t" + - "page_size\030\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + - "\022\020\n\010order_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017include_o" + - "rg_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(\013" + - "25.google.cloud.datacatalog.v1beta1.Sear" + - "chCatalogResult\022\027\n\017next_page_token\030\003 \001(\t" + - "\"\270\001\n\027CreateEntryGroupRequest\022=\n\006parent\030\001" + - " \001(\tB-\340A\002\372A\'\022%datacatalog.googleapis.com" + - "/EntryGroup\022\033\n\016entry_group_id\030\003 \001(\tB\003\340A\002" + - "\022A\n\013entry_group\030\002 \001(\0132,.google.cloud.dat" + - "acatalog.v1beta1.EntryGroup\"\222\001\n\027UpdateEn" + - "tryGroupRequest\022F\n\013entry_group\030\001 \001(\0132,.g" + - "oogle.cloud.datacatalog.v1beta1.EntryGro" + - "upB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" + - "otobuf.FieldMask\"\202\001\n\024GetEntryGroupReques" + - "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.goo" + - "gleapis.com/EntryGroup\022-\n\tread_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"j\n\027DeleteE" + - "ntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + - "datacatalog.googleapis.com/EntryGroup\022\022\n" + - "\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGroupsReq" + - "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalo" + - "g.googleapis.com/EntryGroup\022\026\n\tpage_size" + - "\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"v\n\027" + - "ListEntryGroupsResponse\022B\n\014entry_groups\030" + - "\001 \003(\0132,.google.cloud.datacatalog.v1beta1" + - ".EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n" + - "\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A\002" + - "\372A\'\n%datacatalog.googleapis.com/EntryGro" + - "up\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\022;\n\005entry\030\002 \001(\013" + - "2\'.google.cloud.datacatalog.v1beta1.Entr" + - "yB\003\340A\002\"\202\001\n\022UpdateEntryRequest\022;\n\005entry\030\001" + - " \001(\0132\'.google.cloud.datacatalog.v1beta1." + - "EntryB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMask\"L\n\022DeleteEntryReques" + - "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.goo" + - "gleapis.com/Entry\"I\n\017GetEntryRequest\0226\n\004" + - "name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleap" + - "is.com/Entry\"V\n\022LookupEntryRequest\022\031\n\017li" + - "nked_resource\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 " + - "\001(\tH\000B\r\n\013target_name\"\217\007\n\005Entry\0228\n\004name\030\001" + - " \001(\tB*\372A\'\n%datacatalog.googleapis.com/En" + - "tryGroup\022\027\n\017linked_resource\030\t \001(\t\022;\n\004typ" + - "e\030\002 \001(\0162+.google.cloud.datacatalog.v1bet" + - "a1.EntryTypeH\000\022\035\n\023user_specified_type\030\020 " + - "\001(\tH\000\022T\n\021integrated_system\030\021 \001(\01622.googl" + - "e.cloud.datacatalog.v1beta1.IntegratedSy" + - "stemB\003\340A\003H\001\022\037\n\025user_specified_system\030\022 \001" + - "(\tH\001\022L\n\020gcs_fileset_spec\030\006 \001(\01320.google." + - "cloud.datacatalog.v1beta1.GcsFilesetSpec" + - "H\002\022R\n\023bigquery_table_spec\030\014 \001(\01323.google" + - ".cloud.datacatalog.v1beta1.BigQueryTable" + - "SpecH\002\022_\n\032bigquery_date_sharded_spec\030\017 \001" + - "(\01329.google.cloud.datacatalog.v1beta1.Bi" + - "gQueryDateShardedSpecH\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.datacatalog.v1beta1.Sc" + - "hema\022Y\n\030source_system_timestamps\030\007 \001(\01322" + - ".google.cloud.datacatalog.v1beta1.System" + - "TimestampsB\003\340A\003:x\352Au\n datacatalog.google" + - "apis.com/Entry\022Qprojects/{project}/locat" + - "ions/{location}/entryGroups/{entry_group" + - "}/entries/{entry}B\014\n\nentry_typeB\010\n\006syste" + - "mB\013\n\ttype_spec\"\216\002\n\nEntryGroup\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\022X\n\027data_catalog_timestamps\030\004 \001(\0132" + - "2.google.cloud.datacatalog.v1beta1.Syste" + - "mTimestampsB\003\340A\003:m\352Aj\n%datacatalog.googl" + - "eapis.com/EntryGroup\022Aprojects/{project}" + - "/locations/{location}/entryGroups/{entry" + - "_group}\"\302\001\n\030CreateTagTemplateRequest\022>\n\006" + - "parent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.google" + - "apis.com/TagTemplate\022\034\n\017tag_template_id\030" + - "\003 \001(\tB\003\340A\002\022H\n\014tag_template\030\002 \001(\0132-.googl" + - "e.cloud.datacatalog.v1beta1.TagTemplateB" + - "\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004name\030\001 " + - "\001(\tB.\340A\002\372A(\n&datacatalog.googleapis.com/" + - "TagTemplate\"\225\001\n\030UpdateTagTemplateRequest" + - "\022H\n\014tag_template\030\001 \001(\0132-.google.cloud.da" + - "tacatalog.v1beta1.TagTemplateB\003\340A\002\022/\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030" + - "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co" + - "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"\203\001\n\020Cr" + - "eateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036" + - "datacatalog.googleapis.com/Tag\0227\n\003tag\030\002 " + - "\001(\0132%.google.cloud.datacatalog.v1beta1.T" + - "agB\003\340A\002\"|\n\020UpdateTagRequest\0227\n\003tag\030\001 \001(\013" + - "2%.google.cloud.datacatalog.v1beta1.TagB" + - "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMask\"H\n\020DeleteTagRequest\0224\n\004nam" + - "e\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.googleapis." + - "com/Tag\"\330\001\n\035CreateTagTemplateFieldReques" + - "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.g" + - "oogleapis.com/TagTemplate\022\"\n\025tag_templat" + - "e_field_id\030\002 \001(\tB\003\340A\002\022S\n\022tag_template_fi" + - "eld\030\003 \001(\01322.google.cloud.datacatalog.v1b" + - "eta1.TagTemplateFieldB\003\340A\002\"\355\001\n\035UpdateTag" + - "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + - "A-\n+datacatalog.googleapis.com/TagTempla" + - "teField\022S\n\022tag_template_field\030\002 \001(\01322.go" + - "ogle.cloud.datacatalog.v1beta1.TagTempla" + - "teFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.goog" + - "le.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035RenameTag" + - "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372" + - "A-\n+datacatalog.googleapis.com/TagTempla" + - "teField\022&\n\031new_tag_template_field_id\030\002 \001" + - "(\tB\003\340A\002\"v\n\035DeleteTagTemplateFieldRequest" + - "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.goog" + - "leapis.com/TagTemplateField\022\022\n\005force\030\002 \001" + - "(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006parent\030\001 \001" + - "(\tB&\340A\002\372A \022\036datacatalog.googleapis.com/T" + - "ag\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%.go" + - "ogle.cloud.datacatalog.v1beta1.Tag\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"\251\001\n\022ListEntriesReque" + - "st\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog." + - "googleapis.com/EntryGroup\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mask\030\004 " + - "\001(\0132\032.google.protobuf.FieldMask\"h\n\023ListE" + - "ntriesResponse\0228\n\007entries\030\001 \003(\0132\'.google" + - ".cloud.datacatalog.v1beta1.Entry\022\027\n\017next" + - "_page_token\030\002 \001(\t*[\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\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2742\n\013DataC" + - "atalog\022\262\001\n\rSearchCatalog\0226.google.cloud." + - "datacatalog.v1beta1.SearchCatalogRequest" + - "\0327.google.cloud.datacatalog.v1beta1.Sear" + - "chCatalogResponse\"0\202\323\344\223\002\034\"\027/v1beta1/cata" + - "log:search:\001*\332A\013scope,query\022\352\001\n\020CreateEn" + - "tryGroup\0229.google.cloud.datacatalog.v1be" + - "ta1.CreateEntryGroupRequest\032,.google.clo" + - "ud.datacatalog.v1beta1.EntryGroup\"m\202\323\344\223\002" + - "C\"4/v1beta1/{parent=projects/*/locations" + - "/*}/entryGroups:\013entry_group\332A!parent,en" + - "try_group_id,entry_group\022\372\001\n\020UpdateEntry" + - "Group\0229.google.cloud.datacatalog.v1beta1" + - ".UpdateEntryGroupRequest\032,.google.cloud." + - "datacatalog.v1beta1.EntryGroup\"}\202\323\344\223\002O2@" + - "/v1beta1/{entry_group.name=projects/*/lo" + - "cations/*/entryGroups/*}:\013entry_group\332A\013" + - "entry_group\332A\027entry_group,update_mask\022\313\001" + - "\n\rGetEntryGroup\0226.google.cloud.datacatal" + - "og.v1beta1.GetEntryGroupRequest\032,.google" + - ".cloud.datacatalog.v1beta1.EntryGroup\"T\202" + - "\323\344\223\0026\0224/v1beta1/{name=projects/*/locatio" + - "ns/*/entryGroups/*}\332A\004name\332A\016name,read_m" + - "ask\022\252\001\n\020DeleteEntryGroup\0229.google.cloud." + - "datacatalog.v1beta1.DeleteEntryGroupRequ" + - "est\032\026.google.protobuf.Empty\"C\202\323\344\223\0026*4/v1" + - "beta1/{name=projects/*/locations/*/entry" + - "Groups/*}\332A\004name\022\315\001\n\017ListEntryGroups\0228.g" + - "oogle.cloud.datacatalog.v1beta1.ListEntr" + - "yGroupsRequest\0329.google.cloud.datacatalo" + - "g.v1beta1.ListEntryGroupsResponse\"E\202\323\344\223\002" + - "6\0224/v1beta1/{parent=projects/*/locations" + - "/*}/entryGroups\332A\006parent\022\323\001\n\013CreateEntry" + - "\0224.google.cloud.datacatalog.v1beta1.Crea" + - "teEntryRequest\032\'.google.cloud.datacatalo" + - "g.v1beta1.Entry\"e\202\323\344\223\002G\">/v1beta1/{paren" + - "t=projects/*/locations/*/entryGroups/*}/" + - "entries:\005entry\332A\025parent,entry_id,entry\022\335" + - "\001\n\013UpdateEntry\0224.google.cloud.datacatalo" + - "g.v1beta1.UpdateEntryRequest\032\'.google.cl" + - "oud.datacatalog.v1beta1.Entry\"o\202\323\344\223\002M2D/" + - "v1beta1/{entry.name=projects/*/locations" + - "/*/entryGroups/*/entries/*}:\005entry\332A\005ent" + - "ry\332A\021entry,update_mask\022\252\001\n\013DeleteEntry\0224" + - ".google.cloud.datacatalog.v1beta1.Delete" + - "EntryRequest\032\026.google.protobuf.Empty\"M\202\323" + - "\344\223\002@*>/v1beta1/{name=projects/*/location" + - "s/*/entryGroups/*/entries/*}\332A\004name\022\265\001\n\010" + - "GetEntry\0221.google.cloud.datacatalog.v1be" + - "ta1.GetEntryRequest\032\'.google.cloud.datac" + - "atalog.v1beta1.Entry\"M\202\323\344\223\002@\022>/v1beta1/{" + - "name=projects/*/locations/*/entryGroups/" + - "*/entries/*}\332A\004name\022\215\001\n\013LookupEntry\0224.go" + - "ogle.cloud.datacatalog.v1beta1.LookupEnt" + - "ryRequest\032\'.google.cloud.datacatalog.v1b" + - "eta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries:loo" + - "kup\022\313\001\n\013ListEntries\0224.google.cloud.datac" + - "atalog.v1beta1.ListEntriesRequest\0325.goog" + - "le.cloud.datacatalog.v1beta1.ListEntries" + - "Response\"O\202\323\344\223\002@\022>/v1beta1/{parent=proje" + - "cts/*/locations/*/entryGroups/*}/entries" + - "\332A\006parent\022\361\001\n\021CreateTagTemplate\022:.google" + - ".cloud.datacatalog.v1beta1.CreateTagTemp" + - "lateRequest\032-.google.cloud.datacatalog.v" + - "1beta1.TagTemplate\"q\202\323\344\223\002E\"5/v1beta1/{pa" + - "rent=projects/*/locations/*}/tagTemplate" + - "s:\014tag_template\332A#parent,tag_template_id" + - ",tag_template\022\276\001\n\016GetTagTemplate\0227.googl" + - "e.cloud.datacatalog.v1beta1.GetTagTempla" + - "teRequest\032-.google.cloud.datacatalog.v1b" + - "eta1.TagTemplate\"D\202\323\344\223\0027\0225/v1beta1/{name" + - "=projects/*/locations/*/tagTemplates/*}\332" + - "A\004name\022\203\002\n\021UpdateTagTemplate\022:.google.cl" + - "oud.datacatalog.v1beta1.UpdateTagTemplat" + - "eRequest\032-.google.cloud.datacatalog.v1be" + - "ta1.TagTemplate\"\202\001\202\323\344\223\002R2B/v1beta1/{tag_" + - "template.name=projects/*/locations/*/tag" + - "Templates/*}:\014tag_template\332A\014tag_templat" + - "e\332A\030tag_template,update_mask\022\263\001\n\021DeleteT" + - "agTemplate\022:.google.cloud.datacatalog.v1" + - "beta1.DeleteTagTemplateRequest\032\026.google." + - "protobuf.Empty\"J\202\323\344\223\0027*5/v1beta1/{name=p" + - "rojects/*/locations/*/tagTemplates/*}\332A\n" + - "name,force\022\234\002\n\026CreateTagTemplateField\022?." + - "google.cloud.datacatalog.v1beta1.CreateT" + - "agTemplateFieldRequest\0322.google.cloud.da" + - "tacatalog.v1beta1.TagTemplateField\"\214\001\202\323\344" + - "\223\002T\">/v1beta1/{parent=projects/*/locatio" + - "ns/*/tagTemplates/*}/fields:\022tag_templat" + - "e_field\332A/parent,tag_template_field_id,t" + - "ag_template_field\022\252\002\n\026UpdateTagTemplateF" + - "ield\022?.google.cloud.datacatalog.v1beta1." + - "UpdateTagTemplateFieldRequest\0322.google.c" + - "loud.datacatalog.v1beta1.TagTemplateFiel" + - "d\"\232\001\202\323\344\223\002T2>/v1beta1/{name=projects/*/lo" + - "cations/*/tagTemplates/*/fields/*}:\022tag_" + - "template_field\332A\027name,tag_template_field" + - "\332A#name,tag_template_field,update_mask\022\200" + - "\002\n\026RenameTagTemplateField\022?.google.cloud" + - ".datacatalog.v1beta1.RenameTagTemplateFi" + - "eldRequest\0322.google.cloud.datacatalog.v1" + - "beta1.TagTemplateField\"q\202\323\344\223\002J\"E/v1beta1" + - "/{name=projects/*/locations/*/tagTemplat" + - "es/*/fields/*}:rename:\001*\332A\036name,new_tag_" + - "template_field_id\022\306\001\n\026DeleteTagTemplateF" + - "ield\022?.google.cloud.datacatalog.v1beta1." + - "DeleteTagTemplateFieldRequest\032\026.google.p" + - "rotobuf.Empty\"S\202\323\344\223\002@*>/v1beta1/{name=pr" + - "ojects/*/locations/*/tagTemplates/*/fiel" + - "ds/*}\332A\nname,force\022\215\002\n\tCreateTag\0222.googl" + - "e.cloud.datacatalog.v1beta1.CreateTagReq" + - "uest\032%.google.cloud.datacatalog.v1beta1." + - "Tag\"\244\001\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects" + - "/*/locations/*/entryGroups/*/entries/*}/" + - "tags:\003tagZB\";/v1beta1/{parent=projects/*" + - "/locations/*/entryGroups/*}/tags:\003tag\332A\n" + - "parent,tag\022\240\002\n\tUpdateTag\0222.google.cloud." + - "datacatalog.v1beta1.UpdateTagRequest\032%.g" + - "oogle.cloud.datacatalog.v1beta1.Tag\"\267\001\202\323" + - "\344\223\002\230\0012I/v1beta1/{tag.name=projects/*/loc" + - "ations/*/entryGroups/*/entries/*/tags/*}" + - ":\003tagZF2?/v1beta1/{tag.name=projects/*/l" + - "ocations/*/entryGroups/*/tags/*}:\003tag\332A\003" + - "tag\332A\017tag,update_mask\022\356\001\n\tDeleteTag\0222.go" + - "ogle.cloud.datacatalog.v1beta1.DeleteTag" + - "Request\032\026.google.protobuf.Empty\"\224\001\202\323\344\223\002\206" + - "\001*E/v1beta1/{name=projects/*/locations/*" + - "/entryGroups/*/entries/*/tags/*}Z=*;/v1b" + - "eta1/{name=projects/*/locations/*/entryG" + - "roups/*/tags/*}\332A\004name\022\212\002\n\010ListTags\0221.go" + - "ogle.cloud.datacatalog.v1beta1.ListTagsR" + - "equest\0322.google.cloud.datacatalog.v1beta" + - "1.ListTagsResponse\"\226\001\202\323\344\223\002\206\001\022E/v1beta1/{" + - "parent=projects/*/locations/*/entryGroup" + - "s/*/entries/*}/tagsZ=\022;/v1beta1/{parent=" + - "projects/*/locations/*/entryGroups/*}/ta" + - "gs\332A\006parent\022\374\001\n\014SetIamPolicy\022\".google.ia" + - "m.v1.SetIamPolicyRequest\032\025.google.iam.v1" + - ".Policy\"\260\001\202\323\344\223\002\227\001\"F/v1beta1/{resource=pr" + - "ojects/*/locations/*/tagTemplates/*}:set" + - "IamPolicy:\001*ZJ\"E/v1beta1/{resource=proje" + - "cts/*/locations/*/entryGroups/*}:setIamP" + - "olicy:\001*\332A\017resource,policy\022\313\002\n\014GetIamPol" + - "icy\022\".google.iam.v1.GetIamPolicyRequest\032" + - "\025.google.iam.v1.Policy\"\377\001\202\323\344\223\002\355\001\"F/v1bet" + - "a1/{resource=projects/*/locations/*/tagT" + - "emplates/*}:getIamPolicy:\001*ZJ\"E/v1beta1/" + - "{resource=projects/*/locations/*/entryGr" + - "oups/*}:getIamPolicy:\001*ZT\"O/v1beta1/{res" + - "ource=projects/*/locations/*/entryGroups" + - "/*/entries/*}:getIamPolicy:\001*\332A\010resource" + - "\022\362\002\n\022TestIamPermissions\022(.google.iam.v1." + - "TestIamPermissionsRequest\032).google.iam.v" + - "1.TestIamPermissionsResponse\"\206\002\202\323\344\223\002\377\001\"L" + - "/v1beta1/{resource=projects/*/locations/" + - "*/tagTemplates/*}:testIamPermissions:\001*Z" + - "P\"K/v1beta1/{resource=projects/*/locatio" + - "ns/*/entryGroups/*}:testIamPermissions:\001" + - "*ZZ\"U/v1beta1/{resource=projects/*/locat" + - "ions/*/entryGroups/*/entries/*}:testIamP" + - "ermissions:\001*\032N\312A\032datacatalog.googleapis" + - ".com\322A.https://www.googleapis.com/auth/c" + - "loud-platformB\344\001\n$com.google.cloud.datac" + - "atalog.v1beta1P\001ZKgoogle.golang.org/genp" + - "roto/googleapis/cloud/datacatalog/v1beta" + - "1;datacatalog\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.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/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 3b64223a69b7..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,31 +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 7d07f213f0b7..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 d4945c8bc0fe..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,31 +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 a76e35f1dba9..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\"\177\n\016GcsFilesetSpec\022\032\n\rfil" + - "e_patterns\030\001 \003(\tB\003\340A\002\022Q\n\025sample_gcs_file" + - "_specs\030\002 \003(\0132-.google.cloud.datacatalog." + - "v1beta1.GcsFileSpecB\003\340A\003\"\217\001\n\013GcsFileSpec" + - "\022\026\n\tfile_path\030\001 \001(\tB\003\340A\002\022O\n\016gcs_timestam" + - "ps\030\002 \001(\01322.google.cloud.datacatalog.v1be" + - "ta1.SystemTimestampsB\003\340A\003\022\027\n\nsize_bytes\030" + - "\004 \001(\003B\003\340A\003B\344\001\n$com.google.cloud.datacata" + - "log.v1beta1P\001ZKgoogle.golang.org/genprot" + - "o/googleapis/cloud/datacatalog/v1beta1;d" + - "atacatalog\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(), - 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 ee9242223858..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,31 +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 ae5c0292b19f..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,31 +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 4ea4d43a399e..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,357 +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_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\"\343\002\n\010Taxonomy\022\021\n\004nam" + - "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + - "\030\n\013description\030\003 \001(\tB\003\340A\001\022Z\n\026activated_p" + - "olicy_types\030\006 \003(\01625.google.cloud.datacat" + - "alog.v1beta1.Taxonomy.PolicyTypeB\003\340A\001\"J\n" + - "\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFIED\020\000" + - "\022\037\n\033FINE_GRAINED_ACCESS_CONTROL\020\001:g\352Ad\n#" + - "datacatalog.googleapis.com/Taxonomy\022=pro" + - "jects/{project}/locations/{location}/tax" + - "onomies/{taxonomy}\"\214\002\n\tPolicyTag\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023" + - "\n\013description\030\003 \001(\t\022\031\n\021parent_policy_tag" + - "\030\004 \001(\t\022\036\n\021child_policy_tags\030\005 \003(\tB\003\340A\003:\200" + - "\001\352A}\n$datacatalog.googleapis.com/PolicyT" + - "ag\022Uprojects/{project}/locations/{locati" + - "on}/taxonomies/{taxonomy}/policyTags/{po" + - "licy_tag}\"\222\001\n\025CreateTaxonomyRequest\022;\n\006p" + - "arent\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googlea" + - "pis.com/Taxonomy\022<\n\010taxonomy\030\002 \001(\0132*.goo" + - "gle.cloud.datacatalog.v1beta1.Taxonomy\"R" + - "\n\025DeleteTaxonomyRequest\0229\n\004name\030\001 \001(\tB+\340" + - "A\002\372A%\n#datacatalog.googleapis.com/Taxono" + - "my\"\206\001\n\025UpdateTaxonomyRequest\022<\n\010taxonomy" + - "\030\001 \001(\0132*.google.cloud.datacatalog.v1beta" + - "1.Taxonomy\022/\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMask\"{\n\025ListTaxonomiesReq" + - "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalo" + - "g.googleapis.com/Taxonomy\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\026ListTaxonomi" + - "esResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google." + - "cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\"O\n\022GetTaxonomyReques" + - "t\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#datacatalog.goo" + - "gleapis.com/Taxonomy\"\227\001\n\026CreatePolicyTag" + - "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$datacat" + - "alog.googleapis.com/PolicyTag\022?\n\npolicy_" + - "tag\030\002 \001(\0132+.google.cloud.datacatalog.v1b" + - "eta1.PolicyTag\"T\n\026DeletePolicyTagRequest" + - "\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$datacatalog.goog" + - "leapis.com/PolicyTag\"\212\001\n\026UpdatePolicyTag" + - "Request\022?\n\npolicy_tag\030\001 \001(\0132+.google.clo" + - "ud.datacatalog.v1beta1.PolicyTag\022/\n\013upda" + - "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "k\"|\n\025ListPolicyTagsRequest\022<\n\006parent\030\001 \001" + - "(\tB,\340A\002\372A&\022$datacatalog.googleapis.com/P" + - "olicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@\n\013pol" + - "icy_tags\030\001 \003(\0132+.google.cloud.datacatalo" + - "g.v1beta1.PolicyTag\022\027\n\017next_page_token\030\002" + - " \001(\t\"Q\n\023GetPolicyTagRequest\022:\n\004name\030\001 \001(" + - "\tB,\340A\002\372A&\n$datacatalog.googleapis.com/Po" + - "licyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016CreateT" + - "axonomy\0227.google.cloud.datacatalog.v1bet" + - "a1.CreateTaxonomyRequest\032*.google.cloud." + - "datacatalog.v1beta1.Taxonomy\"W\202\323\344\223\002?\"3/v" + - "1beta1/{parent=projects/*/locations/*}/t" + - "axonomies:\010taxonomy\332A\017parent,taxonomy\022\245\001" + - "\n\016DeleteTaxonomy\0227.google.cloud.datacata" + - "log.v1beta1.DeleteTaxonomyRequest\032\026.goog" + - "le.protobuf.Empty\"B\202\323\344\223\0025*3/v1beta1/{nam" + - "e=projects/*/locations/*/taxonomies/*}\332A" + - "\004name\022\320\001\n\016UpdateTaxonomy\0227.google.cloud." + - "datacatalog.v1beta1.UpdateTaxonomyReques" + - "t\032*.google.cloud.datacatalog.v1beta1.Tax" + - "onomy\"Y\202\323\344\223\002H2\n\ntaxonomies\030\001 \003(\013" + - "2*.google.cloud.datacatalog.v1beta1.Taxo" + - "nomy\"\307\001\n\027ExportTaxonomiesRequest\022;\n\006pare" + - "nt\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googleapis" + - ".com/Taxonomy\022?\n\ntaxonomies\030\002 \003(\tB+\340A\002\372A" + - "%\n#datacatalog.googleapis.com/Taxonomy\022\037" + - "\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013desti" + - "nation\"d\n\030ExportTaxonomiesResponse\022H\n\nta" + - "xonomies\030\001 \003(\01324.google.cloud.datacatalo" + - "g.v1beta1.SerializedTaxonomy2\222\004\n\035PolicyT" + - "agManagerSerialization\022\320\001\n\020ImportTaxonom" + - "ies\0229.google.cloud.datacatalog.v1beta1.I" + - "mportTaxonomiesRequest\032:.google.cloud.da" + - "tacatalog.v1beta1.ImportTaxonomiesRespon" + - "se\"E\202\323\344\223\002?\":/v1beta1/{parent=projects/*/" + - "locations/*}/taxonomies:import:\001*\022\315\001\n\020Ex" + - "portTaxonomies\0229.google.cloud.datacatalo" + - "g.v1beta1.ExportTaxonomiesRequest\032:.goog" + - "le.cloud.datacatalog.v1beta1.ExportTaxon" + - "omiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{parent=" + - "projects/*/locations/*}/taxonomies:expor" + - "t\032N\312A\032datacatalog.googleapis.com\322A.https" + - "://www.googleapis.com/auth/cloud-platfor" + - "mB\210\002\n$com.google.cloud.datacatalog.v1bet" + - "a1B\"PolicyTagManagerSerializationProtoP\001" + - "ZKgoogle.golang.org/genproto/googleapis/" + - "cloud/datacatalog/v1beta1;datacatalog\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.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/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 abdad69a2e44..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 3a0c56e2cfe1..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\"N\n\006Sc" + - "hema\022D\n\007columns\030\002 \003(\0132..google.cloud.dat" + - "acatalog.v1beta1.ColumnSchemaB\003\340A\002\"\254\001\n\014C" + - "olumnSchema\022\023\n\006column\030\006 \001(\tB\003\340A\002\022\021\n\004type" + - "\030\001 \001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\021\n" + - "\004mode\030\003 \001(\tB\003\340A\001\022G\n\nsubcolumns\030\007 \003(\0132..g" + - "oogle.cloud.datacatalog.v1beta1.ColumnSc" + - "hemaB\003\340A\001B\344\001\n$com.google.cloud.datacatal" + - "og.v1beta1P\001ZKgoogle.golang.org/genproto" + - "/googleapis/cloud/datacatalog/v1beta1;da" + - "tacatalog\370\001\001\252\002 Google.Cloud.DataCatalog." + - "V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1bet" + - "a1\352\002#Google::Cloud::DataCatalog::V1beta1" + - "b\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 4da3372ddd8b..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,64 +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-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\344\001\n$com.google.cl" + - "oud.datacatalog.v1beta1P\001ZKgoogle.golang" + - ".org/genproto/googleapis/cloud/datacatal" + - "og/v1beta1;datacatalog\370\001\001\252\002 Google.Cloud" + - ".DataCatalog.V1Beta1\312\002 Google\\Cloud\\Data" + - "Catalog\\V1beta1\352\002#Google::Cloud::DataCat" + - "alog::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/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 fa70d3f26331..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,113 +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\"\367\001\n\021BigQueryTa" + - "bleSpec\022Q\n\021table_source_type\030\001 \001(\01621.goo" + - "gle.cloud.datacatalog.v1beta1.TableSourc" + - "eTypeB\003\340A\003\022?\n\tview_spec\030\002 \001(\0132*.google.c" + - "loud.datacatalog.v1beta1.ViewSpecH\000\022A\n\nt" + - "able_spec\030\003 \001(\0132+.google.cloud.datacatal" + - "og.v1beta1.TableSpecH\000B\013\n\ttype_spec\"#\n\010V" + - "iewSpec\022\027\n\nview_query\030\001 \001(\tB\003\340A\003\"L\n\tTabl" + - "eSpec\022?\n\rgrouped_entry\030\001 \001(\tB(\340A\003\372A\"\n da" + - "tacatalog.googleapis.com/Entry\"\211\001\n\027BigQu" + - "eryDateShardedSpec\0229\n\007dataset\030\001 \001(\tB(\340A\003" + - "\372A\"\n datacatalog.googleapis.com/Entry\022\031\n" + - "\014table_prefix\030\002 \001(\tB\003\340A\003\022\030\n\013shard_count\030" + - "\003 \001(\003B\003\340A\003*[\n\017TableSourceType\022!\n\035TABLE_S" + - "OURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUERY_VIE" + - "W\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\344\001\n$com.google.c" + - "loud.datacatalog.v1beta1P\001ZKgoogle.golan" + - "g.org/genproto/googleapis/cloud/datacata" + - "log/v1beta1;datacatalog\370\001\001\252\002 Google.Clou" + - "d.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Dat" + - "aCatalog\\V1beta1\352\002#Google::Cloud::DataCa" + - "talog::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 a91fe21d266a..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,211 +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\"\220\003\n\003Tag\022\014\n\004name\030\001 \001(\t\022\025\n\010te" + - "mplate\030\002 \001(\tB\003\340A\002\022\"\n\025template_display_na" + - "me\030\005 \001(\tB\003\340A\003\022\020\n\006column\030\004 \001(\tH\000\022F\n\006field" + - "s\030\003 \003(\01321.google.cloud.datacatalog.v1bet" + - "a1.Tag.FieldsEntryB\003\340A\002\032Y\n\013FieldsEntry\022\013" + - "\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.clou" + - "d.datacatalog.v1beta1.TagField:\0028\001:\201\001\352A~" + - "\n\036datacatalog.googleapis.com/Tag\022\\projec" + - "ts/{project}/locations/{location}/entryG" + - "roups/{entry_group}/entries/{entry}/tags" + - "/{tag}B\007\n\005scope\"\255\002\n\010TagField\022\031\n\014display_" + - "name\030\001 \001(\tB\003\340A\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\017timestamp_value\030\005 \001(\0132\032.google." + - "protobuf.TimestampH\000\022J\n\nenum_value\030\006 \001(\013" + - "24.google.cloud.datacatalog.v1beta1.TagF" + - "ield.EnumValueH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n\t" + - "EnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind\"" + - "\326\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014display" + - "_name\030\002 \001(\t\022N\n\006fields\030\003 \003(\01329.google.clo" + - "ud.datacatalog.v1beta1.TagTemplate.Field" + - "sEntryB\003\340A\002\032a\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022" + - "A\n\005value\030\002 \001(\01322.google.cloud.datacatalo" + - "g.v1beta1.TagTemplateField:\0028\001:p\352Am\n&dat" + - "acatalog.googleapis.com/TagTemplate\022Cpro" + - "jects/{project}/locations/{location}/tag" + - "Templates/{tag_template}\"\247\002\n\020TagTemplate" + - "Field\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\024\n\014display_name" + - "\030\001 \001(\t\022>\n\004type\030\002 \001(\0132+.google.cloud.data" + - "catalog.v1beta1.FieldTypeB\003\340A\002\022\023\n\013is_req" + - "uired\030\003 \001(\010\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datac" + - "atalog.googleapis.com/TagTemplateField\022R" + - "projects/{project}/locations/{location}/" + - "tagTemplates/{tag_template}/fields/{fiel" + - "d}\"\247\003\n\tFieldType\022S\n\016primitive_type\030\001 \001(\016" + - "29.google.cloud.datacatalog.v1beta1.Fiel" + - "dType.PrimitiveTypeH\000\022I\n\tenum_type\030\002 \001(\013" + - "24.google.cloud.datacatalog.v1beta1.Fiel" + - "dType.EnumTypeH\000\032\212\001\n\010EnumType\022V\n\016allowed" + - "_values\030\001 \003(\0132>.google.cloud.datacatalog" + - ".v1beta1.FieldType.EnumType.EnumValue\032&\n" + - "\tEnumValue\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\"`\n" + - "\rPrimitiveType\022\036\n\032PRIMITIVE_TYPE_UNSPECI" + - "FIED\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\344\001\n$com.goo" + - "gle.cloud.datacatalog.v1beta1P\001ZKgoogle." + - "golang.org/genproto/googleapis/cloud/dat" + - "acatalog/v1beta1;datacatalog\370\001\001\252\002 Google" + - ".Cloud.DataCatalog.V1Beta1\312\002 Google\\Clou" + - "d\\DataCatalog\\V1beta1\352\002#Google::Cloud::D" + - "ataCatalog::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/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 d39e5cd9f15e..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,69 +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\"\252\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\0224\n\013expire" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003B\344\001\n$com.google.cloud.datacatalog.v1" + - "beta1P\001ZKgoogle.golang.org/genproto/goog" + - "leapis/cloud/datacatalog/v1beta1;datacat" + - "alog\370\001\001\252\002 Google.Cloud.DataCatalog.V1Bet" + - "a1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#" + - "Google::Cloud::DataCatalog::V1beta1b\006pro" + - "to3" - }; - 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) -}