Class DataprocMetastoreSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DataprocMetastoreSettings,DataprocMetastoreSettings.Builder>
-
- com.google.cloud.metastore.v1beta.DataprocMetastoreSettings.Builder
-
- Enclosing class:
- DataprocMetastoreSettings
public static class DataprocMetastoreSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DataprocMetastoreSettings,DataprocMetastoreSettings.Builder>
Builder for DataprocMetastoreSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DataprocMetastoreSettings settings)
protected
Builder(DataprocMetastoreStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata>
alterMetadataResourceLocationOperationSettings()
Returns the builder for the settings used for calls to alterMetadataResourceLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<AlterMetadataResourceLocationRequest,com.google.longrunning.Operation>
alterMetadataResourceLocationSettings()
Returns the builder for the settings used for calls to alterMetadataResourceLocation.DataprocMetastoreSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.DataprocMetastoreSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata>
createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,com.google.longrunning.Operation>
createBackupSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateMetadataImportRequest,MetadataImport,OperationMetadata>
createMetadataImportOperationSettings()
Returns the builder for the settings used for calls to createMetadataImport.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMetadataImportRequest,com.google.longrunning.Operation>
createMetadataImportSettings()
Returns the builder for the settings used for calls to createMetadataImport.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServiceRequest,Service,OperationMetadata>
createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,com.google.longrunning.Operation>
createServiceSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata>
deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.longrunning.Operation>
deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata>
deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.longrunning.Operation>
deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportMetadataRequest,MetadataExport,OperationMetadata>
exportMetadataOperationSettings()
Returns the builder for the settings used for calls to exportMetadata.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportMetadataRequest,com.google.longrunning.Operation>
exportMetadataSettings()
Returns the builder for the settings used for calls to exportMetadata.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,Backup>
getBackupSettings()
Returns the builder for the settings used for calls to getBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetadataImportRequest,MetadataImport>
getMetadataImportSettings()
Returns the builder for the settings used for calls to getMetadataImport.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service>
getServiceSettings()
Returns the builder for the settings used for calls to getService.DataprocMetastoreStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DataprocMetastoreClient.ListBackupsPagedResponse>
listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataprocMetastoreClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListMetadataImportsRequest,ListMetadataImportsResponse,DataprocMetastoreClient.ListMetadataImportsPagedResponse>
listMetadataImportsSettings()
Returns the builder for the settings used for calls to listMetadataImports.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,DataprocMetastoreClient.ListServicesPagedResponse>
listServicesSettings()
Returns the builder for the settings used for calls to listServices.com.google.api.gax.rpc.OperationCallSettings.Builder<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata>
moveTableToDatabaseOperationSettings()
Returns the builder for the settings used for calls to moveTableToDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveTableToDatabaseRequest,com.google.longrunning.Operation>
moveTableToDatabaseSettings()
Returns the builder for the settings used for calls to moveTableToDatabase.com.google.api.gax.rpc.OperationCallSettings.Builder<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata>
queryMetadataOperationSettings()
Returns the builder for the settings used for calls to queryMetadata.com.google.api.gax.rpc.UnaryCallSettings.Builder<QueryMetadataRequest,com.google.longrunning.Operation>
queryMetadataSettings()
Returns the builder for the settings used for calls to queryMetadata.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse>
removeIamPolicySettings()
Returns the builder for the settings used for calls to removeIamPolicy.com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreServiceRequest,Restore,OperationMetadata>
restoreServiceOperationSettings()
Returns the builder for the settings used for calls to restoreService.com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreServiceRequest,com.google.longrunning.Operation>
restoreServiceSettings()
Returns the builder for the settings used for calls to restoreService.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateMetadataImportRequest,MetadataImport,OperationMetadata>
updateMetadataImportOperationSettings()
Returns the builder for the settings used for calls to updateMetadataImport.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateMetadataImportRequest,com.google.longrunning.Operation>
updateMetadataImportSettings()
Returns the builder for the settings used for calls to updateMetadataImport.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateServiceRequest,Service,OperationMetadata>
updateServiceOperationSettings()
Returns the builder for the settings used for calls to updateService.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,com.google.longrunning.Operation>
updateServiceSettings()
Returns the builder for the settings used for calls to updateService.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DataprocMetastoreSettings settings)
-
Builder
protected Builder(DataprocMetastoreStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DataprocMetastoreStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DataprocMetastoreSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
listServicesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,DataprocMetastoreClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
-
getServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
Returns the builder for the settings used for calls to getService.
-
createServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,com.google.longrunning.Operation> createServiceSettings()
Returns the builder for the settings used for calls to createService.
-
createServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServiceRequest,Service,OperationMetadata> createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.
-
updateServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,com.google.longrunning.Operation> updateServiceSettings()
Returns the builder for the settings used for calls to updateService.
-
updateServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationSettings()
Returns the builder for the settings used for calls to updateService.
-
deleteServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
-
deleteServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata> deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.
-
listMetadataImportsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListMetadataImportsRequest,ListMetadataImportsResponse,DataprocMetastoreClient.ListMetadataImportsPagedResponse> listMetadataImportsSettings()
Returns the builder for the settings used for calls to listMetadataImports.
-
getMetadataImportSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetadataImportRequest,MetadataImport> getMetadataImportSettings()
Returns the builder for the settings used for calls to getMetadataImport.
-
createMetadataImportSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMetadataImportRequest,com.google.longrunning.Operation> createMetadataImportSettings()
Returns the builder for the settings used for calls to createMetadataImport.
-
createMetadataImportOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateMetadataImportRequest,MetadataImport,OperationMetadata> createMetadataImportOperationSettings()
Returns the builder for the settings used for calls to createMetadataImport.
-
updateMetadataImportSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateMetadataImportRequest,com.google.longrunning.Operation> updateMetadataImportSettings()
Returns the builder for the settings used for calls to updateMetadataImport.
-
updateMetadataImportOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateMetadataImportRequest,MetadataImport,OperationMetadata> updateMetadataImportOperationSettings()
Returns the builder for the settings used for calls to updateMetadataImport.
-
exportMetadataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportMetadataRequest,com.google.longrunning.Operation> exportMetadataSettings()
Returns the builder for the settings used for calls to exportMetadata.
-
exportMetadataOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportMetadataRequest,MetadataExport,OperationMetadata> exportMetadataOperationSettings()
Returns the builder for the settings used for calls to exportMetadata.
-
restoreServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreServiceRequest,com.google.longrunning.Operation> restoreServiceSettings()
Returns the builder for the settings used for calls to restoreService.
-
restoreServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreServiceRequest,Restore,OperationMetadata> restoreServiceOperationSettings()
Returns the builder for the settings used for calls to restoreService.
-
listBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DataprocMetastoreClient.ListBackupsPagedResponse> listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.
-
getBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()
Returns the builder for the settings used for calls to getBackup.
-
createBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,com.google.longrunning.Operation> createBackupSettings()
Returns the builder for the settings used for calls to createBackup.
-
createBackupOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.
-
deleteBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.longrunning.Operation> deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.
-
deleteBackupOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.
-
removeIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicySettings()
Returns the builder for the settings used for calls to removeIamPolicy.
-
queryMetadataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<QueryMetadataRequest,com.google.longrunning.Operation> queryMetadataSettings()
Returns the builder for the settings used for calls to queryMetadata.
-
queryMetadataOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata> queryMetadataOperationSettings()
Returns the builder for the settings used for calls to queryMetadata.
-
moveTableToDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveTableToDatabaseRequest,com.google.longrunning.Operation> moveTableToDatabaseSettings()
Returns the builder for the settings used for calls to moveTableToDatabase.
-
moveTableToDatabaseOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata> moveTableToDatabaseOperationSettings()
Returns the builder for the settings used for calls to moveTableToDatabase.
-
alterMetadataResourceLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AlterMetadataResourceLocationRequest,com.google.longrunning.Operation> alterMetadataResourceLocationSettings()
Returns the builder for the settings used for calls to alterMetadataResourceLocation.
-
alterMetadataResourceLocationOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata> alterMetadataResourceLocationOperationSettings()
Returns the builder for the settings used for calls to alterMetadataResourceLocation.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataprocMetastoreClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public DataprocMetastoreSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DataprocMetastoreSettings,DataprocMetastoreSettings.Builder>
- Throws:
IOException
-
-