Interface DataformGrpc.AsyncService (0.46.0)

public static interface DataformGrpc.AsyncService

Dataform is a service to develop, create, document, test, and update curated tables in BigQuery.

Methods

cancelWorkflowInvocation(CancelWorkflowInvocationRequest request, StreamObserver<Empty> responseObserver)

public default void cancelWorkflowInvocation(CancelWorkflowInvocationRequest request, StreamObserver<Empty> responseObserver)

Requests cancellation of a running WorkflowInvocation.

Parameters
Name Description
request CancelWorkflowInvocationRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

commitRepositoryChanges(CommitRepositoryChangesRequest request, StreamObserver<Empty> responseObserver)

public default void commitRepositoryChanges(CommitRepositoryChangesRequest request, StreamObserver<Empty> responseObserver)

Applies a Git commit to a Repository. The Repository must not have a value for git_remote_settings.url.

Parameters
Name Description
request CommitRepositoryChangesRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

commitWorkspaceChanges(CommitWorkspaceChangesRequest request, StreamObserver<Empty> responseObserver)

public default void commitWorkspaceChanges(CommitWorkspaceChangesRequest request, StreamObserver<Empty> responseObserver)

Applies a Git commit for uncommitted files in a Workspace.

Parameters
Name Description
request CommitWorkspaceChangesRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

computeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest request, StreamObserver<ComputeRepositoryAccessTokenStatusResponse> responseObserver)

public default void computeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest request, StreamObserver<ComputeRepositoryAccessTokenStatusResponse> responseObserver)

Computes a Repository's Git access token status.

Parameters
Name Description
request ComputeRepositoryAccessTokenStatusRequest
responseObserver io.grpc.stub.StreamObserver<ComputeRepositoryAccessTokenStatusResponse>

createCompilationResult(CreateCompilationResultRequest request, StreamObserver<CompilationResult> responseObserver)

public default void createCompilationResult(CreateCompilationResultRequest request, StreamObserver<CompilationResult> responseObserver)

Creates a new CompilationResult in a given project and location.

Parameters
Name Description
request CreateCompilationResultRequest
responseObserver io.grpc.stub.StreamObserver<CompilationResult>

createReleaseConfig(CreateReleaseConfigRequest request, StreamObserver<ReleaseConfig> responseObserver)

public default void createReleaseConfig(CreateReleaseConfigRequest request, StreamObserver<ReleaseConfig> responseObserver)

Creates a new ReleaseConfig in a given Repository.

Parameters
Name Description
request CreateReleaseConfigRequest
responseObserver io.grpc.stub.StreamObserver<ReleaseConfig>

createRepository(CreateRepositoryRequest request, StreamObserver<Repository> responseObserver)

public default void createRepository(CreateRepositoryRequest request, StreamObserver<Repository> responseObserver)

Creates a new Repository in a given project and location.

Parameters
Name Description
request CreateRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Repository>

createWorkflowConfig(CreateWorkflowConfigRequest request, StreamObserver<WorkflowConfig> responseObserver)

public default void createWorkflowConfig(CreateWorkflowConfigRequest request, StreamObserver<WorkflowConfig> responseObserver)

Creates a new WorkflowConfig in a given Repository.

Parameters
Name Description
request CreateWorkflowConfigRequest
responseObserver io.grpc.stub.StreamObserver<WorkflowConfig>

createWorkflowInvocation(CreateWorkflowInvocationRequest request, StreamObserver<WorkflowInvocation> responseObserver)

public default void createWorkflowInvocation(CreateWorkflowInvocationRequest request, StreamObserver<WorkflowInvocation> responseObserver)

Creates a new WorkflowInvocation in a given Repository.

Parameters
Name Description
request CreateWorkflowInvocationRequest
responseObserver io.grpc.stub.StreamObserver<WorkflowInvocation>

createWorkspace(CreateWorkspaceRequest request, StreamObserver<Workspace> responseObserver)

public default void createWorkspace(CreateWorkspaceRequest request, StreamObserver<Workspace> responseObserver)

