Class DataformSettings.Builder (0.8.0)

public static class DataformSettings.Builder extends ClientSettings.Builder<DataformSettings,DataformSettings.Builder>

Builder for DataformSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataformSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataformSettings settings)

protected Builder(DataformSettings settings)
Parameter
Name Description
settings DataformSettings

Builder(DataformStubSettings.Builder stubSettings)

protected Builder(DataformStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataformStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DataformSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DataformSettings.Builder

build()

public DataformSettings build()
Returns
Type Description
DataformSettings
Overrides Exceptions
Type Description
IOException

cancelWorkflowInvocationSettings()

public UnaryCallSettings.Builder<CancelWorkflowInvocationRequest,Empty> cancelWorkflowInvocationSettings()

Returns the builder for the settings used for calls to cancelWorkflowInvocation.

Returns
Type Description
Builder<CancelWorkflowInvocationRequest,Empty>

commitWorkspaceChangesSettings()

public UnaryCallSettings.Builder<CommitWorkspaceChangesRequest,Empty> commitWorkspaceChangesSettings()

Returns the builder for the settings used for calls to commitWorkspaceChanges.

Returns
Type Description
Builder<CommitWorkspaceChangesRequest,Empty>

createCompilationResultSettings()

public UnaryCallSettings.Builder<CreateCompilationResultRequest,CompilationResult> createCompilationResultSettings()

Returns the builder for the settings used for calls to createCompilationResult.

Returns
Type Description
Builder<CreateCompilationResultRequest,CompilationResult>

createRepositorySettings()

public UnaryCallSettings.Builder<CreateRepositoryRequest,Repository> createRepositorySettings()

Returns the builder for the settings used for calls to createRepository.

Returns
Type Description
Builder<CreateRepositoryRequest,Repository>

createWorkflowInvocationSettings()

public UnaryCallSettings.Builder<CreateWorkflowInvocationRequest,WorkflowInvocation> createWorkflowInvocationSettings()

Returns the builder for the settings used for calls to createWorkflowInvocation.

Returns
Type Description
Builder<CreateWorkflowInvocationRequest,WorkflowInvocation>

createWorkspaceSettings()

public UnaryCallSettings.Builder<CreateWorkspaceRequest,Workspace> createWorkspaceSettings()

Returns the builder for the settings used for calls to createWorkspace.

Returns
Type Description
Builder<CreateWorkspaceRequest,Workspace>

deleteRepositorySettings()

public UnaryCallSettings.Builder<DeleteRepositoryRequest,Empty> deleteRepositorySettings()

Returns the builder for the settings used for calls to deleteRepository.

Returns
Type Description
Builder<DeleteRepositoryRequest,Empty>

deleteWorkflowInvocationSettings()

public UnaryCallSettings.Builder<DeleteWorkflowInvocationRequest,Empty> deleteWorkflowInvocationSettings()

Returns the builder for the settings used for calls to deleteWorkflowInvocation.

Returns
Type Description
Builder<DeleteWorkflowInvocationRequest,Empty>

deleteWorkspaceSettings()

public UnaryCallSettings.Builder<DeleteWorkspaceRequest,Empty> deleteWorkspaceSettings()

Returns the builder for the settings used for calls to deleteWorkspace.

Returns
Type Description
Builder<DeleteWorkspaceRequest,Empty>

fetchFileDiffSettings()

public UnaryCallSettings.Builder<FetchFileDiffRequest,FetchFileDiffResponse> fetchFileDiffSettings()

Returns the builder for the settings used for calls to fetchFileDiff.

Returns
Type Description
Builder<FetchFileDiffRequest,FetchFileDiffResponse>

fetchFileGitStatusesSettings()

public UnaryCallSettings.Builder<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse> fetchFileGitStatusesSettings()

Returns the builder for the settings used for calls to fetchFileGitStatuses.

Returns
Type Description
Builder<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse>

fetchGitAheadBehindSettings()

public UnaryCallSettings.Builder<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse> fetchGitAheadBehindSettings()

Returns the builder for the settings used for calls to fetchGitAheadBehind.

Returns
Type Description
Builder<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse>

fetchRemoteBranchesSettings()

public UnaryCallSettings.Builder<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse> fetchRemoteBranchesSettings()

Returns the builder for the settings used for calls to fetchRemoteBranches.

Returns
Type Description
Builder<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse>

getCompilationResultSettings()

public UnaryCallSettings.Builder<GetCompilationResultRequest,CompilationResult> getCompilationResultSettings()

Returns the builder for the settings used for calls to getCompilationResult.

Returns
Type Description
Builder<GetCompilationResultRequest,CompilationResult>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getRepositorySettings()

public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()

Returns the builder for the settings used for calls to getRepository.

Returns
Type Description
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

public DataformStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DataformStubSettings.Builder

getWorkflowInvocationSettings()

public UnaryCallSettings.Builder<GetWorkflowInvocationRequest,WorkflowInvocation> getWorkflowInvocationSettings()

Returns the builder for the settings used for calls to getWorkflowInvocation.

Returns
Type Description
Builder<GetWorkflowInvocationRequest,WorkflowInvocation>

getWorkspaceSettings()

public UnaryCallSettings.Builder<GetWorkspaceRequest,Workspace> getWorkspaceSettings()

Returns the builder for the settings used for calls to getWorkspace.

Returns
Type Description
Builder<GetWorkspaceRequest,Workspace>

installNpmPackagesSettings()

public UnaryCallSettings.Builder<InstallNpmPackagesRequest,InstallNpmPackagesResponse> installNpmPackagesSettings()

Returns the builder for the settings used for calls to installNpmPackages.

Returns
Type Description
Builder<InstallNpmPackagesRequest,InstallNpmPackagesResponse>

listCompilationResultsSettings()

public PagedCallSettings.Builder<ListCompilationResultsRequest,ListCompilationResultsResponse,DataformClient.ListCompilationResultsPagedResponse> listCompilationResultsSettings()

Returns the builder for the settings used for calls to listCompilationResults.

Returns
Type Description
Builder<ListCompilationResultsRequest,ListCompilationResultsResponse,ListCompilationResultsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataformClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listRepositoriesSettings()

public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,DataformClient.ListRepositoriesPagedResponse> listRepositoriesSettings()

Returns the builder for the settings used for calls to listRepositories.

Returns
Type Description
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>

listWorkflowInvocationsSettings()

public PagedCallSettings.Builder<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,DataformClient.ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings()

Returns the builder for the settings used for calls to listWorkflowInvocations.

Returns
Type Description
Builder<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,ListWorkflowInvocationsPagedResponse>

listWorkspacesSettings()

public PagedCallSettings.Builder<ListWorkspacesRequest,ListWorkspacesResponse,DataformClient.ListWorkspacesPagedResponse> listWorkspacesSettings()

Returns the builder for the settings used for calls to listWorkspaces.

Returns
Type Description
Builder<ListWorkspacesRequest,ListWorkspacesResponse,ListWorkspacesPagedResponse>

makeDirectorySettings()

public UnaryCallSettings.Builder<MakeDirectoryRequest,MakeDirectoryResponse> makeDirectorySettings()

Returns the builder for the settings used for calls to makeDirectory.

Returns
Type Description
Builder<MakeDirectoryRequest,MakeDirectoryResponse>

moveDirectorySettings()

public UnaryCallSettings.Builder<MoveDirectoryRequest,MoveDirectoryResponse> moveDirectorySettings()

Returns the builder for the settings used for calls to moveDirectory.

Returns
Type Description
Builder<MoveDirectoryRequest,MoveDirectoryResponse>

moveFileSettings()

public UnaryCallSettings.Builder<MoveFileRequest,MoveFileResponse> moveFileSettings()

Returns the builder for the settings used for calls to moveFile.

Returns
Type Description
Builder<MoveFileRequest,MoveFileResponse>

pullGitCommitsSettings()

public UnaryCallSettings.Builder<PullGitCommitsRequest,Empty> pullGitCommitsSettings()

Returns the builder for the settings used for calls to pullGitCommits.

Returns
Type Description
Builder<PullGitCommitsRequest,Empty>

pushGitCommitsSettings()

public UnaryCallSettings.Builder<PushGitCommitsRequest,Empty> pushGitCommitsSettings()

Returns the builder for the settings used for calls to pushGitCommits.

Returns
Type Description
Builder<PushGitCommitsRequest,Empty>

queryCompilationResultActionsSettings()

public PagedCallSettings.Builder<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,DataformClient.QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings()

Returns the builder for the settings used for calls to queryCompilationResultActions.

Returns
Type Description
Builder<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,QueryCompilationResultActionsPagedResponse>

queryDirectoryContentsSettings()

public PagedCallSettings.Builder<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,DataformClient.QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings()

Returns the builder for the settings used for calls to queryDirectoryContents.

Returns
Type Description
Builder<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,QueryDirectoryContentsPagedResponse>

queryWorkflowInvocationActionsSettings()

public PagedCallSettings.Builder<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,DataformClient.QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings()

Returns the builder for the settings used for calls to queryWorkflowInvocationActions.

Returns
Type Description
Builder<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,QueryWorkflowInvocationActionsPagedResponse>

readFileSettings()

public UnaryCallSettings.Builder<ReadFileRequest,ReadFileResponse> readFileSettings()

Returns the builder for the settings used for calls to readFile.

Returns
Type Description
Builder<ReadFileRequest,ReadFileResponse>

removeDirectorySettings()

public UnaryCallSettings.Builder<RemoveDirectoryRequest,Empty> removeDirectorySettings()

Returns the builder for the settings used for calls to removeDirectory.

Returns
Type Description
Builder<RemoveDirectoryRequest,Empty>

removeFileSettings()

public UnaryCallSettings.Builder<RemoveFileRequest,Empty> removeFileSettings()

Returns the builder for the settings used for calls to removeFile.

Returns
Type Description
Builder<RemoveFileRequest,Empty>

resetWorkspaceChangesSettings()

public UnaryCallSettings.Builder<ResetWorkspaceChangesRequest,Empty> resetWorkspaceChangesSettings()

Returns the builder for the settings used for calls to resetWorkspaceChanges.

Returns
Type Description
Builder<ResetWorkspaceChangesRequest,Empty>

updateRepositorySettings()

public UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()

Returns the builder for the settings used for calls to updateRepository.

Returns
Type Description
Builder<UpdateRepositoryRequest,Repository>

writeFileSettings()

public UnaryCallSettings.Builder<WriteFileRequest,WriteFileResponse> writeFileSettings()

Returns the builder for the settings used for calls to writeFile.

Returns
Type Description
Builder<WriteFileRequest,WriteFileResponse>