Class LineageSettings
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings<LineageSettings>
-
- com.google.cloud.datacatalog.lineage.v1.LineageSettings
-
@Generated("by gapic-generator-java") public class LineageSettings extends com.google.api.gax.rpc.ClientSettings<LineageSettings>
Settings class to configure an instance ofLineageClient
.The default instance has everything set to sensible defaults:
- The default service address (datalineage.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 createProcess 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 LineageSettings.Builder lineageSettingsBuilder = LineageSettings.newBuilder(); lineageSettingsBuilder .createProcessSettings() .setRetrySettings( lineageSettingsBuilder .createProcessSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); LineageSettings lineageSettings = lineageSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LineageSettings.Builder
Builder for LineageSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
LineageSettings(LineageSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.PagedCallSettings<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesResponse,LineageClient.BatchSearchLinkProcessesPagedResponse>
batchSearchLinkProcessesSettings()
Returns the object with the settings used for calls to batchSearchLinkProcesses.static LineageSettings
create(LineageStubSettings stub)
com.google.api.gax.rpc.UnaryCallSettings<CreateLineageEventRequest,LineageEvent>
createLineageEventSettings()
Returns the object with the settings used for calls to createLineageEvent.com.google.api.gax.rpc.UnaryCallSettings<CreateProcessRequest,Process>
createProcessSettings()
Returns the object with the settings used for calls to createProcess.com.google.api.gax.rpc.UnaryCallSettings<CreateRunRequest,Run>
createRunSettings()
Returns the object with the settings used for calls to createRun.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.UnaryCallSettings<DeleteLineageEventRequest,com.google.protobuf.Empty>
deleteLineageEventSettings()
Returns the object with the settings used for calls to deleteLineageEvent.com.google.api.gax.rpc.OperationCallSettings<DeleteProcessRequest,com.google.protobuf.Empty,OperationMetadata>
deleteProcessOperationSettings()
Returns the object with the settings used for calls to deleteProcess.com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessRequest,com.google.longrunning.Operation>
deleteProcessSettings()
Returns the object with the settings used for calls to deleteProcess.com.google.api.gax.rpc.OperationCallSettings<DeleteRunRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRunOperationSettings()
Returns the object with the settings used for calls to deleteRun.com.google.api.gax.rpc.UnaryCallSettings<DeleteRunRequest,com.google.longrunning.Operation>
deleteRunSettings()
Returns the object with the settings used for calls to deleteRun.static String
getDefaultEndpoint()
Returns the default service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetLineageEventRequest,LineageEvent>
getLineageEventSettings()
Returns the object with the settings used for calls to getLineageEvent.com.google.api.gax.rpc.UnaryCallSettings<GetProcessRequest,Process>
getProcessSettings()
Returns the object with the settings used for calls to getProcess.com.google.api.gax.rpc.UnaryCallSettings<GetRunRequest,Run>
getRunSettings()
Returns the object with the settings used for calls to getRun.com.google.api.gax.rpc.PagedCallSettings<ListLineageEventsRequest,ListLineageEventsResponse,LineageClient.ListLineageEventsPagedResponse>
listLineageEventsSettings()
Returns the object with the settings used for calls to listLineageEvents.com.google.api.gax.rpc.PagedCallSettings<ListProcessesRequest,ListProcessesResponse,LineageClient.ListProcessesPagedResponse>
listProcessesSettings()
Returns the object with the settings used for calls to listProcesses.com.google.api.gax.rpc.PagedCallSettings<ListRunsRequest,ListRunsResponse,LineageClient.ListRunsPagedResponse>
listRunsSettings()
Returns the object with the settings used for calls to listRuns.static LineageSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static LineageSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static LineageSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.com.google.api.gax.rpc.PagedCallSettings<SearchLinksRequest,SearchLinksResponse,LineageClient.SearchLinksPagedResponse>
searchLinksSettings()
Returns the object with the settings used for calls to searchLinks.LineageSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.UnaryCallSettings<UpdateProcessRequest,Process>
updateProcessSettings()
Returns the object with the settings used for calls to updateProcess.com.google.api.gax.rpc.UnaryCallSettings<UpdateRunRequest,Run>
updateRunSettings()
Returns the object with the settings used for calls to updateRun.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
LineageSettings
protected LineageSettings(LineageSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
createProcessSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateProcessRequest,Process> createProcessSettings()
Returns the object with the settings used for calls to createProcess.
-
updateProcessSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateProcessRequest,Process> updateProcessSettings()
Returns the object with the settings used for calls to updateProcess.
-
getProcessSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetProcessRequest,Process> getProcessSettings()
Returns the object with the settings used for calls to getProcess.
-
listProcessesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListProcessesRequest,ListProcessesResponse,LineageClient.ListProcessesPagedResponse> listProcessesSettings()
Returns the object with the settings used for calls to listProcesses.
-
deleteProcessSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessRequest,com.google.longrunning.Operation> deleteProcessSettings()
Returns the object with the settings used for calls to deleteProcess.
-
deleteProcessOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteProcessRequest,com.google.protobuf.Empty,OperationMetadata> deleteProcessOperationSettings()
Returns the object with the settings used for calls to deleteProcess.
-
createRunSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateRunRequest,Run> createRunSettings()
Returns the object with the settings used for calls to createRun.
-
updateRunSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateRunRequest,Run> updateRunSettings()
Returns the object with the settings used for calls to updateRun.
-
getRunSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetRunRequest,Run> getRunSettings()
Returns the object with the settings used for calls to getRun.
-
listRunsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListRunsRequest,ListRunsResponse,LineageClient.ListRunsPagedResponse> listRunsSettings()
Returns the object with the settings used for calls to listRuns.
-
deleteRunSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteRunRequest,com.google.longrunning.Operation> deleteRunSettings()
Returns the object with the settings used for calls to deleteRun.
-
deleteRunOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteRunRequest,com.google.protobuf.Empty,OperationMetadata> deleteRunOperationSettings()
Returns the object with the settings used for calls to deleteRun.
-
createLineageEventSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateLineageEventRequest,LineageEvent> createLineageEventSettings()
Returns the object with the settings used for calls to createLineageEvent.
-
getLineageEventSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetLineageEventRequest,LineageEvent> getLineageEventSettings()
Returns the object with the settings used for calls to getLineageEvent.
-
listLineageEventsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListLineageEventsRequest,ListLineageEventsResponse,LineageClient.ListLineageEventsPagedResponse> listLineageEventsSettings()
Returns the object with the settings used for calls to listLineageEvents.
-
deleteLineageEventSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteLineageEventRequest,com.google.protobuf.Empty> deleteLineageEventSettings()
Returns the object with the settings used for calls to deleteLineageEvent.
-
searchLinksSettings
public com.google.api.gax.rpc.PagedCallSettings<SearchLinksRequest,SearchLinksResponse,LineageClient.SearchLinksPagedResponse> searchLinksSettings()
Returns the object with the settings used for calls to searchLinks.
-
batchSearchLinkProcessesSettings
public com.google.api.gax.rpc.PagedCallSettings<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesResponse,LineageClient.BatchSearchLinkProcessesPagedResponse> batchSearchLinkProcessesSettings()
Returns the object with the settings used for calls to batchSearchLinkProcesses.
-
create
public static final LineageSettings create(LineageStubSettings stub) 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.
-
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()
-
defaultApiClientHeaderProviderBuilder
@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 defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static LineageSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
@BetaApi public static LineageSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static LineageSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public LineageSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.ClientSettings<LineageSettings>
-
-