Class DataprocMetastoreStubSettings.Builder (2.8.0)

public static class DataprocMetastoreStubSettings.Builder extends StubSettings.Builder<DataprocMetastoreStubSettings,DataprocMetastoreStubSettings.Builder>

Builder for DataprocMetastoreStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DataprocMetastoreStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataprocMetastoreStubSettings settings)

protected Builder(DataprocMetastoreStubSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DataprocMetastoreStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DataprocMetastoreStubSettings.Builder

build()

public DataprocMetastoreStubSettings build()
Returns
TypeDescription
DataprocMetastoreStubSettings
Overrides Exceptions
TypeDescription
IOException

createBackupOperationSettings()

public OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
TypeDescription
Builder<CreateBackupRequest,Backup,OperationMetadata>

createBackupSettings()

public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
TypeDescription
Builder<CreateBackupRequest,Operation>

createMetadataImportOperationSettings()

public OperationCallSettings.Builder<CreateMetadataImportRequest,MetadataImport,OperationMetadata> createMetadataImportOperationSettings()

Returns the builder for the settings used for calls to createMetadataImport.

Returns
TypeDescription
Builder<CreateMetadataImportRequest,MetadataImport,OperationMetadata>

createMetadataImportSettings()

public UnaryCallSettings.Builder<CreateMetadataImportRequest,Operation> createMetadataImportSettings()

Returns the builder for the settings used for calls to createMetadataImport.

Returns
TypeDescription
Builder<CreateMetadataImportRequest,Operation>

createServiceOperationSettings()

public OperationCallSettings.Builder<CreateServiceRequest,Service,OperationMetadata> createServiceOperationSettings()

Returns the builder for the settings used for calls to createService.

Returns
TypeDescription
Builder<CreateServiceRequest,Service,OperationMetadata>

createServiceSettings()

public UnaryCallSettings.Builder<CreateServiceRequest,Operation> createServiceSettings()

Returns the builder for the settings used for calls to createService.

Returns
TypeDescription
Builder<CreateServiceRequest,Operation>

deleteBackupOperationSettings()

public OperationCallSettings.Builder<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
TypeDescription
Builder<DeleteBackupRequest,Empty,OperationMetadata>

deleteBackupSettings()

public UnaryCallSettings.Builder<DeleteBackupRequest,Operation> deleteBackupSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
TypeDescription
Builder<DeleteBackupRequest,Operation>

deleteServiceOperationSettings()

public OperationCallSettings.Builder<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationSettings()

Returns the builder for the settings used for calls to deleteService.

Returns
TypeDescription
Builder<DeleteServiceRequest,Empty,OperationMetadata>

deleteServiceSettings()

public UnaryCallSettings.Builder<DeleteServiceRequest,Operation> deleteServiceSettings()

Returns the builder for the settings used for calls to deleteService.

Returns
TypeDescription
Builder<DeleteServiceRequest,Operation>

exportMetadataOperationSettings()

public OperationCallSettings.Builder<ExportMetadataRequest,MetadataExport,OperationMetadata> exportMetadataOperationSettings()

Returns the builder for the settings used for calls to exportMetadata.

Returns
TypeDescription
Builder<ExportMetadataRequest,MetadataExport,OperationMetadata>

exportMetadataSettings()

public UnaryCallSettings.Builder<ExportMetadataRequest,Operation> exportMetadataSettings()

Returns the builder for the settings used for calls to exportMetadata.

Returns
TypeDescription
Builder<ExportMetadataRequest,Operation>

getBackupSettings()

public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()

Returns the builder for the settings used for calls to getBackup.

Returns
TypeDescription
Builder<GetBackupRequest,Backup>

getMetadataImportSettings()

public UnaryCallSettings.Builder<GetMetadataImportRequest,MetadataImport> getMetadataImportSettings()

Returns the builder for the settings used for calls to getMetadataImport.

Returns
TypeDescription
Builder<GetMetadataImportRequest,MetadataImport>

getServiceSettings()

public UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()

Returns the builder for the settings used for calls to getService.

Returns
TypeDescription
Builder<GetServiceRequest,Service>

listBackupsSettings()

public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DataprocMetastoreClient.ListBackupsPagedResponse> listBackupsSettings()

Returns the builder for the settings used for calls to listBackups.

Returns
TypeDescription
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listMetadataImportsSettings()

public PagedCallSettings.Builder<ListMetadataImportsRequest,ListMetadataImportsResponse,DataprocMetastoreClient.ListMetadataImportsPagedResponse> listMetadataImportsSettings()

Returns the builder for the settings used for calls to listMetadataImports.

Returns
TypeDescription
Builder<ListMetadataImportsRequest,ListMetadataImportsResponse,ListMetadataImportsPagedResponse>

listServicesSettings()

public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,DataprocMetastoreClient.ListServicesPagedResponse> listServicesSettings()

Returns the builder for the settings used for calls to listServices.

Returns
TypeDescription
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

restoreServiceOperationSettings()

public OperationCallSettings.Builder<RestoreServiceRequest,Restore,OperationMetadata> restoreServiceOperationSettings()

Returns the builder for the settings used for calls to restoreService.

Returns
TypeDescription
Builder<RestoreServiceRequest,Restore,OperationMetadata>

restoreServiceSettings()

public UnaryCallSettings.Builder<RestoreServiceRequest,Operation> restoreServiceSettings()

Returns the builder for the settings used for calls to restoreService.

Returns
TypeDescription
Builder<RestoreServiceRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateMetadataImportOperationSettings()

public OperationCallSettings.Builder<UpdateMetadataImportRequest,MetadataImport,OperationMetadata> updateMetadataImportOperationSettings()

Returns the builder for the settings used for calls to updateMetadataImport.

Returns
TypeDescription
Builder<UpdateMetadataImportRequest,MetadataImport,OperationMetadata>

updateMetadataImportSettings()

public UnaryCallSettings.Builder<UpdateMetadataImportRequest,Operation> updateMetadataImportSettings()

Returns the builder for the settings used for calls to updateMetadataImport.

Returns
TypeDescription
Builder<UpdateMetadataImportRequest,Operation>

updateServiceOperationSettings()

public OperationCallSettings.Builder<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationSettings()

Returns the builder for the settings used for calls to updateService.

Returns
TypeDescription
Builder<UpdateServiceRequest,Service,OperationMetadata>

updateServiceSettings()

public UnaryCallSettings.Builder<UpdateServiceRequest,Operation> updateServiceSettings()

Returns the builder for the settings used for calls to updateService.

Returns
TypeDescription
Builder<UpdateServiceRequest,Operation>