Creates a new Workspace in a given Repository.

Parameters
Name Description
request CreateWorkspaceRequest
responseObserver io.grpc.stub.StreamObserver<Workspace>

deleteReleaseConfig(DeleteReleaseConfigRequest request, StreamObserver<Empty> responseObserver)

public default void deleteReleaseConfig(DeleteReleaseConfigRequest request, StreamObserver<Empty> responseObserver)

Deletes a single ReleaseConfig.

Parameters
Name Description
request DeleteReleaseConfigRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteRepository(DeleteRepositoryRequest request, StreamObserver<Empty> responseObserver)

public default void deleteRepository(DeleteRepositoryRequest request, StreamObserver<Empty> responseObserver)

Deletes a single Repository.

Parameters
Name Description
request DeleteRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteWorkflowConfig(DeleteWorkflowConfigRequest request, StreamObserver<Empty> responseObserver)

public default void deleteWorkflowConfig(DeleteWorkflowConfigRequest request, StreamObserver<Empty> responseObserver)

Deletes a single WorkflowConfig.

Parameters
Name Description
request DeleteWorkflowConfigRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request, StreamObserver<Empty> responseObserver)

public default void deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request, StreamObserver<Empty> responseObserver)

Deletes a single WorkflowInvocation.

Parameters
Name Description
request DeleteWorkflowInvocationRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteWorkspace(DeleteWorkspaceRequest request, StreamObserver<Empty> responseObserver)

public default void deleteWorkspace(DeleteWorkspaceRequest request, StreamObserver<Empty> responseObserver)

Deletes a single Workspace.

Parameters
Name Description
request DeleteWorkspaceRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

fetchFileDiff(FetchFileDiffRequest request, StreamObserver<FetchFileDiffResponse> responseObserver)

public default void fetchFileDiff(FetchFileDiffRequest request, StreamObserver<FetchFileDiffResponse> responseObserver)

Fetches Git diff for an uncommitted file in a Workspace.

Parameters
Name Description
request FetchFileDiffRequest
responseObserver io.grpc.stub.StreamObserver<FetchFileDiffResponse>

fetchFileGitStatuses(FetchFileGitStatusesRequest request, StreamObserver<FetchFileGitStatusesResponse> responseObserver)

public default void fetchFileGitStatuses(FetchFileGitStatusesRequest request, StreamObserver<FetchFileGitStatusesResponse> responseObserver)

Fetches Git statuses for the files in a Workspace.

Parameters
Name Description
request FetchFileGitStatusesRequest
responseObserver io.grpc.stub.StreamObserver<FetchFileGitStatusesResponse>

fetchGitAheadBehind(FetchGitAheadBehindRequest request, StreamObserver<FetchGitAheadBehindResponse> responseObserver)

public default void fetchGitAheadBehind(FetchGitAheadBehindRequest request, StreamObserver<FetchGitAheadBehindResponse> responseObserver)

Fetches Git ahead/behind against a remote branch.

Parameters
Name Description
request FetchGitAheadBehindRequest
responseObserver io.grpc.stub.StreamObserver<FetchGitAheadBehindResponse>

fetchRemoteBranches(FetchRemoteBranchesRequest request, StreamObserver<FetchRemoteBranchesResponse> responseObserver)

public default void fetchRemoteBranches(FetchRemoteBranchesRequest request, StreamObserver<FetchRemoteBranchesResponse> responseObserver)

Fetches a Repository's remote branches.

Parameters
Name Description
request FetchRemoteBranchesRequest
responseObserver io.grpc.stub.StreamObserver<FetchRemoteBranchesResponse>

fetchRepositoryHistory(FetchRepositoryHistoryRequest request, StreamObserver<FetchRepositoryHistoryResponse> responseObserver)

public default void fetchRepositoryHistory(FetchRepositoryHistoryRequest request, StreamObserver<FetchRepositoryHistoryResponse> responseObserver)

Fetches a Repository's history of commits. The Repository must not have a value for git_remote_settings.url.

