Class DataFusionStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<DataFusionStubSettings>
-
- com.google.cloud.datafusion.v1beta1.stub.DataFusionStubSettings
-
@BetaApi @Generated("by gapic-generator-java") public class DataFusionStubSettings extends com.google.api.gax.rpc.StubSettings<DataFusionStubSettings>
Settings class to configure an instance ofDataFusionStub
.The default instance has everything set to sensible defaults:
- The default service address (datafusion.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 getInstance 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 DataFusionStubSettings.Builder dataFusionSettingsBuilder = DataFusionStubSettings.newBuilder(); dataFusionSettingsBuilder .getInstanceSettings() .setRetrySettings( dataFusionSettingsBuilder .getInstanceSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); DataFusionStubSettings dataFusionSettings = dataFusionSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataFusionStubSettings.Builder
Builder for DataFusionStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataFusionStubSettings(DataFusionStubSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings<AddDnsPeeringRequest,AddDnsPeeringResponse>
addDnsPeeringSettings()
Returns the object with the settings used for calls to addDnsPeering.com.google.api.gax.rpc.OperationCallSettings<CreateInstanceRequest,Instance,OperationMetadata>
createInstanceOperationSettings()
Returns the object with the settings used for calls to createInstance.com.google.api.gax.rpc.UnaryCallSettings<CreateInstanceRequest,com.google.longrunning.Operation>
createInstanceSettings()
Returns the object with the settings used for calls to createInstance.DataFusionStub
createStub()
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.rpc.ApiClientHeaderProvider.Builder
defaultGrpcApiClientHeaderProviderBuilder()
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.rpc.ApiClientHeaderProvider.Builder
defaultHttpJsonApiClientHeaderProviderBuilder()
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<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata>
deleteInstanceOperationSettings()
Returns the object with the settings used for calls to deleteInstance.com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceRequest,com.google.longrunning.Operation>
deleteInstanceSettings()
Returns the object with the settings used for calls to deleteInstance.static String
getDefaultEndpoint()
Returns the default service endpoint.static String
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetInstanceRequest,Instance>
getInstanceSettings()
Returns the object with the settings used for calls to getInstance.com.google.api.gax.rpc.PagedCallSettings<ListAvailableVersionsRequest,ListAvailableVersionsResponse,DataFusionClient.ListAvailableVersionsPagedResponse>
listAvailableVersionsSettings()
Returns the object with the settings used for calls to listAvailableVersions.com.google.api.gax.rpc.PagedCallSettings<ListDnsPeeringsRequest,ListDnsPeeringsResponse,DataFusionClient.ListDnsPeeringsPagedResponse>
listDnsPeeringsSettings()
Returns the object with the settings used for calls to listDnsPeerings.com.google.api.gax.rpc.PagedCallSettings<ListInstancesRequest,ListInstancesResponse,DataFusionClient.ListInstancesPagedResponse>
listInstancesSettings()
Returns the object with the settings used for calls to listInstances.com.google.api.gax.rpc.PagedCallSettings<ListNamespacesRequest,ListNamespacesResponse,DataFusionClient.ListNamespacesPagedResponse>
listNamespacesSettings()
Returns the object with the settings used for calls to listNamespaces.static DataFusionStubSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static DataFusionStubSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static DataFusionStubSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.com.google.api.gax.rpc.UnaryCallSettings<RemoveDnsPeeringRequest,RemoveDnsPeeringResponse>
removeDnsPeeringSettings()
Returns the object with the settings used for calls to removeDnsPeering.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<RestartInstanceRequest,Instance,OperationMetadata>
restartInstanceOperationSettings()
Returns the object with the settings used for calls to restartInstance.com.google.api.gax.rpc.UnaryCallSettings<RestartInstanceRequest,com.google.longrunning.Operation>
restartInstanceSettings()
Returns the object with the settings used for calls to restartInstance.DataFusionStubSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<UpdateInstanceRequest,Instance,OperationMetadata>
updateInstanceOperationSettings()
Returns the object with the settings used for calls to updateInstance.com.google.api.gax.rpc.UnaryCallSettings<UpdateInstanceRequest,com.google.longrunning.Operation>
updateInstanceSettings()
Returns the object with the settings used for calls to updateInstance.com.google.api.gax.rpc.OperationCallSettings<UpgradeInstanceRequest,Instance,OperationMetadata>
upgradeInstanceOperationSettings()
Returns the object with the settings used for calls to upgradeInstance.com.google.api.gax.rpc.UnaryCallSettings<UpgradeInstanceRequest,com.google.longrunning.Operation>
upgradeInstanceSettings()
Returns the object with the settings used for calls to upgradeInstance.-
Methods inherited from class com.google.api.gax.rpc.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
DataFusionStubSettings
protected DataFusionStubSettings(DataFusionStubSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
listAvailableVersionsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListAvailableVersionsRequest,ListAvailableVersionsResponse,DataFusionClient.ListAvailableVersionsPagedResponse> listAvailableVersionsSettings()
Returns the object with the settings used for calls to listAvailableVersions.
-
listInstancesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListInstancesRequest,ListInstancesResponse,DataFusionClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the object with the settings used for calls to listInstances.
-
getInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetInstanceRequest,Instance> getInstanceSettings()
Returns the object with the settings used for calls to getInstance.
-
createInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
Returns the object with the settings used for calls to createInstance.
-
createInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
Returns the object with the settings used for calls to createInstance.
-
deleteInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceSettings()
Returns the object with the settings used for calls to deleteInstance.
-
deleteInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata> deleteInstanceOperationSettings()
Returns the object with the settings used for calls to deleteInstance.
-
updateInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceSettings()
Returns the object with the settings used for calls to updateInstance.
-
updateInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()
Returns the object with the settings used for calls to updateInstance.
-
restartInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings<RestartInstanceRequest,com.google.longrunning.Operation> restartInstanceSettings()
Returns the object with the settings used for calls to restartInstance.
-
restartInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationSettings()
Returns the object with the settings used for calls to restartInstance.
-
upgradeInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpgradeInstanceRequest,com.google.longrunning.Operation> upgradeInstanceSettings()
Returns the object with the settings used for calls to upgradeInstance.
-
upgradeInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationSettings()
Returns the object with the settings used for calls to upgradeInstance.
-
removeIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings<RemoveIamPolicyRequest,RemoveIamPolicyResponse> removeIamPolicySettings()
Returns the object with the settings used for calls to removeIamPolicy.
-
listNamespacesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListNamespacesRequest,ListNamespacesResponse,DataFusionClient.ListNamespacesPagedResponse> listNamespacesSettings()
Returns the object with the settings used for calls to listNamespaces.
-
addDnsPeeringSettings
public com.google.api.gax.rpc.UnaryCallSettings<AddDnsPeeringRequest,AddDnsPeeringResponse> addDnsPeeringSettings()
Returns the object with the settings used for calls to addDnsPeering.
-
removeDnsPeeringSettings
public com.google.api.gax.rpc.UnaryCallSettings<RemoveDnsPeeringRequest,RemoveDnsPeeringResponse> removeDnsPeeringSettings()
Returns the object with the settings used for calls to removeDnsPeering.
-
listDnsPeeringsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListDnsPeeringsRequest,ListDnsPeeringsResponse,DataFusionClient.ListDnsPeeringsPagedResponse> listDnsPeeringsSettings()
Returns the object with the settings used for calls to listDnsPeerings.
-
createStub
public DataFusionStub createStub() throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
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.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultGrpcTransportProviderBuilder
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
-
defaultHttpJsonTransportProviderBuilder
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultGrpcApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
-
defaultHttpJsonApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
-
defaultApiClientHeaderProviderBuilder
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static DataFusionStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
public static DataFusionStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static DataFusionStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public DataFusionStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<DataFusionStubSettings>
-
-