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.DataformStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
cancelWorkflowInvocation(CancelWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Requests cancellation of a running WorkflowInvocation.void
commitWorkspaceChanges(CommitWorkspaceChangesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Applies a Git commit for uncommitted files in a Workspace.void
createCompilationResult(CreateCompilationResultRequest request, io.grpc.stub.StreamObserver<CompilationResult> responseObserver)
Creates a new CompilationResult in a given project and location.void
createRepository(CreateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
Creates a new Repository in a given project and location.void
createWorkflowInvocation(CreateWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<WorkflowInvocation> responseObserver)
Creates a new WorkflowInvocation in a given Repository.void
createWorkspace(CreateWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver)
Creates a new Workspace in a given Repository.void
deleteRepository(DeleteRepositoryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single Repository.void
deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single WorkflowInvocation.void
deleteWorkspace(DeleteWorkspaceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a single Workspace.void
fetchFileDiff(FetchFileDiffRequest request, io.grpc.stub.StreamObserver<FetchFileDiffResponse> responseObserver)
Fetches Git diff for an uncommitted file in a Workspace.void
fetchFileGitStatuses(FetchFileGitStatusesRequest request, io.grpc.stub.StreamObserver<FetchFileGitStatusesResponse> responseObserver)
Fetches Git statuses for the files in a Workspace.void
fetchGitAheadBehind(FetchGitAheadBehindRequest request, io.grpc.stub.StreamObserver<FetchGitAheadBehindResponse> responseObserver)
Fetches Git ahead/behind against a remote branch.void
fetchRemoteBranches(FetchRemoteBranchesRequest request, io.grpc.stub.StreamObserver<FetchRemoteBranchesResponse> responseObserver)
Fetches a Repository's remote branches.void
getCompilationResult(GetCompilationResultRequest request, io.grpc.stub.StreamObserver<CompilationResult> responseObserver)
Fetches a single CompilationResult.void
getRepository(GetRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
Fetches a single Repository.void
getWorkflowInvocation(GetWorkflowInvocationRequest request, io.grpc.stub.StreamObserver<WorkflowInvocation> responseObserver)
Fetches a single WorkflowInvocation.void
getWorkspace(GetWorkspaceRequest request, io.grpc.stub.StreamObserver<Workspace> responseObserver)
Fetches a single Workspace.void
installNpmPackages(InstallNpmPackagesRequest request, io.grpc.stub.StreamObserver<InstallNpmPackagesResponse> responseObserver)
Installs dependency NPM packages (inside a Workspace).void
listCompilationResults(ListCompilationResultsRequest request, io.grpc.stub.StreamObserver<ListCompilationResultsResponse> responseObserver)
Lists CompilationResults in a given Repository.void
listRepositories(ListRepositoriesRequest request, io.grpc.stub.StreamObserver<ListRepositoriesResponse> responseObserver)
Lists Repositories in a given project and location.void
listWorkflowInvocations(ListWorkflowInvocationsRequest request, io.grpc.stub.StreamObserver<ListWorkflowInvocationsResponse> responseObserver)
Lists WorkflowInvocations in a given Repository.void
listWorkspaces(ListWorkspacesRequest request, io.grpc.stub.StreamObserver<ListWorkspacesResponse> responseObserver)
Lists Workspaces in a given Repository.void
makeDirectory(MakeDirectoryRequest request, io.grpc.stub.StreamObserver<MakeDirectoryResponse> responseObserver)
Creates a directory inside a Workspace.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.void
moveFile(MoveFileRequest request, io.grpc.stub.StreamObserver<MoveFileResponse> responseObserver)
Moves a file (inside a Workspace) to a new location.void
pullGitCommits(PullGitCommitsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Pulls Git commits from the Repository's remote into a Workspace.void
pushGitCommits(PushGitCommitsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Pushes Git commits from a Workspace to the Repository's remote.void
queryCompilationResultActions(QueryCompilationResultActionsRequest request, io.grpc.stub.StreamObserver<QueryCompilationResultActionsResponse> responseObserver)
Returns CompilationResultActions in a given CompilationResult.void
queryDirectoryContents(QueryDirectoryContentsRequest request, io.grpc.stub.StreamObserver<QueryDirectoryContentsResponse> responseObserver)
Returns the contents of a given Workspace directory.void
queryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, io.grpc.stub.StreamObserver<QueryWorkflowInvocationActionsResponse> responseObserver)
Returns WorkflowInvocationActions in a given WorkflowInvocation.void
readFile(ReadFileRequest request, io.grpc.stub.StreamObserver<ReadFileResponse> responseObserver)
Returns the contents of a file (inside a Workspace).void
removeDirectory(RemoveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a directory (inside a Workspace) and all of its contents.void
removeFile(RemoveFileRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a file (inside a Workspace).void
resetWorkspaceChanges(ResetWorkspaceChangesRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Performs a Git reset for uncommitted files in a Workspace.void
updateRepository(UpdateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
Updates a single Repository.void
writeFile(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:
build
in 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.
-
-