Parameters
Name Description
request FetchRepositoryHistoryRequest
responseObserver io.grpc.stub.StreamObserver<FetchRepositoryHistoryResponse>

getCompilationResult(GetCompilationResultRequest request, StreamObserver<CompilationResult> responseObserver)

public default void getCompilationResult(GetCompilationResultRequest request, StreamObserver<CompilationResult> responseObserver)

Fetches a single CompilationResult.

Parameters
Name Description
request GetCompilationResultRequest
responseObserver io.grpc.stub.StreamObserver<CompilationResult>

getReleaseConfig(GetReleaseConfigRequest request, StreamObserver<ReleaseConfig> responseObserver)

public default void getReleaseConfig(GetReleaseConfigRequest request, StreamObserver<ReleaseConfig> responseObserver)

Fetches a single ReleaseConfig.

Parameters
Name Description
request GetReleaseConfigRequest
responseObserver io.grpc.stub.StreamObserver<ReleaseConfig>

getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

public default void getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

Fetches a single Repository.

Parameters
Name Description
request GetRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Repository>

getWorkflowConfig(GetWorkflowConfigRequest request, StreamObserver<WorkflowConfig> responseObserver)

public default void getWorkflowConfig(GetWorkflowConfigRequest request, StreamObserver<WorkflowConfig> responseObserver)

Fetches a single WorkflowConfig.

Parameters
Name Description
request GetWorkflowConfigRequest
responseObserver io.grpc.stub.StreamObserver<WorkflowConfig>

getWorkflowInvocation(GetWorkflowInvocationRequest request, StreamObserver<WorkflowInvocation> responseObserver)

public default void getWorkflowInvocation(GetWorkflowInvocationRequest request, StreamObserver<WorkflowInvocation> responseObserver)

Fetches a single WorkflowInvocation.

Parameters
Name Description
request GetWorkflowInvocationRequest
responseObserver io.grpc.stub.StreamObserver<WorkflowInvocation>

getWorkspace(GetWorkspaceRequest request, StreamObserver<Workspace> responseObserver)

public default void getWorkspace(GetWorkspaceRequest request, StreamObserver<Workspace> responseObserver)

Fetches a single Workspace.

Parameters
Name Description
request GetWorkspaceRequest
responseObserver io.grpc.stub.StreamObserver<Workspace>

installNpmPackages(InstallNpmPackagesRequest request, StreamObserver<InstallNpmPackagesResponse> responseObserver)

public default void installNpmPackages(InstallNpmPackagesRequest request, StreamObserver<InstallNpmPackagesResponse> responseObserver)

Installs dependency NPM packages (inside a Workspace).

Parameters
Name Description
request InstallNpmPackagesRequest
responseObserver io.grpc.stub.StreamObserver<InstallNpmPackagesResponse>

listCompilationResults(ListCompilationResultsRequest request, StreamObserver<ListCompilationResultsResponse> responseObserver)

public default void listCompilationResults(ListCompilationResultsRequest request, StreamObserver<ListCompilationResultsResponse> responseObserver)

Lists CompilationResults in a given Repository.

Parameters
Name Description
request ListCompilationResultsRequest
responseObserver io.grpc.stub.StreamObserver<ListCompilationResultsResponse>

listReleaseConfigs(ListReleaseConfigsRequest request, StreamObserver<ListReleaseConfigsResponse> responseObserver)

public default void listReleaseConfigs(ListReleaseConfigsRequest request, StreamObserver<ListReleaseConfigsResponse> responseObserver)

Lists ReleaseConfigs in a given Repository.

Parameters
Name Description
request ListReleaseConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListReleaseConfigsResponse>

listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

public default void listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

Lists Repositories in a given project and location.

Parameters
Name Description
request ListRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<ListRepositoriesResponse>

listWorkflowConfigs(ListWorkflowConfigsRequest request, StreamObserver<ListWorkflowConfigsResponse> responseObserver)

public default void listWorkflowConfigs(ListWorkflowConfigsRequest request, StreamObserver<ListWorkflowConfigsResponse> responseObserver)

Lists WorkflowConfigs in a given Repository.

