Class DataformGrpc.DataformStub (0.54.0)

public static final class DataformGrpc.DataformStub extends AbstractAsyncStub<DataformGrpc.DataformStub>

A stub to allow clients to do asynchronous rpc calls to service Dataform.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DataformGrpc.DataformStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataformGrpc.DataformStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DataformGrpc.DataformStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelWorkflowInvocation(CancelWorkflowInvocationRequest request, StreamObserver<Empty> responseObserver)

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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>