- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public class DataplexServiceSettings extends ClientSettings<DataplexServiceSettings>
Settings class to configure an instance of DataplexServiceClient.
The default instance has everything set to sensible defaults:
- The default service address (dataplex.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 getLake 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
DataplexServiceSettings.Builder dataplexServiceSettingsBuilder =
DataplexServiceSettings.newBuilder();
dataplexServiceSettingsBuilder
.getLakeSettings()
.setRetrySettings(
dataplexServiceSettingsBuilder.getLakeSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DataplexServiceSettings dataplexServiceSettings = dataplexServiceSettingsBuilder.build();
Static Methods
create(DataplexServiceStubSettings stub)
public static final DataplexServiceSettings create(DataplexServiceStubSettings stub)
Name | Description |
stub | DataplexServiceStubSettings |
Type | Description |
DataplexServiceSettings |
Type | Description |
IOException |
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Type | Description |
Builder |
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static DataplexServiceSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Type | Description |
DataplexServiceSettings.Builder |
newBuilder(ClientContext clientContext)
public static DataplexServiceSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
DataplexServiceSettings.Builder |
newHttpJsonBuilder()
public static DataplexServiceSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Type | Description |
DataplexServiceSettings.Builder |
Constructors
DataplexServiceSettings(DataplexServiceSettings.Builder settingsBuilder)
protected DataplexServiceSettings(DataplexServiceSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | DataplexServiceSettings.Builder |
Methods
cancelJobSettings()
public UnaryCallSettings<CancelJobRequest,Empty> cancelJobSettings()
Returns the object with the settings used for calls to cancelJob.
Type | Description |
UnaryCallSettings<CancelJobRequest,Empty> |
createAssetOperationSettings()
public OperationCallSettings<CreateAssetRequest,Asset,OperationMetadata> createAssetOperationSettings()
Returns the object with the settings used for calls to createAsset.
Type | Description |
OperationCallSettings<CreateAssetRequest,Asset,OperationMetadata> |
createAssetSettings()
public UnaryCallSettings<CreateAssetRequest,Operation> createAssetSettings()
Returns the object with the settings used for calls to createAsset.
Type | Description |
UnaryCallSettings<CreateAssetRequest,Operation> |
createEnvironmentOperationSettings()
public OperationCallSettings<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the object with the settings used for calls to createEnvironment.
Type | Description |
OperationCallSettings<CreateEnvironmentRequest,Environment,OperationMetadata> |
createEnvironmentSettings()
public UnaryCallSettings<CreateEnvironmentRequest,Operation> createEnvironmentSettings()
Returns the object with the settings used for calls to createEnvironment.
Type | Description |
UnaryCallSettings<CreateEnvironmentRequest,Operation> |
createLakeOperationSettings()
public OperationCallSettings<CreateLakeRequest,Lake,OperationMetadata> createLakeOperationSettings()
Returns the object with the settings used for calls to createLake.
Type | Description |
OperationCallSettings<CreateLakeRequest,Lake,OperationMetadata> |
createLakeSettings()
public UnaryCallSettings<CreateLakeRequest,Operation> createLakeSettings()
Returns the object with the settings used for calls to createLake.
Type | Description |
UnaryCallSettings<CreateLakeRequest,Operation> |
createTaskOperationSettings()
public OperationCallSettings<CreateTaskRequest,Task,OperationMetadata> createTaskOperationSettings()
Returns the object with the settings used for calls to createTask.
Type | Description |
OperationCallSettings<CreateTaskRequest,Task,OperationMetadata> |
createTaskSettings()
public UnaryCallSettings<CreateTaskRequest,Operation> createTaskSettings()
Returns the object with the settings used for calls to createTask.
Type | Description |
UnaryCallSettings<CreateTaskRequest,Operation> |
createZoneOperationSettings()
public OperationCallSettings<CreateZoneRequest,Zone,OperationMetadata> createZoneOperationSettings()
Returns the object with the settings used for calls to createZone.
Type | Description |
OperationCallSettings<CreateZoneRequest,Zone,OperationMetadata> |
createZoneSettings()
public UnaryCallSettings<CreateZoneRequest,Operation> createZoneSettings()
Returns the object with the settings used for calls to createZone.
Type | Description |
UnaryCallSettings<CreateZoneRequest,Operation> |
deleteAssetOperationSettings()
public OperationCallSettings<DeleteAssetRequest,Empty,OperationMetadata> deleteAssetOperationSettings()
Returns the object with the settings used for calls to deleteAsset.
Type | Description |
OperationCallSettings<DeleteAssetRequest,Empty,OperationMetadata> |
deleteAssetSettings()
public UnaryCallSettings<DeleteAssetRequest,Operation> deleteAssetSettings()
Returns the object with the settings used for calls to deleteAsset.
Type | Description |
UnaryCallSettings<DeleteAssetRequest,Operation> |
deleteEnvironmentOperationSettings()
public OperationCallSettings<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the object with the settings used for calls to deleteEnvironment.
Type | Description |
OperationCallSettings<DeleteEnvironmentRequest,Empty,OperationMetadata> |
deleteEnvironmentSettings()
public UnaryCallSettings<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()
Returns the object with the settings used for calls to deleteEnvironment.
Type | Description |
UnaryCallSettings<DeleteEnvironmentRequest,Operation> |
deleteLakeOperationSettings()
public OperationCallSettings<DeleteLakeRequest,Empty,OperationMetadata> deleteLakeOperationSettings()
Returns the object with the settings used for calls to deleteLake.
Type | Description |
OperationCallSettings<DeleteLakeRequest,Empty,OperationMetadata> |
deleteLakeSettings()
public UnaryCallSettings<DeleteLakeRequest,Operation> deleteLakeSettings()
Returns the object with the settings used for calls to deleteLake.
Type | Description |
UnaryCallSettings<DeleteLakeRequest,Operation> |
deleteTaskOperationSettings()
public OperationCallSettings<DeleteTaskRequest,Empty,OperationMetadata> deleteTaskOperationSettings()
Returns the object with the settings used for calls to deleteTask.
Type | Description |
OperationCallSettings<DeleteTaskRequest,Empty,OperationMetadata> |
deleteTaskSettings()
public UnaryCallSettings<DeleteTaskRequest,Operation> deleteTaskSettings()
Returns the object with the settings used for calls to deleteTask.
Type | Description |
UnaryCallSettings<DeleteTaskRequest,Operation> |
deleteZoneOperationSettings()
public OperationCallSettings<DeleteZoneRequest,Empty,OperationMetadata> deleteZoneOperationSettings()
Returns the object with the settings used for calls to deleteZone.
Type | Description |
OperationCallSettings<DeleteZoneRequest,Empty,OperationMetadata> |
deleteZoneSettings()
public UnaryCallSettings<DeleteZoneRequest,Operation> deleteZoneSettings()
Returns the object with the settings used for calls to deleteZone.
Type | Description |
UnaryCallSettings<DeleteZoneRequest,Operation> |
getAssetSettings()
public UnaryCallSettings<GetAssetRequest,Asset> getAssetSettings()
Returns the object with the settings used for calls to getAsset.
Type | Description |
UnaryCallSettings<GetAssetRequest,Asset> |
getEnvironmentSettings()
public UnaryCallSettings<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the object with the settings used for calls to getEnvironment.
Type | Description |
UnaryCallSettings<GetEnvironmentRequest,Environment> |
getJobSettings()
public UnaryCallSettings<GetJobRequest,Job> getJobSettings()
Returns the object with the settings used for calls to getJob.
Type | Description |
UnaryCallSettings<GetJobRequest,Job> |
getLakeSettings()
public UnaryCallSettings<GetLakeRequest,Lake> getLakeSettings()
Returns the object with the settings used for calls to getLake.
Type | Description |
UnaryCallSettings<GetLakeRequest,Lake> |
getLocationSettings()
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Type | Description |
UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getTaskSettings()
public UnaryCallSettings<GetTaskRequest,Task> getTaskSettings()
Returns the object with the settings used for calls to getTask.
Type | Description |
UnaryCallSettings<GetTaskRequest,Task> |
getZoneSettings()
public UnaryCallSettings<GetZoneRequest,Zone> getZoneSettings()
Returns the object with the settings used for calls to getZone.
Type | Description |
UnaryCallSettings<GetZoneRequest,Zone> |
listAssetActionsSettings()
public PagedCallSettings<ListAssetActionsRequest,ListActionsResponse,DataplexServiceClient.ListAssetActionsPagedResponse> listAssetActionsSettings()
Returns the object with the settings used for calls to listAssetActions.
Type | Description |
PagedCallSettings<ListAssetActionsRequest,ListActionsResponse,ListAssetActionsPagedResponse> |
listAssetsSettings()
public PagedCallSettings<ListAssetsRequest,ListAssetsResponse,DataplexServiceClient.ListAssetsPagedResponse> listAssetsSettings()
Returns the object with the settings used for calls to listAssets.
Type | Description |
PagedCallSettings<ListAssetsRequest,ListAssetsResponse,ListAssetsPagedResponse> |
listEnvironmentsSettings()
public PagedCallSettings<ListEnvironmentsRequest,ListEnvironmentsResponse,DataplexServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the object with the settings used for calls to listEnvironments.
Type | Description |
PagedCallSettings<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse> |
listJobsSettings()
public PagedCallSettings<ListJobsRequest,ListJobsResponse,DataplexServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the object with the settings used for calls to listJobs.
Type | Description |
PagedCallSettings<ListJobsRequest,ListJobsResponse,ListJobsPagedResponse> |
listLakeActionsSettings()
public PagedCallSettings<ListLakeActionsRequest,ListActionsResponse,DataplexServiceClient.ListLakeActionsPagedResponse> listLakeActionsSettings()
Returns the object with the settings used for calls to listLakeActions.
Type | Description |
PagedCallSettings<ListLakeActionsRequest,ListActionsResponse,ListLakeActionsPagedResponse> |
listLakesSettings()
public PagedCallSettings<ListLakesRequest,ListLakesResponse,DataplexServiceClient.ListLakesPagedResponse> listLakesSettings()
Returns the object with the settings used for calls to listLakes.
Type | Description |
PagedCallSettings<ListLakesRequest,ListLakesResponse,ListLakesPagedResponse> |
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,DataplexServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
Type | Description |
PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |
listSessionsSettings()
public PagedCallSettings<ListSessionsRequest,ListSessionsResponse,DataplexServiceClient.ListSessionsPagedResponse> listSessionsSettings()
Returns the object with the settings used for calls to listSessions.
Type | Description |
PagedCallSettings<ListSessionsRequest,ListSessionsResponse,ListSessionsPagedResponse> |
listTasksSettings()
public PagedCallSettings<ListTasksRequest,ListTasksResponse,DataplexServiceClient.ListTasksPagedResponse> listTasksSettings()
Returns the object with the settings used for calls to listTasks.
Type | Description |
PagedCallSettings<ListTasksRequest,ListTasksResponse,ListTasksPagedResponse> |
listZoneActionsSettings()
public PagedCallSettings<ListZoneActionsRequest,ListActionsResponse,DataplexServiceClient.ListZoneActionsPagedResponse> listZoneActionsSettings()
Returns the object with the settings used for calls to listZoneActions.
Type | Description |
PagedCallSettings<ListZoneActionsRequest,ListActionsResponse,ListZoneActionsPagedResponse> |
listZonesSettings()
public PagedCallSettings<ListZonesRequest,ListZonesResponse,DataplexServiceClient.ListZonesPagedResponse> listZonesSettings()
Returns the object with the settings used for calls to listZones.
Type | Description |
PagedCallSettings<ListZonesRequest,ListZonesResponse,ListZonesPagedResponse> |
toBuilder()
public DataplexServiceSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Type | Description |
DataplexServiceSettings.Builder |
updateAssetOperationSettings()
public OperationCallSettings<UpdateAssetRequest,Asset,OperationMetadata> updateAssetOperationSettings()
Returns the object with the settings used for calls to updateAsset.
Type | Description |
OperationCallSettings<UpdateAssetRequest,Asset,OperationMetadata> |
updateAssetSettings()
public UnaryCallSettings<UpdateAssetRequest,Operation> updateAssetSettings()
Returns the object with the settings used for calls to updateAsset.
Type | Description |
UnaryCallSettings<UpdateAssetRequest,Operation> |
updateEnvironmentOperationSettings()
public OperationCallSettings<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()
Returns the object with the settings used for calls to updateEnvironment.
Type | Description |
OperationCallSettings<UpdateEnvironmentRequest,Environment,OperationMetadata> |
updateEnvironmentSettings()
public UnaryCallSettings<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()
Returns the object with the settings used for calls to updateEnvironment.
Type | Description |
UnaryCallSettings<UpdateEnvironmentRequest,Operation> |
updateLakeOperationSettings()
public OperationCallSettings<UpdateLakeRequest,Lake,OperationMetadata> updateLakeOperationSettings()
Returns the object with the settings used for calls to updateLake.
Type | Description |
OperationCallSettings<UpdateLakeRequest,Lake,OperationMetadata> |
updateLakeSettings()
public UnaryCallSettings<UpdateLakeRequest,Operation> updateLakeSettings()
Returns the object with the settings used for calls to updateLake.
Type | Description |
UnaryCallSettings<UpdateLakeRequest,Operation> |
updateTaskOperationSettings()
public OperationCallSettings<UpdateTaskRequest,Task,OperationMetadata> updateTaskOperationSettings()
Returns the object with the settings used for calls to updateTask.
Type | Description |
OperationCallSettings<UpdateTaskRequest,Task,OperationMetadata> |
updateTaskSettings()
public UnaryCallSettings<UpdateTaskRequest,Operation> updateTaskSettings()
Returns the object with the settings used for calls to updateTask.
Type | Description |
UnaryCallSettings<UpdateTaskRequest,Operation> |
updateZoneOperationSettings()
public OperationCallSettings<UpdateZoneRequest,Zone,OperationMetadata> updateZoneOperationSettings()
Returns the object with the settings used for calls to updateZone.
Type | Description |
OperationCallSettings<UpdateZoneRequest,Zone,OperationMetadata> |
updateZoneSettings()
public UnaryCallSettings<UpdateZoneRequest,Operation> updateZoneSettings()
Returns the object with the settings used for calls to updateZone.
Type | Description |
UnaryCallSettings<UpdateZoneRequest,Operation> |