Parameters
Name Description
request ListWorkflowConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListWorkflowConfigsResponse>

listWorkflowInvocations(ListWorkflowInvocationsRequest request, StreamObserver<ListWorkflowInvocationsResponse> responseObserver)

public default void listWorkflowInvocations(ListWorkflowInvocationsRequest request, StreamObserver<ListWorkflowInvocationsResponse> responseObserver)

Lists WorkflowInvocations in a given Repository.

Parameters
Name Description
request ListWorkflowInvocationsRequest
responseObserver io.grpc.stub.StreamObserver<ListWorkflowInvocationsResponse>

listWorkspaces(ListWorkspacesRequest request, StreamObserver<ListWorkspacesResponse> responseObserver)

public default void listWorkspaces(ListWorkspacesRequest request, StreamObserver<ListWorkspacesResponse> responseObserver)

Lists Workspaces in a given Repository.

Parameters
Name Description
request ListWorkspacesRequest
responseObserver io.grpc.stub.StreamObserver<ListWorkspacesResponse>

makeDirectory(MakeDirectoryRequest request, StreamObserver<MakeDirectoryResponse> responseObserver)

public default void makeDirectory(MakeDirectoryRequest request, StreamObserver<MakeDirectoryResponse> responseObserver)

Creates a directory inside a Workspace.

Parameters
Name Description
request MakeDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<MakeDirectoryResponse>

moveDirectory(MoveDirectoryRequest request, StreamObserver<MoveDirectoryResponse> responseObserver)

public default void moveDirectory(MoveDirectoryRequest request, StreamObserver<MoveDirectoryResponse> responseObserver)

Moves a directory (inside a Workspace), and all of its contents, to a new location.

Parameters
Name Description
request MoveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<MoveDirectoryResponse>

moveFile(MoveFileRequest request, StreamObserver<MoveFileResponse> responseObserver)

public default void moveFile(MoveFileRequest request, StreamObserver<MoveFileResponse> responseObserver)

Moves a file (inside a Workspace) to a new location.

Parameters
Name Description
request MoveFileRequest
responseObserver io.grpc.stub.StreamObserver<MoveFileResponse>

pullGitCommits(PullGitCommitsRequest request, StreamObserver<Empty> responseObserver)

public default void pullGitCommits(PullGitCommitsRequest request, StreamObserver<Empty> responseObserver)

Pulls Git commits from the Repository's remote into a Workspace.

Parameters
Name Description
request PullGitCommitsRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

pushGitCommits(PushGitCommitsRequest request, StreamObserver<Empty> responseObserver)

public default void pushGitCommits(PushGitCommitsRequest request, StreamObserver<Empty> responseObserver)

Pushes Git commits from a Workspace to the Repository's remote.

Parameters
Name Description
request PushGitCommitsRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

queryCompilationResultActions(QueryCompilationResultActionsRequest request, StreamObserver<QueryCompilationResultActionsResponse> responseObserver)

public default void queryCompilationResultActions(QueryCompilationResultActionsRequest request, StreamObserver<QueryCompilationResultActionsResponse> responseObserver)

Returns CompilationResultActions in a given CompilationResult.

Parameters
Name Description
request QueryCompilationResultActionsRequest
responseObserver io.grpc.stub.StreamObserver<QueryCompilationResultActionsResponse>

queryDirectoryContents(QueryDirectoryContentsRequest request, StreamObserver<QueryDirectoryContentsResponse> responseObserver)

public default void queryDirectoryContents(QueryDirectoryContentsRequest request, StreamObserver<QueryDirectoryContentsResponse> responseObserver)

Returns the contents of a given Workspace directory.

Parameters
Name Description
request QueryDirectoryContentsRequest
responseObserver io.grpc.stub.StreamObserver<QueryDirectoryContentsResponse>

queryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest request, StreamObserver<QueryRepositoryDirectoryContentsResponse> responseObserver)

public default void queryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest request, StreamObserver<QueryRepositoryDirectoryContentsResponse> responseObserver)

