Class DataformSettings
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings<DataformSettings>
-
- com.google.cloud.dataform.v1beta1.DataformSettings
-
@BetaApi @Generated("by gapic-generator-java") public class DataformSettings extends com.google.api.gax.rpc.ClientSettings<DataformSettings>
Settings class to configure an instance ofDataformClient
.The default instance has everything set to sensible defaults:
- The default service address (dataform.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 getRepository 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 DataformSettings.Builder dataformSettingsBuilder = DataformSettings.newBuilder(); dataformSettingsBuilder .getRepositorySettings() .setRetrySettings( dataformSettingsBuilder .getRepositorySettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); DataformSettings dataformSettings = dataformSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataformSettings.Builder
Builder for DataformSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataformSettings(DataformSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings<CancelWorkflowInvocationRequest,com.google.protobuf.Empty>
cancelWorkflowInvocationSettings()
Returns the object with the settings used for calls to cancelWorkflowInvocation.com.google.api.gax.rpc.UnaryCallSettings<CommitWorkspaceChangesRequest,com.google.protobuf.Empty>
commitWorkspaceChangesSettings()
Returns the object with the settings used for calls to commitWorkspaceChanges.static DataformSettings
create(DataformStubSettings stub)
com.google.api.gax.rpc.UnaryCallSettings<CreateCompilationResultRequest,CompilationResult>
createCompilationResultSettings()
Returns the object with the settings used for calls to createCompilationResult.com.google.api.gax.rpc.UnaryCallSettings<CreateRepositoryRequest,Repository>
createRepositorySettings()
Returns the object with the settings used for calls to createRepository.com.google.api.gax.rpc.UnaryCallSettings<CreateWorkflowInvocationRequest,WorkflowInvocation>
createWorkflowInvocationSettings()
Returns the object with the settings used for calls to createWorkflowInvocation.com.google.api.gax.rpc.UnaryCallSettings<CreateWorkspaceRequest,Workspace>
createWorkspaceSettings()
Returns the object with the settings used for calls to createWorkspace.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<DeleteRepositoryRequest,com.google.protobuf.Empty>
deleteRepositorySettings()
Returns the object with the settings used for calls to deleteRepository.com.google.api.gax.rpc.UnaryCallSettings<DeleteWorkflowInvocationRequest,com.google.protobuf.Empty>
deleteWorkflowInvocationSettings()
Returns the object with the settings used for calls to deleteWorkflowInvocation.com.google.api.gax.rpc.UnaryCallSettings<DeleteWorkspaceRequest,com.google.protobuf.Empty>
deleteWorkspaceSettings()
Returns the object with the settings used for calls to deleteWorkspace.com.google.api.gax.rpc.UnaryCallSettings<FetchFileDiffRequest,FetchFileDiffResponse>
fetchFileDiffSettings()
Returns the object with the settings used for calls to fetchFileDiff.com.google.api.gax.rpc.UnaryCallSettings<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse>
fetchFileGitStatusesSettings()
Returns the object with the settings used for calls to fetchFileGitStatuses.com.google.api.gax.rpc.UnaryCallSettings<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse>
fetchGitAheadBehindSettings()
Returns the object with the settings used for calls to fetchGitAheadBehind.com.google.api.gax.rpc.UnaryCallSettings<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse>
fetchRemoteBranchesSettings()
Returns the object with the settings used for calls to fetchRemoteBranches.com.google.api.gax.rpc.UnaryCallSettings<GetCompilationResultRequest,CompilationResult>
getCompilationResultSettings()
Returns the object with the settings used for calls to getCompilationResult.static String
getDefaultEndpoint()
Returns the default service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the object with the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings<GetRepositoryRequest,Repository>
getRepositorySettings()
Returns the object with the settings used for calls to getRepository.com.google.api.gax.rpc.UnaryCallSettings<GetWorkflowInvocationRequest,WorkflowInvocation>
getWorkflowInvocationSettings()
Returns the object with the settings used for calls to getWorkflowInvocation.com.google.api.gax.rpc.UnaryCallSettings<GetWorkspaceRequest,Workspace>
getWorkspaceSettings()
Returns the object with the settings used for calls to getWorkspace.com.google.api.gax.rpc.UnaryCallSettings<InstallNpmPackagesRequest,InstallNpmPackagesResponse>
installNpmPackagesSettings()
Returns the object with the settings used for calls to installNpmPackages.com.google.api.gax.rpc.PagedCallSettings<ListCompilationResultsRequest,ListCompilationResultsResponse,DataformClient.ListCompilationResultsPagedResponse>
listCompilationResultsSettings()
Returns the object with the settings used for calls to listCompilationResults.com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataformClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,DataformClient.ListRepositoriesPagedResponse>
listRepositoriesSettings()
Returns the object with the settings used for calls to listRepositories.com.google.api.gax.rpc.PagedCallSettings<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,DataformClient.ListWorkflowInvocationsPagedResponse>
listWorkflowInvocationsSettings()
Returns the object with the settings used for calls to listWorkflowInvocations.com.google.api.gax.rpc.PagedCallSettings<ListWorkspacesRequest,ListWorkspacesResponse,DataformClient.ListWorkspacesPagedResponse>
listWorkspacesSettings()
Returns the object with the settings used for calls to listWorkspaces.com.google.api.gax.rpc.UnaryCallSettings<MakeDirectoryRequest,MakeDirectoryResponse>
makeDirectorySettings()
Returns the object with the settings used for calls to makeDirectory.com.google.api.gax.rpc.UnaryCallSettings<MoveDirectoryRequest,MoveDirectoryResponse>
moveDirectorySettings()
Returns the object with the settings used for calls to moveDirectory.com.google.api.gax.rpc.UnaryCallSettings<MoveFileRequest,MoveFileResponse>
moveFileSettings()
Returns the object with the settings used for calls to moveFile.static DataformSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static DataformSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static DataformSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.com.google.api.gax.rpc.UnaryCallSettings<PullGitCommitsRequest,com.google.protobuf.Empty>
pullGitCommitsSettings()
Returns the object with the settings used for calls to pullGitCommits.com.google.api.gax.rpc.UnaryCallSettings<PushGitCommitsRequest,com.google.protobuf.Empty>
pushGitCommitsSettings()
Returns the object with the settings used for calls to pushGitCommits.com.google.api.gax.rpc.PagedCallSettings<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,DataformClient.QueryCompilationResultActionsPagedResponse>
queryCompilationResultActionsSettings()
Returns the object with the settings used for calls to queryCompilationResultActions.com.google.api.gax.rpc.PagedCallSettings<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,DataformClient.QueryDirectoryContentsPagedResponse>
queryDirectoryContentsSettings()
Returns the object with the settings used for calls to queryDirectoryContents.com.google.api.gax.rpc.PagedCallSettings<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,DataformClient.QueryWorkflowInvocationActionsPagedResponse>
queryWorkflowInvocationActionsSettings()
Returns the object with the settings used for calls to queryWorkflowInvocationActions.com.google.api.gax.rpc.UnaryCallSettings<ReadFileRequest,ReadFileResponse>
readFileSettings()
Returns the object with the settings used for calls to readFile.com.google.api.gax.rpc.UnaryCallSettings<RemoveDirectoryRequest,com.google.protobuf.Empty>
removeDirectorySettings()
Returns the object with the settings used for calls to removeDirectory.com.google.api.gax.rpc.UnaryCallSettings<RemoveFileRequest,com.google.protobuf.Empty>
removeFileSettings()
Returns the object with the settings used for calls to removeFile.com.google.api.gax.rpc.UnaryCallSettings<ResetWorkspaceChangesRequest,com.google.protobuf.Empty>
resetWorkspaceChangesSettings()
Returns the object with the settings used for calls to resetWorkspaceChanges.DataformSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.UnaryCallSettings<UpdateRepositoryRequest,Repository>
updateRepositorySettings()
Returns the object with the settings used for calls to updateRepository.com.google.api.gax.rpc.UnaryCallSettings<WriteFileRequest,WriteFileResponse>
writeFileSettings()
Returns the object with the settings used for calls to writeFile.-
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
-
DataformSettings
protected DataformSettings(DataformSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
listRepositoriesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,DataformClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the object with the settings used for calls to listRepositories.
-
getRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the object with the settings used for calls to getRepository.
-
createRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateRepositoryRequest,Repository> createRepositorySettings()
Returns the object with the settings used for calls to createRepository.
-
updateRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the object with the settings used for calls to updateRepository.
-
deleteRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteRepositoryRequest,com.google.protobuf.Empty> deleteRepositorySettings()
Returns the object with the settings used for calls to deleteRepository.
-
fetchRemoteBranchesSettings
public com.google.api.gax.rpc.UnaryCallSettings<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse> fetchRemoteBranchesSettings()
Returns the object with the settings used for calls to fetchRemoteBranches.
-
listWorkspacesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListWorkspacesRequest,ListWorkspacesResponse,DataformClient.ListWorkspacesPagedResponse> listWorkspacesSettings()
Returns the object with the settings used for calls to listWorkspaces.
-
getWorkspaceSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetWorkspaceRequest,Workspace> getWorkspaceSettings()
Returns the object with the settings used for calls to getWorkspace.
-
createWorkspaceSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateWorkspaceRequest,Workspace> createWorkspaceSettings()
Returns the object with the settings used for calls to createWorkspace.
-
deleteWorkspaceSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteWorkspaceRequest,com.google.protobuf.Empty> deleteWorkspaceSettings()
Returns the object with the settings used for calls to deleteWorkspace.
-
installNpmPackagesSettings
public com.google.api.gax.rpc.UnaryCallSettings<InstallNpmPackagesRequest,InstallNpmPackagesResponse> installNpmPackagesSettings()
Returns the object with the settings used for calls to installNpmPackages.
-
pullGitCommitsSettings
public com.google.api.gax.rpc.UnaryCallSettings<PullGitCommitsRequest,com.google.protobuf.Empty> pullGitCommitsSettings()
Returns the object with the settings used for calls to pullGitCommits.
-
pushGitCommitsSettings
public com.google.api.gax.rpc.UnaryCallSettings<PushGitCommitsRequest,com.google.protobuf.Empty> pushGitCommitsSettings()
Returns the object with the settings used for calls to pushGitCommits.
-
fetchFileGitStatusesSettings
public com.google.api.gax.rpc.UnaryCallSettings<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse> fetchFileGitStatusesSettings()
Returns the object with the settings used for calls to fetchFileGitStatuses.
-
fetchGitAheadBehindSettings
public com.google.api.gax.rpc.UnaryCallSettings<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse> fetchGitAheadBehindSettings()
Returns the object with the settings used for calls to fetchGitAheadBehind.
-
commitWorkspaceChangesSettings
public com.google.api.gax.rpc.UnaryCallSettings<CommitWorkspaceChangesRequest,com.google.protobuf.Empty> commitWorkspaceChangesSettings()
Returns the object with the settings used for calls to commitWorkspaceChanges.
-
resetWorkspaceChangesSettings
public com.google.api.gax.rpc.UnaryCallSettings<ResetWorkspaceChangesRequest,com.google.protobuf.Empty> resetWorkspaceChangesSettings()
Returns the object with the settings used for calls to resetWorkspaceChanges.
-
fetchFileDiffSettings
public com.google.api.gax.rpc.UnaryCallSettings<FetchFileDiffRequest,FetchFileDiffResponse> fetchFileDiffSettings()
Returns the object with the settings used for calls to fetchFileDiff.
-
queryDirectoryContentsSettings
public com.google.api.gax.rpc.PagedCallSettings<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,DataformClient.QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings()
Returns the object with the settings used for calls to queryDirectoryContents.
-
makeDirectorySettings
public com.google.api.gax.rpc.UnaryCallSettings<MakeDirectoryRequest,MakeDirectoryResponse> makeDirectorySettings()
Returns the object with the settings used for calls to makeDirectory.
-
removeDirectorySettings
public com.google.api.gax.rpc.UnaryCallSettings<RemoveDirectoryRequest,com.google.protobuf.Empty> removeDirectorySettings()
Returns the object with the settings used for calls to removeDirectory.
-
moveDirectorySettings
public com.google.api.gax.rpc.UnaryCallSettings<MoveDirectoryRequest,MoveDirectoryResponse> moveDirectorySettings()
Returns the object with the settings used for calls to moveDirectory.
-
readFileSettings
public com.google.api.gax.rpc.UnaryCallSettings<ReadFileRequest,ReadFileResponse> readFileSettings()
Returns the object with the settings used for calls to readFile.
-
removeFileSettings
public com.google.api.gax.rpc.UnaryCallSettings<RemoveFileRequest,com.google.protobuf.Empty> removeFileSettings()
Returns the object with the settings used for calls to removeFile.
-
moveFileSettings
public com.google.api.gax.rpc.UnaryCallSettings<MoveFileRequest,MoveFileResponse> moveFileSettings()
Returns the object with the settings used for calls to moveFile.
-
writeFileSettings
public com.google.api.gax.rpc.UnaryCallSettings<WriteFileRequest,WriteFileResponse> writeFileSettings()
Returns the object with the settings used for calls to writeFile.
-
listCompilationResultsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListCompilationResultsRequest,ListCompilationResultsResponse,DataformClient.ListCompilationResultsPagedResponse> listCompilationResultsSettings()
Returns the object with the settings used for calls to listCompilationResults.
-
getCompilationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetCompilationResultRequest,CompilationResult> getCompilationResultSettings()
Returns the object with the settings used for calls to getCompilationResult.
-
createCompilationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateCompilationResultRequest,CompilationResult> createCompilationResultSettings()
Returns the object with the settings used for calls to createCompilationResult.
-
queryCompilationResultActionsSettings
public com.google.api.gax.rpc.PagedCallSettings<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,DataformClient.QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings()
Returns the object with the settings used for calls to queryCompilationResultActions.
-
listWorkflowInvocationsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,DataformClient.ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings()
Returns the object with the settings used for calls to listWorkflowInvocations.
-
getWorkflowInvocationSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetWorkflowInvocationRequest,WorkflowInvocation> getWorkflowInvocationSettings()
Returns the object with the settings used for calls to getWorkflowInvocation.
-
createWorkflowInvocationSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateWorkflowInvocationRequest,WorkflowInvocation> createWorkflowInvocationSettings()
Returns the object with the settings used for calls to createWorkflowInvocation.
-
deleteWorkflowInvocationSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteWorkflowInvocationRequest,com.google.protobuf.Empty> deleteWorkflowInvocationSettings()
Returns the object with the settings used for calls to deleteWorkflowInvocation.
-
cancelWorkflowInvocationSettings
public com.google.api.gax.rpc.UnaryCallSettings<CancelWorkflowInvocationRequest,com.google.protobuf.Empty> cancelWorkflowInvocationSettings()
Returns the object with the settings used for calls to cancelWorkflowInvocation.
-
queryWorkflowInvocationActionsSettings
public com.google.api.gax.rpc.PagedCallSettings<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,DataformClient.QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings()
Returns the object with the settings used for calls to queryWorkflowInvocationActions.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataformClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
-
create
public static final DataformSettings create(DataformStubSettings 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 DataformSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
@BetaApi public static DataformSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static DataformSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public DataformSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.ClientSettings<DataformSettings>
-
-