Class DataprocMetastoreSettings.Builder (2.10.0)

public static class DataprocMetastoreSettings.Builder extends ClientSettings.Builder<DataprocMetastoreSettings,DataprocMetastoreSettings.Builder>

Builder for DataprocMetastoreSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataprocMetastoreSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataprocMetastoreSettings settings)

protected Builder(DataprocMetastoreSettings settings)
Parameter
NameDescription
settingsDataprocMetastoreSettings

Builder(DataprocMetastoreStubSettings.Builder stubSettings)

protected Builder(DataprocMetastoreStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataprocMetastoreStubSettings.Builder

Methods

alterMetadataResourceLocationOperationSettings()

public OperationCallSettings.Builder<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata> alterMetadataResourceLocationOperationSettings()

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

Returns
TypeDescription
Builder<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata>

alterMetadataResourceLocationSettings()

public UnaryCallSettings.Builder<AlterMetadataResourceLocationRequest,Operation> alterMetadataResourceLocationSettings()

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

Returns
TypeDescription
Builder<AlterMetadataResourceLocationRequest,Operation>

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

public DataprocMetastoreSettings.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
DataprocMetastoreSettings.Builder

build()

public DataprocMetastoreSettings build()
Returns
TypeDescription
DataprocMetastoreSettings
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>

getStubSettingsBuilder()

public DataprocMetastoreStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DataprocMetastoreStubSettings.Builder

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>

moveTableToDatabaseOperationSettings()

public OperationCallSettings.Builder<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata> moveTableToDatabaseOperationSettings()

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

Returns
TypeDescription
Builder<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata>

moveTableToDatabaseSettings()

public UnaryCallSettings.Builder<MoveTableToDatabaseRequest,Operation> moveTableToDatabaseSettings()

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

Returns
TypeDescription
Builder<MoveTableToDatabaseRequest,Operation>

queryMetadataOperationSettings()

public OperationCallSettings.Builder<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata> queryMetadataOperationSettings()

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

Returns
TypeDescription
Builder<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata>

queryMetadataSettings()

public UnaryCallSettings.Builder<QueryMetadataRequest,Operation> queryMetadataSettings()

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

Returns
TypeDescription
Builder<QueryMetadataRequest,Operation>

removeIamPolicySettings()

public UnaryCallSettings.Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicySettings()

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

Returns
TypeDescription
Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse>

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>

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>