Returns the contents of a given Repository directory. The Repository must not have a value for git_remote_settings.url.

Parameters
Name Description
request QueryRepositoryDirectoryContentsRequest
responseObserver io.grpc.stub.StreamObserver<QueryRepositoryDirectoryContentsResponse>

queryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, StreamObserver<QueryWorkflowInvocationActionsResponse> responseObserver)

public default void queryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, StreamObserver<QueryWorkflowInvocationActionsResponse> responseObserver)

Returns WorkflowInvocationActions in a given WorkflowInvocation.

Parameters
Name Description
request QueryWorkflowInvocationActionsRequest
responseObserver io.grpc.stub.StreamObserver<QueryWorkflowInvocationActionsResponse>

readFile(ReadFileRequest request, StreamObserver<ReadFileResponse> responseObserver)

public default void readFile(ReadFileRequest request, StreamObserver<ReadFileResponse> responseObserver)

Returns the contents of a file (inside a Workspace).

Parameters
Name Description
request ReadFileRequest
responseObserver io.grpc.stub.StreamObserver<ReadFileResponse>

readRepositoryFile(ReadRepositoryFileRequest request, StreamObserver<ReadRepositoryFileResponse> responseObserver)

public default void readRepositoryFile(ReadRepositoryFileRequest request, StreamObserver<ReadRepositoryFileResponse> responseObserver)

Returns the contents of a file (inside a Repository). The Repository must not have a value for git_remote_settings.url.

Parameters
Name Description
request ReadRepositoryFileRequest
responseObserver io.grpc.stub.StreamObserver<ReadRepositoryFileResponse>

removeDirectory(RemoveDirectoryRequest request, StreamObserver<Empty> responseObserver)

public default void removeDirectory(RemoveDirectoryRequest request, StreamObserver<Empty> responseObserver)

Deletes a directory (inside a Workspace) and all of its contents.

Parameters
Name Description
request RemoveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

removeFile(RemoveFileRequest request, StreamObserver<Empty> responseObserver)

public default void removeFile(RemoveFileRequest request, StreamObserver<Empty> responseObserver)

Deletes a file (inside a Workspace).

Parameters
Name Description
request RemoveFileRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

resetWorkspaceChanges(ResetWorkspaceChangesRequest request, StreamObserver<Empty> responseObserver)

public default void resetWorkspaceChanges(ResetWorkspaceChangesRequest request, StreamObserver<Empty> responseObserver)

Performs a Git reset for uncommitted files in a Workspace.

Parameters
Name Description
request ResetWorkspaceChangesRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

updateReleaseConfig(UpdateReleaseConfigRequest request, StreamObserver<ReleaseConfig> responseObserver)

public default void updateReleaseConfig(UpdateReleaseConfigRequest request, StreamObserver<ReleaseConfig> responseObserver)

Updates a single ReleaseConfig.

Parameters
Name Description
request UpdateReleaseConfigRequest
responseObserver io.grpc.stub.StreamObserver<ReleaseConfig>

updateRepository(UpdateRepositoryRequest request, StreamObserver<Repository> responseObserver)

public default void updateRepository(UpdateRepositoryRequest request, StreamObserver<Repository> responseObserver)

Updates a single Repository.

Parameters
Name Description
request UpdateRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Repository>

updateWorkflowConfig(UpdateWorkflowConfigRequest request, StreamObserver<WorkflowConfig> responseObserver)

public default void updateWorkflowConfig(UpdateWorkflowConfigRequest request, StreamObserver<WorkflowConfig> responseObserver)

Updates a single WorkflowConfig.

Parameters
Name Description
request UpdateWorkflowConfigRequest
responseObserver io.grpc.stub.StreamObserver<WorkflowConfig>

writeFile(WriteFileRequest request, StreamObserver<WriteFileResponse> responseObserver)

public default void writeFile(WriteFileRequest request, StreamObserver<WriteFileResponse> responseObserver)

Writes to a file (inside a Workspace).

Parameters
Name Description
request WriteFileRequest
responseObserver io.grpc.stub.StreamObserver<WriteFileResponse>