@BetaApi @Generated(value="by gapic-generator-java") public class DataprocMetastoreSettings extends com.google.api.gax.rpc.ClientSettings<DataprocMetastoreSettings>
DataprocMetastoreClient.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getService to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DataprocMetastoreSettings.Builder dataprocMetastoreSettingsBuilder =
DataprocMetastoreSettings.newBuilder();
dataprocMetastoreSettingsBuilder
.getServiceSettings()
.setRetrySettings(
dataprocMetastoreSettingsBuilder
.getServiceSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DataprocMetastoreSettings dataprocMetastoreSettings = dataprocMetastoreSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
DataprocMetastoreSettings.Builder
Builder for DataprocMetastoreSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DataprocMetastoreSettings(DataprocMetastoreSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata> |
alterMetadataResourceLocationOperationSettings()
Returns the object with the settings used for calls to alterMetadataResourceLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<AlterMetadataResourceLocationRequest,com.google.longrunning.Operation> |
alterMetadataResourceLocationSettings()
Returns the object with the settings used for calls to alterMetadataResourceLocation.
|
static DataprocMetastoreSettings |
create(DataprocMetastoreStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateBackupRequest,Backup,OperationMetadata> |
createBackupOperationSettings()
Returns the object with the settings used for calls to createBackup.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateBackupRequest,com.google.longrunning.Operation> |
createBackupSettings()
Returns the object with the settings used for calls to createBackup.
|
com.google.api.gax.rpc.OperationCallSettings<CreateMetadataImportRequest,MetadataImport,OperationMetadata> |
createMetadataImportOperationSettings()
Returns the object with the settings used for calls to createMetadataImport.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateMetadataImportRequest,com.google.longrunning.Operation> |
createMetadataImportSettings()
Returns the object with the settings used for calls to createMetadataImport.
|
com.google.api.gax.rpc.OperationCallSettings<CreateServiceRequest,Service,OperationMetadata> |
createServiceOperationSettings()
Returns the object with the settings used for calls to createService.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateServiceRequest,com.google.longrunning.Operation> |
createServiceSettings()
Returns the object with the settings used for calls to createService.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteBackupOperationSettings()
Returns the object with the settings used for calls to deleteBackup.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupRequest,com.google.longrunning.Operation> |
deleteBackupSettings()
Returns the object with the settings used for calls to deleteBackup.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteServiceOperationSettings()
Returns the object with the settings used for calls to deleteService.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteServiceRequest,com.google.longrunning.Operation> |
deleteServiceSettings()
Returns the object with the settings used for calls to deleteService.
|
com.google.api.gax.rpc.OperationCallSettings<ExportMetadataRequest,MetadataExport,OperationMetadata> |
exportMetadataOperationSettings()
Returns the object with the settings used for calls to exportMetadata.
|
com.google.api.gax.rpc.UnaryCallSettings<ExportMetadataRequest,com.google.longrunning.Operation> |
exportMetadataSettings()
Returns the object with the settings used for calls to exportMetadata.
|
com.google.api.gax.rpc.UnaryCallSettings<GetBackupRequest,Backup> |
getBackupSettings()
Returns the object with the settings used for calls to getBackup.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetMetadataImportRequest,MetadataImport> |
getMetadataImportSettings()
Returns the object with the settings used for calls to getMetadataImport.
|
com.google.api.gax.rpc.UnaryCallSettings<GetServiceRequest,Service> |
getServiceSettings()
Returns the object with the settings used for calls to getService.
|
com.google.api.gax.rpc.PagedCallSettings<ListBackupsRequest,ListBackupsResponse,DataprocMetastoreClient.ListBackupsPagedResponse> |
listBackupsSettings()
Returns the object with the settings used for calls to listBackups.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataprocMetastoreClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListMetadataImportsRequest,ListMetadataImportsResponse,DataprocMetastoreClient.ListMetadataImportsPagedResponse> |
listMetadataImportsSettings()
Returns the object with the settings used for calls to listMetadataImports.
|
com.google.api.gax.rpc.PagedCallSettings<ListServicesRequest,ListServicesResponse,DataprocMetastoreClient.ListServicesPagedResponse> |
listServicesSettings()
Returns the object with the settings used for calls to listServices.
|
com.google.api.gax.rpc.OperationCallSettings<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata> |
moveTableToDatabaseOperationSettings()
Returns the object with the settings used for calls to moveTableToDatabase.
|
com.google.api.gax.rpc.UnaryCallSettings<MoveTableToDatabaseRequest,com.google.longrunning.Operation> |
moveTableToDatabaseSettings()
Returns the object with the settings used for calls to moveTableToDatabase.
|
static DataprocMetastoreSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static DataprocMetastoreSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static DataprocMetastoreSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.OperationCallSettings<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata> |
queryMetadataOperationSettings()
Returns the object with the settings used for calls to queryMetadata.
|
com.google.api.gax.rpc.UnaryCallSettings<QueryMetadataRequest,com.google.longrunning.Operation> |
queryMetadataSettings()
Returns the object with the settings used for calls to queryMetadata.
|
com.google.api.gax.rpc.UnaryCallSettings<RemoveIamPolicyRequest,RemoveIamPolicyResponse> |
removeIamPolicySettings()
Returns the object with the settings used for calls to removeIamPolicy.
|
com.google.api.gax.rpc.OperationCallSettings<RestoreServiceRequest,Restore,OperationMetadata> |
restoreServiceOperationSettings()
Returns the object with the settings used for calls to restoreService.
|
com.google.api.gax.rpc.UnaryCallSettings<RestoreServiceRequest,com.google.longrunning.Operation> |
restoreServiceSettings()
Returns the object with the settings used for calls to restoreService.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
DataprocMetastoreSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateMetadataImportRequest,MetadataImport,OperationMetadata> |
updateMetadataImportOperationSettings()
Returns the object with the settings used for calls to updateMetadataImport.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateMetadataImportRequest,com.google.longrunning.Operation> |
updateMetadataImportSettings()
Returns the object with the settings used for calls to updateMetadataImport.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateServiceRequest,Service,OperationMetadata> |
updateServiceOperationSettings()
Returns the object with the settings used for calls to updateService.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateServiceRequest,com.google.longrunning.Operation> |
updateServiceSettings()
Returns the object with the settings used for calls to updateService.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected DataprocMetastoreSettings(DataprocMetastoreSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.PagedCallSettings<ListServicesRequest,ListServicesResponse,DataprocMetastoreClient.ListServicesPagedResponse> listServicesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetServiceRequest,Service> getServiceSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateServiceRequest,com.google.longrunning.Operation> createServiceSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateServiceRequest,Service,OperationMetadata> createServiceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateServiceRequest,com.google.longrunning.Operation> updateServiceSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata> deleteServiceOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListMetadataImportsRequest,ListMetadataImportsResponse,DataprocMetastoreClient.ListMetadataImportsPagedResponse> listMetadataImportsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetMetadataImportRequest,MetadataImport> getMetadataImportSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateMetadataImportRequest,com.google.longrunning.Operation> createMetadataImportSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateMetadataImportRequest,MetadataImport,OperationMetadata> createMetadataImportOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateMetadataImportRequest,com.google.longrunning.Operation> updateMetadataImportSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateMetadataImportRequest,MetadataImport,OperationMetadata> updateMetadataImportOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ExportMetadataRequest,com.google.longrunning.Operation> exportMetadataSettings()
public com.google.api.gax.rpc.OperationCallSettings<ExportMetadataRequest,MetadataExport,OperationMetadata> exportMetadataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RestoreServiceRequest,com.google.longrunning.Operation> restoreServiceSettings()
public com.google.api.gax.rpc.OperationCallSettings<RestoreServiceRequest,Restore,OperationMetadata> restoreServiceOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListBackupsRequest,ListBackupsResponse,DataprocMetastoreClient.ListBackupsPagedResponse> listBackupsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetBackupRequest,Backup> getBackupSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateBackupRequest,com.google.longrunning.Operation> createBackupSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupRequest,com.google.longrunning.Operation> deleteBackupSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<QueryMetadataRequest,com.google.longrunning.Operation> queryMetadataSettings()
public com.google.api.gax.rpc.OperationCallSettings<QueryMetadataRequest,QueryMetadataResponse,OperationMetadata> queryMetadataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<MoveTableToDatabaseRequest,com.google.longrunning.Operation> moveTableToDatabaseSettings()
public com.google.api.gax.rpc.OperationCallSettings<MoveTableToDatabaseRequest,MoveTableToDatabaseResponse,OperationMetadata> moveTableToDatabaseOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<AlterMetadataResourceLocationRequest,com.google.longrunning.Operation> alterMetadataResourceLocationSettings()
public com.google.api.gax.rpc.OperationCallSettings<AlterMetadataResourceLocationRequest,AlterMetadataResourceLocationResponse,OperationMetadata> alterMetadataResourceLocationOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataprocMetastoreClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final DataprocMetastoreSettings create(DataprocMetastoreStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DataprocMetastoreSettings.Builder newBuilder()
public static DataprocMetastoreSettings.Builder newHttpJsonBuilder()
public static DataprocMetastoreSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public DataprocMetastoreSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<DataprocMetastoreSettings>Copyright © 2024 Google LLC. All rights reserved.