Class DataprocMetastoreStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<DataprocMetastoreStubSettings,DataprocMetastoreStubSettings.Builder>
-
- com.google.cloud.metastore.v1.stub.DataprocMetastoreStubSettings.Builder
-
- Enclosing class:
- DataprocMetastoreStubSettings
public static class DataprocMetastoreStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DataprocMetastoreStubSettings,DataprocMetastoreStubSettings.Builder>
Builder for DataprocMetastoreStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DataprocMetastoreStubSettings settings)
-
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.DataprocMetastoreStubSettings.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.DataprocMetastoreStubSettings
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.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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DataprocMetastoreStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public DataprocMetastoreStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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.
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 DataprocMetastoreStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DataprocMetastoreStubSettings,DataprocMetastoreStubSettings.Builder>
- Throws:
IOException
-
-