Interface DataformGrpc.AsyncService (0.34.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>

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>

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>

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>

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>

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>

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>

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>

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>

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>

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>

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>

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>

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>

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>

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>