Class DataformGrpc.DataformStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<DataformGrpc.DataformStub>
-
- com.google.cloud.dataform.v1alpha2.DataformGrpc.DataformStub
-
- Enclosing class:
- DataformGrpc
public static final class DataformGrpc.DataformStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataformGrpc.DataformStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcancelWorkflowInvocation(CancelWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Requests cancellation of a running WorkflowInvocation.voidcommitWorkspaceChanges(CommitWorkspaceChangesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Applies a Git commit for uncommitted files in a Workspace.voidcreateCompilationResult(CreateCompilationResultRequest request, io.grpc.stub.StreamObserver<CompilationResult> responseObserver)Creates a new CompilationResult in a given project and location.voidcreateRepository(CreateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)Creates a new Repository in a given project and location.voidcreateWorkflowInvocation(CreateWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<WorkflowInvocation> responseObserver)Creates a new WorkflowInvocation in a given Repository.voidcreateWorkspace(CreateWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver)Creates a new Workspace in a given Repository.voiddeleteRepository(DeleteRepositoryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a single Repository.voiddeleteWorkflowInvocation(DeleteWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a single WorkflowInvocation.voiddeleteWorkspace(DeleteWorkspaceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a single Workspace.voidfetchFileDiff(FetchFileDiffRequest request, io.grpc.stub.StreamObserver<FetchFileDiffResponse> responseObserver)Fetches Git diff for an uncommitted file in a Workspace.voidfetchFileGitStatuses(FetchFileGitStatusesRequest request, io.grpc.stub.StreamObserver<FetchFileGitStatusesResponse> responseObserver)Fetches Git statuses for the files in a Workspace.voidfetchGitAheadBehind(FetchGitAheadBehindRequest request, io.grpc.stub.StreamObserver<FetchGitAheadBehindResponse> responseObserver)Fetches Git ahead/behind against a remote branch.voidfetchRemoteBranches(FetchRemoteBranchesRequest request, io.grpc.stub.StreamObserver<FetchRemoteBranchesResponse> responseObserver)Fetches a Repository's remote branches.voidgetCompilationResult(GetCompilationResultRequest request, io.grpc.stub.StreamObserver<CompilationResult> responseObserver)Fetches a single CompilationResult.voidgetRepository(GetRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)Fetches a single Repository.voidgetWorkflowInvocation(GetWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<WorkflowInvocation> responseObserver)Fetches a single WorkflowInvocation.voidgetWorkspace(GetWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver)Fetches a single Workspace.voidinstallNpmPackages(InstallNpmPackagesRequest request, io.grpc.stub.StreamObserver<InstallNpmPackagesResponse> responseObserver)Installs dependency NPM packages (inside a Workspace).voidlistCompilationResults(ListCompilationResultsRequest request, io.grpc.stub.StreamObserver<ListCompilationResultsResponse> responseObserver)Lists CompilationResults in a given Repository.voidlistRepositories(ListRepositoriesRequest request, io.grpc.stub.StreamObserver<ListRepositoriesResponse> responseObserver)Lists Repositories in a given project and location.voidlistWorkflowInvocations(ListWorkflowInvocationsRequest request, io.grpc.stub.StreamObserver<ListWorkflowInvocationsResponse> responseObserver)Lists WorkflowInvocations in a given Repository.voidlistWorkspaces(ListWorkspacesRequest request, io.grpc.stub.StreamObserver<ListWorkspacesResponse> responseObserver)Lists Workspaces in a given Repository.voidmakeDirectory(MakeDirectoryRequest request, io.grpc.stub.StreamObserver<MakeDirectoryResponse> responseObserver)Creates a directory inside a Workspace.voidmoveDirectory(MoveDirectoryRequest request, io.grpc.stub.StreamObserver<MoveDirectoryResponse> responseObserver)Moves a directory (inside a Workspace), and all of its contents, to a new location.voidmoveFile(MoveFileRequest request, io.grpc.stub.StreamObserver<MoveFileResponse> responseObserver)Moves a file (inside a Workspace) to a new location.voidpullGitCommits(PullGitCommitsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Pulls Git commits from the Repository's remote into a Workspace.voidpushGitCommits(PushGitCommitsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Pushes Git commits from a Workspace to the Repository's remote.voidqueryCompilationResultActions(QueryCompilationResultActionsRequest request, io.grpc.stub.StreamObserver<QueryCompilationResultActionsResponse> responseObserver)Returns CompilationResultActions in a given CompilationResult.voidqueryDirectoryContents(QueryDirectoryContentsRequest request, io.grpc.stub.StreamObserver<QueryDirectoryContentsResponse> responseObserver)Returns the contents of a given Workspace directory.voidqueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, io.grpc.stub.StreamObserver<QueryWorkflowInvocationActionsResponse> responseObserver)Returns WorkflowInvocationActions in a given WorkflowInvocation.voidreadFile(ReadFileRequest request, io.grpc.stub.StreamObserver<ReadFileResponse> responseObserver)Returns the contents of a file (inside a Workspace).voidremoveDirectory(RemoveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a directory (inside a Workspace) and all of its contents.voidremoveFile(RemoveFileRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a file (inside a Workspace).voidresetWorkspaceChanges(ResetWorkspaceChangesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Performs a Git reset for uncommitted files in a Workspace.voidupdateRepository(UpdateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)Updates a single Repository.voidwriteFile(WriteFileRequest request, io.grpc.stub.StreamObserver<WriteFileResponse> responseObserver)Writes to a file (inside a Workspace).
-
-
-
Method Detail
-
build
protected DataformGrpc.DataformStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DataformGrpc.DataformStub>
-
listRepositories
public void listRepositories(ListRepositoriesRequest request, io.grpc.stub.StreamObserver<ListRepositoriesResponse> responseObserver)
Lists Repositories in a given project and location.
-
getRepository
public void getRepository(GetRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
Fetches a single Repository.
-
createRepository
public void createRepository(CreateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
Creates a new Repository in a given project and location.
-
updateRepository
public void updateRepository(UpdateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
Updates a single Repository.
-
deleteRepository
public void deleteRepository(DeleteRepositoryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single Repository.
-
fetchRemoteBranches
public void fetchRemoteBranches(FetchRemoteBranchesRequest request, io.grpc.stub.StreamObserver<FetchRemoteBranchesResponse> responseObserver)
Fetches a Repository's remote branches.
-
listWorkspaces
public void listWorkspaces(ListWorkspacesRequest request, io.grpc.stub.StreamObserver<ListWorkspacesResponse> responseObserver)
Lists Workspaces in a given Repository.
-
getWorkspace
public void getWorkspace(GetWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver)
Fetches a single Workspace.
-
createWorkspace
public void createWorkspace(CreateWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver)
Creates a new Workspace in a given Repository.
-
deleteWorkspace
public void deleteWorkspace(DeleteWorkspaceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single Workspace.
-
installNpmPackages
public void installNpmPackages(InstallNpmPackagesRequest request, io.grpc.stub.StreamObserver<InstallNpmPackagesResponse> responseObserver)
Installs dependency NPM packages (inside a Workspace).
-
pullGitCommits
public void pullGitCommits(PullGitCommitsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Pulls Git commits from the Repository's remote into a Workspace.
-
pushGitCommits
public void pushGitCommits(PushGitCommitsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Pushes Git commits from a Workspace to the Repository's remote.
-
fetchFileGitStatuses
public void fetchFileGitStatuses(FetchFileGitStatusesRequest request, io.grpc.stub.StreamObserver<FetchFileGitStatusesResponse> responseObserver)
Fetches Git statuses for the files in a Workspace.
-
fetchGitAheadBehind
public void fetchGitAheadBehind(FetchGitAheadBehindRequest request, io.grpc.stub.StreamObserver<FetchGitAheadBehindResponse> responseObserver)
Fetches Git ahead/behind against a remote branch.
-
commitWorkspaceChanges
public void commitWorkspaceChanges(CommitWorkspaceChangesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Applies a Git commit for uncommitted files in a Workspace.
-
resetWorkspaceChanges
public void resetWorkspaceChanges(ResetWorkspaceChangesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Performs a Git reset for uncommitted files in a Workspace.
-
fetchFileDiff
public void fetchFileDiff(FetchFileDiffRequest request, io.grpc.stub.StreamObserver<FetchFileDiffResponse> responseObserver)
Fetches Git diff for an uncommitted file in a Workspace.
-
queryDirectoryContents
public void queryDirectoryContents(QueryDirectoryContentsRequest request, io.grpc.stub.StreamObserver<QueryDirectoryContentsResponse> responseObserver)
Returns the contents of a given Workspace directory.
-
makeDirectory
public void makeDirectory(MakeDirectoryRequest request, io.grpc.stub.StreamObserver<MakeDirectoryResponse> responseObserver)
Creates a directory inside a Workspace.
-
removeDirectory
public void removeDirectory(RemoveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a directory (inside a Workspace) and all of its contents.
-
moveDirectory
public void moveDirectory(MoveDirectoryRequest request, io.grpc.stub.StreamObserver<MoveDirectoryResponse> responseObserver)
Moves a directory (inside a Workspace), and all of its contents, to a new location.
-
readFile
public void readFile(ReadFileRequest request, io.grpc.stub.StreamObserver<ReadFileResponse> responseObserver)
Returns the contents of a file (inside a Workspace).
-
removeFile
public void removeFile(RemoveFileRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a file (inside a Workspace).
-
moveFile
public void moveFile(MoveFileRequest request, io.grpc.stub.StreamObserver<MoveFileResponse> responseObserver)
Moves a file (inside a Workspace) to a new location.
-
writeFile
public void writeFile(WriteFileRequest request, io.grpc.stub.StreamObserver<WriteFileResponse> responseObserver)
Writes to a file (inside a Workspace).
-
listCompilationResults
public void listCompilationResults(ListCompilationResultsRequest request, io.grpc.stub.StreamObserver<ListCompilationResultsResponse> responseObserver)
Lists CompilationResults in a given Repository.
-
getCompilationResult
public void getCompilationResult(GetCompilationResultRequest request, io.grpc.stub.StreamObserver<CompilationResult> responseObserver)
Fetches a single CompilationResult.
-
createCompilationResult
public void createCompilationResult(CreateCompilationResultRequest request, io.grpc.stub.StreamObserver<CompilationResult> responseObserver)
Creates a new CompilationResult in a given project and location.
-
queryCompilationResultActions
public void queryCompilationResultActions(QueryCompilationResultActionsRequest request, io.grpc.stub.StreamObserver<QueryCompilationResultActionsResponse> responseObserver)
Returns CompilationResultActions in a given CompilationResult.
-
listWorkflowInvocations
public void listWorkflowInvocations(ListWorkflowInvocationsRequest request, io.grpc.stub.StreamObserver<ListWorkflowInvocationsResponse> responseObserver)
Lists WorkflowInvocations in a given Repository.
-
getWorkflowInvocation
public void getWorkflowInvocation(GetWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<WorkflowInvocation> responseObserver)
Fetches a single WorkflowInvocation.
-
createWorkflowInvocation
public void createWorkflowInvocation(CreateWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<WorkflowInvocation> responseObserver)
Creates a new WorkflowInvocation in a given Repository.
-
deleteWorkflowInvocation
public void deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single WorkflowInvocation.
-
cancelWorkflowInvocation
public void cancelWorkflowInvocation(CancelWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Requests cancellation of a running WorkflowInvocation.
-
queryWorkflowInvocationActions
public void queryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, io.grpc.stub.StreamObserver<QueryWorkflowInvocationActionsResponse> responseObserver)
Returns WorkflowInvocationActions in a given WorkflowInvocation.
-
-