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