1 /* 2 * Copyright 2022 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.google.cloud.datacatalog.v1; 18 19 import static com.google.cloud.datacatalog.v1.DataCatalogClient.ListEntriesPagedResponse; 20 import static com.google.cloud.datacatalog.v1.DataCatalogClient.ListEntryGroupsPagedResponse; 21 import static com.google.cloud.datacatalog.v1.DataCatalogClient.ListTagsPagedResponse; 22 import static com.google.cloud.datacatalog.v1.DataCatalogClient.SearchCatalogPagedResponse; 23 24 import com.google.api.core.ApiFunction; 25 import com.google.api.core.BetaApi; 26 import com.google.api.gax.core.GoogleCredentialsProvider; 27 import com.google.api.gax.core.InstantiatingExecutorProvider; 28 import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; 29 import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; 30 import com.google.api.gax.rpc.ApiClientHeaderProvider; 31 import com.google.api.gax.rpc.ClientContext; 32 import com.google.api.gax.rpc.ClientSettings; 33 import com.google.api.gax.rpc.OperationCallSettings; 34 import com.google.api.gax.rpc.PagedCallSettings; 35 import com.google.api.gax.rpc.TransportChannelProvider; 36 import com.google.api.gax.rpc.UnaryCallSettings; 37 import com.google.cloud.datacatalog.v1.stub.DataCatalogStubSettings; 38 import com.google.iam.v1.GetIamPolicyRequest; 39 import com.google.iam.v1.Policy; 40 import com.google.iam.v1.SetIamPolicyRequest; 41 import com.google.iam.v1.TestIamPermissionsRequest; 42 import com.google.iam.v1.TestIamPermissionsResponse; 43 import com.google.longrunning.Operation; 44 import com.google.protobuf.Empty; 45 import java.io.IOException; 46 import java.util.List; 47 import javax.annotation.Generated; 48 49 // AUTO-GENERATED DOCUMENTATION AND CLASS. 50 /** 51 * Settings class to configure an instance of {@link DataCatalogClient}. 52 * 53 * <p>The default instance has everything set to sensible defaults: 54 * 55 * <ul> 56 * <li>The default service address (datacatalog.googleapis.com) and default port (443) are used. 57 * <li>Credentials are acquired automatically through Application Default Credentials. 58 * <li>Retries are configured for idempotent methods but not for non-idempotent methods. 59 * </ul> 60 * 61 * <p>The builder of this class is recursive, so contained classes are themselves builders. When 62 * build() is called, the tree of builders is called to create the complete settings object. 63 * 64 * <p>For example, to set the total timeout of createEntryGroup to 30 seconds: 65 * 66 * <pre>{@code 67 * // This snippet has been automatically generated and should be regarded as a code template only. 68 * // It will require modifications to work: 69 * // - It may require correct/in-range values for request initialization. 70 * // - It may require specifying regional endpoints when creating the service client as shown in 71 * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library 72 * DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder(); 73 * dataCatalogSettingsBuilder 74 * .createEntryGroupSettings() 75 * .setRetrySettings( 76 * dataCatalogSettingsBuilder 77 * .createEntryGroupSettings() 78 * .getRetrySettings() 79 * .toBuilder() 80 * .setTotalTimeout(Duration.ofSeconds(30)) 81 * .build()); 82 * DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build(); 83 * }</pre> 84 */ 85 @Generated("by gapic-generator-java") 86 public class DataCatalogSettings extends ClientSettings<DataCatalogSettings> { 87 88 /** Returns the object with the settings used for calls to searchCatalog. */ 89 public PagedCallSettings<SearchCatalogRequest, SearchCatalogResponse, SearchCatalogPagedResponse> searchCatalogSettings()90 searchCatalogSettings() { 91 return ((DataCatalogStubSettings) getStubSettings()).searchCatalogSettings(); 92 } 93 94 /** Returns the object with the settings used for calls to createEntryGroup. */ createEntryGroupSettings()95 public UnaryCallSettings<CreateEntryGroupRequest, EntryGroup> createEntryGroupSettings() { 96 return ((DataCatalogStubSettings) getStubSettings()).createEntryGroupSettings(); 97 } 98 99 /** Returns the object with the settings used for calls to getEntryGroup. */ getEntryGroupSettings()100 public UnaryCallSettings<GetEntryGroupRequest, EntryGroup> getEntryGroupSettings() { 101 return ((DataCatalogStubSettings) getStubSettings()).getEntryGroupSettings(); 102 } 103 104 /** Returns the object with the settings used for calls to updateEntryGroup. */ updateEntryGroupSettings()105 public UnaryCallSettings<UpdateEntryGroupRequest, EntryGroup> updateEntryGroupSettings() { 106 return ((DataCatalogStubSettings) getStubSettings()).updateEntryGroupSettings(); 107 } 108 109 /** Returns the object with the settings used for calls to deleteEntryGroup. */ deleteEntryGroupSettings()110 public UnaryCallSettings<DeleteEntryGroupRequest, Empty> deleteEntryGroupSettings() { 111 return ((DataCatalogStubSettings) getStubSettings()).deleteEntryGroupSettings(); 112 } 113 114 /** Returns the object with the settings used for calls to listEntryGroups. */ 115 public PagedCallSettings< 116 ListEntryGroupsRequest, ListEntryGroupsResponse, ListEntryGroupsPagedResponse> listEntryGroupsSettings()117 listEntryGroupsSettings() { 118 return ((DataCatalogStubSettings) getStubSettings()).listEntryGroupsSettings(); 119 } 120 121 /** Returns the object with the settings used for calls to createEntry. */ createEntrySettings()122 public UnaryCallSettings<CreateEntryRequest, Entry> createEntrySettings() { 123 return ((DataCatalogStubSettings) getStubSettings()).createEntrySettings(); 124 } 125 126 /** Returns the object with the settings used for calls to updateEntry. */ updateEntrySettings()127 public UnaryCallSettings<UpdateEntryRequest, Entry> updateEntrySettings() { 128 return ((DataCatalogStubSettings) getStubSettings()).updateEntrySettings(); 129 } 130 131 /** Returns the object with the settings used for calls to deleteEntry. */ deleteEntrySettings()132 public UnaryCallSettings<DeleteEntryRequest, Empty> deleteEntrySettings() { 133 return ((DataCatalogStubSettings) getStubSettings()).deleteEntrySettings(); 134 } 135 136 /** Returns the object with the settings used for calls to getEntry. */ getEntrySettings()137 public UnaryCallSettings<GetEntryRequest, Entry> getEntrySettings() { 138 return ((DataCatalogStubSettings) getStubSettings()).getEntrySettings(); 139 } 140 141 /** Returns the object with the settings used for calls to lookupEntry. */ lookupEntrySettings()142 public UnaryCallSettings<LookupEntryRequest, Entry> lookupEntrySettings() { 143 return ((DataCatalogStubSettings) getStubSettings()).lookupEntrySettings(); 144 } 145 146 /** Returns the object with the settings used for calls to listEntries. */ 147 public PagedCallSettings<ListEntriesRequest, ListEntriesResponse, ListEntriesPagedResponse> listEntriesSettings()148 listEntriesSettings() { 149 return ((DataCatalogStubSettings) getStubSettings()).listEntriesSettings(); 150 } 151 152 /** Returns the object with the settings used for calls to modifyEntryOverview. */ 153 public UnaryCallSettings<ModifyEntryOverviewRequest, EntryOverview> modifyEntryOverviewSettings()154 modifyEntryOverviewSettings() { 155 return ((DataCatalogStubSettings) getStubSettings()).modifyEntryOverviewSettings(); 156 } 157 158 /** Returns the object with the settings used for calls to modifyEntryContacts. */ modifyEntryContactsSettings()159 public UnaryCallSettings<ModifyEntryContactsRequest, Contacts> modifyEntryContactsSettings() { 160 return ((DataCatalogStubSettings) getStubSettings()).modifyEntryContactsSettings(); 161 } 162 163 /** Returns the object with the settings used for calls to createTagTemplate. */ createTagTemplateSettings()164 public UnaryCallSettings<CreateTagTemplateRequest, TagTemplate> createTagTemplateSettings() { 165 return ((DataCatalogStubSettings) getStubSettings()).createTagTemplateSettings(); 166 } 167 168 /** Returns the object with the settings used for calls to getTagTemplate. */ getTagTemplateSettings()169 public UnaryCallSettings<GetTagTemplateRequest, TagTemplate> getTagTemplateSettings() { 170 return ((DataCatalogStubSettings) getStubSettings()).getTagTemplateSettings(); 171 } 172 173 /** Returns the object with the settings used for calls to updateTagTemplate. */ updateTagTemplateSettings()174 public UnaryCallSettings<UpdateTagTemplateRequest, TagTemplate> updateTagTemplateSettings() { 175 return ((DataCatalogStubSettings) getStubSettings()).updateTagTemplateSettings(); 176 } 177 178 /** Returns the object with the settings used for calls to deleteTagTemplate. */ deleteTagTemplateSettings()179 public UnaryCallSettings<DeleteTagTemplateRequest, Empty> deleteTagTemplateSettings() { 180 return ((DataCatalogStubSettings) getStubSettings()).deleteTagTemplateSettings(); 181 } 182 183 /** Returns the object with the settings used for calls to createTagTemplateField. */ 184 public UnaryCallSettings<CreateTagTemplateFieldRequest, TagTemplateField> createTagTemplateFieldSettings()185 createTagTemplateFieldSettings() { 186 return ((DataCatalogStubSettings) getStubSettings()).createTagTemplateFieldSettings(); 187 } 188 189 /** Returns the object with the settings used for calls to updateTagTemplateField. */ 190 public UnaryCallSettings<UpdateTagTemplateFieldRequest, TagTemplateField> updateTagTemplateFieldSettings()191 updateTagTemplateFieldSettings() { 192 return ((DataCatalogStubSettings) getStubSettings()).updateTagTemplateFieldSettings(); 193 } 194 195 /** Returns the object with the settings used for calls to renameTagTemplateField. */ 196 public UnaryCallSettings<RenameTagTemplateFieldRequest, TagTemplateField> renameTagTemplateFieldSettings()197 renameTagTemplateFieldSettings() { 198 return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldSettings(); 199 } 200 201 /** Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. */ 202 public UnaryCallSettings<RenameTagTemplateFieldEnumValueRequest, TagTemplateField> renameTagTemplateFieldEnumValueSettings()203 renameTagTemplateFieldEnumValueSettings() { 204 return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldEnumValueSettings(); 205 } 206 207 /** Returns the object with the settings used for calls to deleteTagTemplateField. */ deleteTagTemplateFieldSettings()208 public UnaryCallSettings<DeleteTagTemplateFieldRequest, Empty> deleteTagTemplateFieldSettings() { 209 return ((DataCatalogStubSettings) getStubSettings()).deleteTagTemplateFieldSettings(); 210 } 211 212 /** Returns the object with the settings used for calls to createTag. */ createTagSettings()213 public UnaryCallSettings<CreateTagRequest, Tag> createTagSettings() { 214 return ((DataCatalogStubSettings) getStubSettings()).createTagSettings(); 215 } 216 217 /** Returns the object with the settings used for calls to updateTag. */ updateTagSettings()218 public UnaryCallSettings<UpdateTagRequest, Tag> updateTagSettings() { 219 return ((DataCatalogStubSettings) getStubSettings()).updateTagSettings(); 220 } 221 222 /** Returns the object with the settings used for calls to deleteTag. */ deleteTagSettings()223 public UnaryCallSettings<DeleteTagRequest, Empty> deleteTagSettings() { 224 return ((DataCatalogStubSettings) getStubSettings()).deleteTagSettings(); 225 } 226 227 /** Returns the object with the settings used for calls to listTags. */ 228 public PagedCallSettings<ListTagsRequest, ListTagsResponse, ListTagsPagedResponse> listTagsSettings()229 listTagsSettings() { 230 return ((DataCatalogStubSettings) getStubSettings()).listTagsSettings(); 231 } 232 233 /** Returns the object with the settings used for calls to reconcileTags. */ reconcileTagsSettings()234 public UnaryCallSettings<ReconcileTagsRequest, Operation> reconcileTagsSettings() { 235 return ((DataCatalogStubSettings) getStubSettings()).reconcileTagsSettings(); 236 } 237 238 /** Returns the object with the settings used for calls to reconcileTags. */ 239 public OperationCallSettings<ReconcileTagsRequest, ReconcileTagsResponse, ReconcileTagsMetadata> reconcileTagsOperationSettings()240 reconcileTagsOperationSettings() { 241 return ((DataCatalogStubSettings) getStubSettings()).reconcileTagsOperationSettings(); 242 } 243 244 /** Returns the object with the settings used for calls to starEntry. */ starEntrySettings()245 public UnaryCallSettings<StarEntryRequest, StarEntryResponse> starEntrySettings() { 246 return ((DataCatalogStubSettings) getStubSettings()).starEntrySettings(); 247 } 248 249 /** Returns the object with the settings used for calls to unstarEntry. */ unstarEntrySettings()250 public UnaryCallSettings<UnstarEntryRequest, UnstarEntryResponse> unstarEntrySettings() { 251 return ((DataCatalogStubSettings) getStubSettings()).unstarEntrySettings(); 252 } 253 254 /** Returns the object with the settings used for calls to setIamPolicy. */ setIamPolicySettings()255 public UnaryCallSettings<SetIamPolicyRequest, Policy> setIamPolicySettings() { 256 return ((DataCatalogStubSettings) getStubSettings()).setIamPolicySettings(); 257 } 258 259 /** Returns the object with the settings used for calls to getIamPolicy. */ getIamPolicySettings()260 public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() { 261 return ((DataCatalogStubSettings) getStubSettings()).getIamPolicySettings(); 262 } 263 264 /** Returns the object with the settings used for calls to testIamPermissions. */ 265 public UnaryCallSettings<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsSettings()266 testIamPermissionsSettings() { 267 return ((DataCatalogStubSettings) getStubSettings()).testIamPermissionsSettings(); 268 } 269 270 /** Returns the object with the settings used for calls to importEntries. */ importEntriesSettings()271 public UnaryCallSettings<ImportEntriesRequest, Operation> importEntriesSettings() { 272 return ((DataCatalogStubSettings) getStubSettings()).importEntriesSettings(); 273 } 274 275 /** Returns the object with the settings used for calls to importEntries. */ 276 public OperationCallSettings<ImportEntriesRequest, ImportEntriesResponse, ImportEntriesMetadata> importEntriesOperationSettings()277 importEntriesOperationSettings() { 278 return ((DataCatalogStubSettings) getStubSettings()).importEntriesOperationSettings(); 279 } 280 create(DataCatalogStubSettings stub)281 public static final DataCatalogSettings create(DataCatalogStubSettings stub) throws IOException { 282 return new DataCatalogSettings.Builder(stub.toBuilder()).build(); 283 } 284 285 /** Returns a builder for the default ExecutorProvider for this service. */ defaultExecutorProviderBuilder()286 public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { 287 return DataCatalogStubSettings.defaultExecutorProviderBuilder(); 288 } 289 290 /** Returns the default service endpoint. */ getDefaultEndpoint()291 public static String getDefaultEndpoint() { 292 return DataCatalogStubSettings.getDefaultEndpoint(); 293 } 294 295 /** Returns the default service scopes. */ getDefaultServiceScopes()296 public static List<String> getDefaultServiceScopes() { 297 return DataCatalogStubSettings.getDefaultServiceScopes(); 298 } 299 300 /** Returns a builder for the default credentials for this service. */ defaultCredentialsProviderBuilder()301 public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { 302 return DataCatalogStubSettings.defaultCredentialsProviderBuilder(); 303 } 304 305 /** Returns a builder for the default gRPC ChannelProvider for this service. */ defaultGrpcTransportProviderBuilder()306 public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { 307 return DataCatalogStubSettings.defaultGrpcTransportProviderBuilder(); 308 } 309 310 /** Returns a builder for the default REST ChannelProvider for this service. */ 311 @BetaApi 312 public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()313 defaultHttpJsonTransportProviderBuilder() { 314 return DataCatalogStubSettings.defaultHttpJsonTransportProviderBuilder(); 315 } 316 defaultTransportChannelProvider()317 public static TransportChannelProvider defaultTransportChannelProvider() { 318 return DataCatalogStubSettings.defaultTransportChannelProvider(); 319 } 320 321 @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") defaultApiClientHeaderProviderBuilder()322 public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { 323 return DataCatalogStubSettings.defaultApiClientHeaderProviderBuilder(); 324 } 325 326 /** Returns a new gRPC builder for this class. */ newBuilder()327 public static Builder newBuilder() { 328 return Builder.createDefault(); 329 } 330 331 /** Returns a new REST builder for this class. */ 332 @BetaApi newHttpJsonBuilder()333 public static Builder newHttpJsonBuilder() { 334 return Builder.createHttpJsonDefault(); 335 } 336 337 /** Returns a new builder for this class. */ newBuilder(ClientContext clientContext)338 public static Builder newBuilder(ClientContext clientContext) { 339 return new Builder(clientContext); 340 } 341 342 /** Returns a builder containing all the values of this settings class. */ toBuilder()343 public Builder toBuilder() { 344 return new Builder(this); 345 } 346 DataCatalogSettings(Builder settingsBuilder)347 protected DataCatalogSettings(Builder settingsBuilder) throws IOException { 348 super(settingsBuilder); 349 } 350 351 /** Builder for DataCatalogSettings. */ 352 public static class Builder extends ClientSettings.Builder<DataCatalogSettings, Builder> { 353 Builder()354 protected Builder() throws IOException { 355 this(((ClientContext) null)); 356 } 357 Builder(ClientContext clientContext)358 protected Builder(ClientContext clientContext) { 359 super(DataCatalogStubSettings.newBuilder(clientContext)); 360 } 361 Builder(DataCatalogSettings settings)362 protected Builder(DataCatalogSettings settings) { 363 super(settings.getStubSettings().toBuilder()); 364 } 365 Builder(DataCatalogStubSettings.Builder stubSettings)366 protected Builder(DataCatalogStubSettings.Builder stubSettings) { 367 super(stubSettings); 368 } 369 createDefault()370 private static Builder createDefault() { 371 return new Builder(DataCatalogStubSettings.newBuilder()); 372 } 373 374 @BetaApi createHttpJsonDefault()375 private static Builder createHttpJsonDefault() { 376 return new Builder(DataCatalogStubSettings.newHttpJsonBuilder()); 377 } 378 getStubSettingsBuilder()379 public DataCatalogStubSettings.Builder getStubSettingsBuilder() { 380 return ((DataCatalogStubSettings.Builder) getStubSettings()); 381 } 382 383 /** 384 * Applies the given settings updater function to all of the unary API methods in this service. 385 * 386 * <p>Note: This method does not support applying settings to streaming methods. 387 */ applyToAllUnaryMethods( ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater)388 public Builder applyToAllUnaryMethods( 389 ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) { 390 super.applyToAllUnaryMethods( 391 getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); 392 return this; 393 } 394 395 /** Returns the builder for the settings used for calls to searchCatalog. */ 396 public PagedCallSettings.Builder< 397 SearchCatalogRequest, SearchCatalogResponse, SearchCatalogPagedResponse> searchCatalogSettings()398 searchCatalogSettings() { 399 return getStubSettingsBuilder().searchCatalogSettings(); 400 } 401 402 /** Returns the builder for the settings used for calls to createEntryGroup. */ 403 public UnaryCallSettings.Builder<CreateEntryGroupRequest, EntryGroup> createEntryGroupSettings()404 createEntryGroupSettings() { 405 return getStubSettingsBuilder().createEntryGroupSettings(); 406 } 407 408 /** Returns the builder for the settings used for calls to getEntryGroup. */ getEntryGroupSettings()409 public UnaryCallSettings.Builder<GetEntryGroupRequest, EntryGroup> getEntryGroupSettings() { 410 return getStubSettingsBuilder().getEntryGroupSettings(); 411 } 412 413 /** Returns the builder for the settings used for calls to updateEntryGroup. */ 414 public UnaryCallSettings.Builder<UpdateEntryGroupRequest, EntryGroup> updateEntryGroupSettings()415 updateEntryGroupSettings() { 416 return getStubSettingsBuilder().updateEntryGroupSettings(); 417 } 418 419 /** Returns the builder for the settings used for calls to deleteEntryGroup. */ deleteEntryGroupSettings()420 public UnaryCallSettings.Builder<DeleteEntryGroupRequest, Empty> deleteEntryGroupSettings() { 421 return getStubSettingsBuilder().deleteEntryGroupSettings(); 422 } 423 424 /** Returns the builder for the settings used for calls to listEntryGroups. */ 425 public PagedCallSettings.Builder< 426 ListEntryGroupsRequest, ListEntryGroupsResponse, ListEntryGroupsPagedResponse> listEntryGroupsSettings()427 listEntryGroupsSettings() { 428 return getStubSettingsBuilder().listEntryGroupsSettings(); 429 } 430 431 /** Returns the builder for the settings used for calls to createEntry. */ createEntrySettings()432 public UnaryCallSettings.Builder<CreateEntryRequest, Entry> createEntrySettings() { 433 return getStubSettingsBuilder().createEntrySettings(); 434 } 435 436 /** Returns the builder for the settings used for calls to updateEntry. */ updateEntrySettings()437 public UnaryCallSettings.Builder<UpdateEntryRequest, Entry> updateEntrySettings() { 438 return getStubSettingsBuilder().updateEntrySettings(); 439 } 440 441 /** Returns the builder for the settings used for calls to deleteEntry. */ deleteEntrySettings()442 public UnaryCallSettings.Builder<DeleteEntryRequest, Empty> deleteEntrySettings() { 443 return getStubSettingsBuilder().deleteEntrySettings(); 444 } 445 446 /** Returns the builder for the settings used for calls to getEntry. */ getEntrySettings()447 public UnaryCallSettings.Builder<GetEntryRequest, Entry> getEntrySettings() { 448 return getStubSettingsBuilder().getEntrySettings(); 449 } 450 451 /** Returns the builder for the settings used for calls to lookupEntry. */ lookupEntrySettings()452 public UnaryCallSettings.Builder<LookupEntryRequest, Entry> lookupEntrySettings() { 453 return getStubSettingsBuilder().lookupEntrySettings(); 454 } 455 456 /** Returns the builder for the settings used for calls to listEntries. */ 457 public PagedCallSettings.Builder< 458 ListEntriesRequest, ListEntriesResponse, ListEntriesPagedResponse> listEntriesSettings()459 listEntriesSettings() { 460 return getStubSettingsBuilder().listEntriesSettings(); 461 } 462 463 /** Returns the builder for the settings used for calls to modifyEntryOverview. */ 464 public UnaryCallSettings.Builder<ModifyEntryOverviewRequest, EntryOverview> modifyEntryOverviewSettings()465 modifyEntryOverviewSettings() { 466 return getStubSettingsBuilder().modifyEntryOverviewSettings(); 467 } 468 469 /** Returns the builder for the settings used for calls to modifyEntryContacts. */ 470 public UnaryCallSettings.Builder<ModifyEntryContactsRequest, Contacts> modifyEntryContactsSettings()471 modifyEntryContactsSettings() { 472 return getStubSettingsBuilder().modifyEntryContactsSettings(); 473 } 474 475 /** Returns the builder for the settings used for calls to createTagTemplate. */ 476 public UnaryCallSettings.Builder<CreateTagTemplateRequest, TagTemplate> createTagTemplateSettings()477 createTagTemplateSettings() { 478 return getStubSettingsBuilder().createTagTemplateSettings(); 479 } 480 481 /** Returns the builder for the settings used for calls to getTagTemplate. */ getTagTemplateSettings()482 public UnaryCallSettings.Builder<GetTagTemplateRequest, TagTemplate> getTagTemplateSettings() { 483 return getStubSettingsBuilder().getTagTemplateSettings(); 484 } 485 486 /** Returns the builder for the settings used for calls to updateTagTemplate. */ 487 public UnaryCallSettings.Builder<UpdateTagTemplateRequest, TagTemplate> updateTagTemplateSettings()488 updateTagTemplateSettings() { 489 return getStubSettingsBuilder().updateTagTemplateSettings(); 490 } 491 492 /** Returns the builder for the settings used for calls to deleteTagTemplate. */ deleteTagTemplateSettings()493 public UnaryCallSettings.Builder<DeleteTagTemplateRequest, Empty> deleteTagTemplateSettings() { 494 return getStubSettingsBuilder().deleteTagTemplateSettings(); 495 } 496 497 /** Returns the builder for the settings used for calls to createTagTemplateField. */ 498 public UnaryCallSettings.Builder<CreateTagTemplateFieldRequest, TagTemplateField> createTagTemplateFieldSettings()499 createTagTemplateFieldSettings() { 500 return getStubSettingsBuilder().createTagTemplateFieldSettings(); 501 } 502 503 /** Returns the builder for the settings used for calls to updateTagTemplateField. */ 504 public UnaryCallSettings.Builder<UpdateTagTemplateFieldRequest, TagTemplateField> updateTagTemplateFieldSettings()505 updateTagTemplateFieldSettings() { 506 return getStubSettingsBuilder().updateTagTemplateFieldSettings(); 507 } 508 509 /** Returns the builder for the settings used for calls to renameTagTemplateField. */ 510 public UnaryCallSettings.Builder<RenameTagTemplateFieldRequest, TagTemplateField> renameTagTemplateFieldSettings()511 renameTagTemplateFieldSettings() { 512 return getStubSettingsBuilder().renameTagTemplateFieldSettings(); 513 } 514 515 /** Returns the builder for the settings used for calls to renameTagTemplateFieldEnumValue. */ 516 public UnaryCallSettings.Builder<RenameTagTemplateFieldEnumValueRequest, TagTemplateField> renameTagTemplateFieldEnumValueSettings()517 renameTagTemplateFieldEnumValueSettings() { 518 return getStubSettingsBuilder().renameTagTemplateFieldEnumValueSettings(); 519 } 520 521 /** Returns the builder for the settings used for calls to deleteTagTemplateField. */ 522 public UnaryCallSettings.Builder<DeleteTagTemplateFieldRequest, Empty> deleteTagTemplateFieldSettings()523 deleteTagTemplateFieldSettings() { 524 return getStubSettingsBuilder().deleteTagTemplateFieldSettings(); 525 } 526 527 /** Returns the builder for the settings used for calls to createTag. */ createTagSettings()528 public UnaryCallSettings.Builder<CreateTagRequest, Tag> createTagSettings() { 529 return getStubSettingsBuilder().createTagSettings(); 530 } 531 532 /** Returns the builder for the settings used for calls to updateTag. */ updateTagSettings()533 public UnaryCallSettings.Builder<UpdateTagRequest, Tag> updateTagSettings() { 534 return getStubSettingsBuilder().updateTagSettings(); 535 } 536 537 /** Returns the builder for the settings used for calls to deleteTag. */ deleteTagSettings()538 public UnaryCallSettings.Builder<DeleteTagRequest, Empty> deleteTagSettings() { 539 return getStubSettingsBuilder().deleteTagSettings(); 540 } 541 542 /** Returns the builder for the settings used for calls to listTags. */ 543 public PagedCallSettings.Builder<ListTagsRequest, ListTagsResponse, ListTagsPagedResponse> listTagsSettings()544 listTagsSettings() { 545 return getStubSettingsBuilder().listTagsSettings(); 546 } 547 548 /** Returns the builder for the settings used for calls to reconcileTags. */ reconcileTagsSettings()549 public UnaryCallSettings.Builder<ReconcileTagsRequest, Operation> reconcileTagsSettings() { 550 return getStubSettingsBuilder().reconcileTagsSettings(); 551 } 552 553 /** Returns the builder for the settings used for calls to reconcileTags. */ 554 public OperationCallSettings.Builder< 555 ReconcileTagsRequest, ReconcileTagsResponse, ReconcileTagsMetadata> reconcileTagsOperationSettings()556 reconcileTagsOperationSettings() { 557 return getStubSettingsBuilder().reconcileTagsOperationSettings(); 558 } 559 560 /** Returns the builder for the settings used for calls to starEntry. */ starEntrySettings()561 public UnaryCallSettings.Builder<StarEntryRequest, StarEntryResponse> starEntrySettings() { 562 return getStubSettingsBuilder().starEntrySettings(); 563 } 564 565 /** Returns the builder for the settings used for calls to unstarEntry. */ 566 public UnaryCallSettings.Builder<UnstarEntryRequest, UnstarEntryResponse> unstarEntrySettings()567 unstarEntrySettings() { 568 return getStubSettingsBuilder().unstarEntrySettings(); 569 } 570 571 /** Returns the builder for the settings used for calls to setIamPolicy. */ setIamPolicySettings()572 public UnaryCallSettings.Builder<SetIamPolicyRequest, Policy> setIamPolicySettings() { 573 return getStubSettingsBuilder().setIamPolicySettings(); 574 } 575 576 /** Returns the builder for the settings used for calls to getIamPolicy. */ getIamPolicySettings()577 public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettings() { 578 return getStubSettingsBuilder().getIamPolicySettings(); 579 } 580 581 /** Returns the builder for the settings used for calls to testIamPermissions. */ 582 public UnaryCallSettings.Builder<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsSettings()583 testIamPermissionsSettings() { 584 return getStubSettingsBuilder().testIamPermissionsSettings(); 585 } 586 587 /** Returns the builder for the settings used for calls to importEntries. */ importEntriesSettings()588 public UnaryCallSettings.Builder<ImportEntriesRequest, Operation> importEntriesSettings() { 589 return getStubSettingsBuilder().importEntriesSettings(); 590 } 591 592 /** Returns the builder for the settings used for calls to importEntries. */ 593 public OperationCallSettings.Builder< 594 ImportEntriesRequest, ImportEntriesResponse, ImportEntriesMetadata> importEntriesOperationSettings()595 importEntriesOperationSettings() { 596 return getStubSettingsBuilder().importEntriesOperationSettings(); 597 } 598 599 @Override build()600 public DataCatalogSettings build() throws IOException { 601 return new DataCatalogSettings(this); 602 } 603 } 604 } 605