Class DataprocMetastoreSettings.Builder (2.46.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
Name Description
clientContext ClientContext

Builder(DataprocMetastoreSettings settings)

protected Builder(DataprocMetastoreSettings settings)
Parameter
Name Description
settings DataprocMetastoreSettings

Builder(DataprocMetastoreStubSettings.Builder stubSettings)

protected Builder(DataprocMetastoreStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataprocMetastoreStubSettings.Builder

Methods

alterMetadataResourceLocationOperationSettings()

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

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

Returns
Type Description
Builder<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata>

alterMetadataResourceLocationSettings()

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

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

Returns
Type Description
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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DataprocMetastoreSettings.Builder

build()

public DataprocMetastoreSettings build()
Returns
Type Description
DataprocMetastoreSettings
Overrides
Exceptions
Type Description
IOException

createBackupOperationSettings()

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

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

Returns
Type Description
Builder<CreateBackupRequest,Backup,OperationMetadata>

createBackupSettings()

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

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

Returns
Type Description
Builder<CreateBackupRequest,Operation>

createMetadataImportOperationSettings()

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

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

Returns
Type Description
Builder<CreateMetadataImportRequest,MetadataImport,OperationMetadata>

createMetadataImportSettings()

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

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

Returns
Type Description
Builder<CreateMetadataImportRequest,Operation>

createServiceOperationSettings()

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

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

Returns
Type Description
Builder<CreateServiceRequest,Service,OperationMetadata>

createServiceSettings()

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

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

Returns
Type Description
Builder<CreateServiceRequest,Operation>

deleteBackupOperationSettings()

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

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

Returns
Type Description
Builder<DeleteBackupRequest,Empty,OperationMetadata>

deleteBackupSettings()

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

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

Returns
Type Description
Builder<DeleteBackupRequest,Operation>

deleteServiceOperationSettings()

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

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

Returns
Type Description
Builder<DeleteServiceRequest,Empty,OperationMetadata>

deleteServiceSettings()

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

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

Returns
Type Description
Builder<DeleteServiceRequest,Operation>

exportMetadataOperationSettings()

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

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

Returns
Type Description
Builder<ExportMetadataRequest,MetadataExport,OperationMetadata>

exportMetadataSettings()

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

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

Returns
Type Description
Builder<ExportMetadataRequest,Operation>

getBackupSettings()

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

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

Returns
Type Description
Builder<GetBackupRequest,Backup>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getMetadataImportSettings()

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

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

Returns
Type Description
Builder<GetMetadataImportRequest,MetadataImport>

getServiceSettings()

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

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

Returns
Type Description
Builder<GetServiceRequest,Service>

getStubSettingsBuilder()

public DataprocMetastoreStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DataprocMetastoreStubSettings.Builder

listBackupsSettings()

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

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

Returns
Type Description
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataprocMetastoreClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listMetadataImportsSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

moveTableToDatabaseOperationSettings()

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

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

Returns
Type Description
Builder<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata>

moveTableToDatabaseSettings()

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

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

Returns
Type Description
Builder<MoveTableToDatabaseRequest,Operation>

queryMetadataOperationSettings()

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

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

Returns
Type Description
Builder<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata>

queryMetadataSettings()

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

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

Returns
Type Description
Builder<QueryMetadataRequest,Operation>

removeIamPolicySettings()

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

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

Returns
Type Description
Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse>

restoreServiceOperationSettings()

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

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

Returns
Type Description
Builder<RestoreServiceRequest,Restore,OperationMetadata>

restoreServiceSettings()

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

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

Returns
Type Description
Builder<RestoreServiceRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateMetadataImportOperationSettings()

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

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

Returns
Type Description
Builder<UpdateMetadataImportRequest,MetadataImport,OperationMetadata>

updateMetadataImportSettings()

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

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

Returns
Type Description
Builder<UpdateMetadataImportRequest,Operation>

updateServiceOperationSettings()

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

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

Returns
Type Description
Builder<UpdateServiceRequest,Service,OperationMetadata>

updateServiceSettings()

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

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

Returns
Type Description
Builder<UpdateServiceRequest,Operation>