Class DataprocMetastoreStubSettings.Builder (2.23.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

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 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>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
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>

listLocationsSettings()

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

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

Returns
TypeDescription
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
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>

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>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

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>