public class DataplexServiceStubSettings extends StubSettings<DataplexServiceStubSettings>
Settings class to configure an instance of DataplexServiceStub.
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
DataplexServiceStubSettings.Builder dataplexServiceSettingsBuilder =
DataplexServiceStubSettings.newBuilder();
dataplexServiceSettingsBuilder
.getLakeSettings()
.setRetrySettings(
dataplexServiceSettingsBuilder
.getLakeSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DataplexServiceStubSettings dataplexServiceSettings = dataplexServiceSettingsBuilder.build();
Static Methods
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
newBuilder()
public static DataplexServiceStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static DataplexServiceStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
newHttpJsonBuilder()
public static DataplexServiceStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Constructors
DataplexServiceStubSettings(DataplexServiceStubSettings.Builder settingsBuilder)
protected DataplexServiceStubSettings(DataplexServiceStubSettings.Builder settingsBuilder)
Methods
cancelJobSettings()
public UnaryCallSettings<CancelJobRequest,Empty> cancelJobSettings()
Returns the object with the settings used for calls to cancelJob.
createAssetOperationSettings()
public OperationCallSettings<CreateAssetRequest,Asset,OperationMetadata> createAssetOperationSettings()
Returns the object with the settings used for calls to createAsset.
createAssetSettings()
public UnaryCallSettings<CreateAssetRequest,Operation> createAssetSettings()
Returns the object with the settings used for calls to createAsset.
createEnvironmentOperationSettings()
public OperationCallSettings<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the object with the settings used for calls to createEnvironment.
createEnvironmentSettings()
public UnaryCallSettings<CreateEnvironmentRequest,Operation> createEnvironmentSettings()
Returns the object with the settings used for calls to createEnvironment.
createLakeOperationSettings()
public OperationCallSettings<CreateLakeRequest,Lake,OperationMetadata> createLakeOperationSettings()
Returns the object with the settings used for calls to createLake.
createLakeSettings()
public UnaryCallSettings<CreateLakeRequest,Operation> createLakeSettings()
Returns the object with the settings used for calls to createLake.
createStub()
public DataplexServiceStub createStub()
createTaskOperationSettings()
public OperationCallSettings<CreateTaskRequest,Task,OperationMetadata> createTaskOperationSettings()
Returns the object with the settings used for calls to createTask.
createTaskSettings()
public UnaryCallSettings<CreateTaskRequest,Operation> createTaskSettings()
Returns the object with the settings used for calls to createTask.
createZoneOperationSettings()
public OperationCallSettings<CreateZoneRequest,Zone,OperationMetadata> createZoneOperationSettings()
Returns the object with the settings used for calls to createZone.
createZoneSettings()
public UnaryCallSettings<CreateZoneRequest,Operation> createZoneSettings()
Returns the object with the settings used for calls to createZone.
deleteAssetOperationSettings()
public OperationCallSettings<DeleteAssetRequest,Empty,OperationMetadata> deleteAssetOperationSettings()
Returns the object with the settings used for calls to deleteAsset.
deleteAssetSettings()
public UnaryCallSettings<DeleteAssetRequest,Operation> deleteAssetSettings()
Returns the object with the settings used for calls to deleteAsset.
deleteEnvironmentOperationSettings()
public OperationCallSettings<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the object with the settings used for calls to deleteEnvironment.
deleteEnvironmentSettings()
public UnaryCallSettings<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()
Returns the object with the settings used for calls to deleteEnvironment.
deleteLakeOperationSettings()
public OperationCallSettings<DeleteLakeRequest,Empty,OperationMetadata> deleteLakeOperationSettings()
Returns the object with the settings used for calls to deleteLake.
deleteLakeSettings()
public UnaryCallSettings<DeleteLakeRequest,Operation> deleteLakeSettings()
Returns the object with the settings used for calls to deleteLake.
deleteTaskOperationSettings()
public OperationCallSettings<DeleteTaskRequest,Empty,OperationMetadata> deleteTaskOperationSettings()
Returns the object with the settings used for calls to deleteTask.
deleteTaskSettings()
public UnaryCallSettings<DeleteTaskRequest,Operation> deleteTaskSettings()
Returns the object with the settings used for calls to deleteTask.
deleteZoneOperationSettings()
public OperationCallSettings<DeleteZoneRequest,Empty,OperationMetadata> deleteZoneOperationSettings()
Returns the object with the settings used for calls to deleteZone.
deleteZoneSettings()
public UnaryCallSettings<DeleteZoneRequest,Operation> deleteZoneSettings()
Returns the object with the settings used for calls to deleteZone.
getAssetSettings()
public UnaryCallSettings<GetAssetRequest,Asset> getAssetSettings()
Returns the object with the settings used for calls to getAsset.
getEnvironmentSettings()
public UnaryCallSettings<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the object with the settings used for calls to getEnvironment.
getJobSettings()
public UnaryCallSettings<GetJobRequest,Job> getJobSettings()
Returns the object with the settings used for calls to getJob.
getLakeSettings()
public UnaryCallSettings<GetLakeRequest,Lake> getLakeSettings()
Returns the object with the settings used for calls to getLake.
getLocationSettings()
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Returns |
---|
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.
getZoneSettings()
public UnaryCallSettings<GetZoneRequest,Zone> getZoneSettings()
Returns the object with the settings used for calls to getZone.
listAssetActionsSettings()
public PagedCallSettings<ListAssetActionsRequest,ListActionsResponse,DataplexServiceClient.ListAssetActionsPagedResponse> listAssetActionsSettings()
Returns the object with the settings used for calls to listAssetActions.
listAssetsSettings()
public PagedCallSettings<ListAssetsRequest,ListAssetsResponse,DataplexServiceClient.ListAssetsPagedResponse> listAssetsSettings()
Returns the object with the settings used for calls to listAssets.
listEnvironmentsSettings()
public PagedCallSettings<ListEnvironmentsRequest,ListEnvironmentsResponse,DataplexServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the object with the settings used for calls to listEnvironments.
listJobsSettings()
public PagedCallSettings<ListJobsRequest,ListJobsResponse,DataplexServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the object with the settings used for calls to listJobs.
listLakeActionsSettings()
public PagedCallSettings<ListLakeActionsRequest,ListActionsResponse,DataplexServiceClient.ListLakeActionsPagedResponse> listLakeActionsSettings()
Returns the object with the settings used for calls to listLakeActions.
listLakesSettings()
public PagedCallSettings<ListLakesRequest,ListLakesResponse,DataplexServiceClient.ListLakesPagedResponse> listLakesSettings()
Returns the object with the settings used for calls to listLakes.
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,DataplexServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
listSessionsSettings()
public PagedCallSettings<ListSessionsRequest,ListSessionsResponse,DataplexServiceClient.ListSessionsPagedResponse> listSessionsSettings()
Returns the object with the settings used for calls to listSessions.
listTasksSettings()
public PagedCallSettings<ListTasksRequest,ListTasksResponse,DataplexServiceClient.ListTasksPagedResponse> listTasksSettings()
Returns the object with the settings used for calls to listTasks.
listZoneActionsSettings()
public PagedCallSettings<ListZoneActionsRequest,ListActionsResponse,DataplexServiceClient.ListZoneActionsPagedResponse> listZoneActionsSettings()
Returns the object with the settings used for calls to listZoneActions.
listZonesSettings()
public PagedCallSettings<ListZonesRequest,ListZonesResponse,DataplexServiceClient.ListZonesPagedResponse> listZonesSettings()
Returns the object with the settings used for calls to listZones.
toBuilder()
public DataplexServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Overrides
updateAssetOperationSettings()
public OperationCallSettings<UpdateAssetRequest,Asset,OperationMetadata> updateAssetOperationSettings()
Returns the object with the settings used for calls to updateAsset.
updateAssetSettings()
public UnaryCallSettings<UpdateAssetRequest,Operation> updateAssetSettings()
Returns the object with the settings used for calls to updateAsset.
updateEnvironmentOperationSettings()
public OperationCallSettings<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()
Returns the object with the settings used for calls to updateEnvironment.
updateEnvironmentSettings()
public UnaryCallSettings<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()
Returns the object with the settings used for calls to updateEnvironment.
updateLakeOperationSettings()
public OperationCallSettings<UpdateLakeRequest,Lake,OperationMetadata> updateLakeOperationSettings()
Returns the object with the settings used for calls to updateLake.
updateLakeSettings()
public UnaryCallSettings<UpdateLakeRequest,Operation> updateLakeSettings()
Returns the object with the settings used for calls to updateLake.
updateTaskOperationSettings()
public OperationCallSettings<UpdateTaskRequest,Task,OperationMetadata> updateTaskOperationSettings()
Returns the object with the settings used for calls to updateTask.
updateTaskSettings()
public UnaryCallSettings<UpdateTaskRequest,Operation> updateTaskSettings()
Returns the object with the settings used for calls to updateTask.
updateZoneOperationSettings()
public OperationCallSettings<UpdateZoneRequest,Zone,OperationMetadata> updateZoneOperationSettings()
Returns the object with the settings used for calls to updateZone.
updateZoneSettings()
public UnaryCallSettings<UpdateZoneRequest,Operation> updateZoneSettings()
Returns the object with the settings used for calls to updateZone.