Class DataformGrpc.DataformFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DataformGrpc.DataformFutureStub>
com.google.cloud.dataform.v1beta1.DataformGrpc.DataformFutureStub
Enclosing class:
DataformGrpc

public static final class DataformGrpc.DataformFutureStub extends io.grpc.stub.AbstractFutureStub<DataformGrpc.DataformFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Dataform.
 Dataform is a service to develop, create, document, test, and update curated
 tables in BigQuery.
 
  • Method Details

    • build

      protected DataformGrpc.DataformFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DataformGrpc.DataformFutureStub>
    • getTeamFolder

      public com.google.common.util.concurrent.ListenableFuture<TeamFolder> getTeamFolder(GetTeamFolderRequest request)
       Fetches a single TeamFolder.
       
    • createTeamFolder

      public com.google.common.util.concurrent.ListenableFuture<TeamFolder> createTeamFolder(CreateTeamFolderRequest request)
       Creates a new TeamFolder in a given project and location.
       
    • updateTeamFolder

      public com.google.common.util.concurrent.ListenableFuture<TeamFolder> updateTeamFolder(UpdateTeamFolderRequest request)
       Updates a single TeamFolder.
       
    • deleteTeamFolder

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTeamFolder(DeleteTeamFolderRequest request)
       Deletes a single TeamFolder.
       
    • queryTeamFolderContents

      public com.google.common.util.concurrent.ListenableFuture<QueryTeamFolderContentsResponse> queryTeamFolderContents(QueryTeamFolderContentsRequest request)
       Returns the contents of a given TeamFolder.
       
    • searchTeamFolders

      public com.google.common.util.concurrent.ListenableFuture<SearchTeamFoldersResponse> searchTeamFolders(SearchTeamFoldersRequest request)
       Returns all TeamFolders in a given location that the caller has access to
       and match the provided filter.
       
    • getFolder

      public com.google.common.util.concurrent.ListenableFuture<Folder> getFolder(GetFolderRequest request)
       Fetches a single Folder.
       
    • createFolder

      public com.google.common.util.concurrent.ListenableFuture<Folder> createFolder(CreateFolderRequest request)
       Creates a new Folder in a given project and location.
       
    • updateFolder

      public com.google.common.util.concurrent.ListenableFuture<Folder> updateFolder(UpdateFolderRequest request)
       Updates a single Folder.
       
    • deleteFolder

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteFolder(DeleteFolderRequest request)
       Deletes a single Folder.
       
    • queryFolderContents

      public com.google.common.util.concurrent.ListenableFuture<QueryFolderContentsResponse> queryFolderContents(QueryFolderContentsRequest request)
       Returns the contents of a given Folder.
       
    • queryUserRootContents

      public com.google.common.util.concurrent.ListenableFuture<QueryUserRootContentsResponse> queryUserRootContents(QueryUserRootContentsRequest request)
       Returns the contents of a caller's root folder in a given location.
       The root folder contains all resources that are created by the user and not
       contained in any other folder.
       
    • moveFolder

      public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> moveFolder(MoveFolderRequest request)
       Moves a Folder to a new Folder, TeamFolder, or the root location.
       
    • listRepositories

      public com.google.common.util.concurrent.ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)
       Lists Repositories in a given project and location.
       **Note:** *This method can return repositories not shown in the [Dataform
       UI](https://console.cloud.google.com/bigquery/dataform)*.
       
    • getRepository

      public com.google.common.util.concurrent.ListenableFuture<Repository> getRepository(GetRepositoryRequest request)
       Fetches a single Repository.
       
    • createRepository

      public com.google.common.util.concurrent.ListenableFuture<Repository> createRepository(CreateRepositoryRequest request)
       Creates a new Repository in a given project and location.
       
    • updateRepository

      public com.google.common.util.concurrent.ListenableFuture<Repository> updateRepository(UpdateRepositoryRequest request)
       Updates a single Repository.
       **Note:** *This method does not fully implement
       [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
       as a bad request, and when the `field_mask` is omitted, the request is
       treated as a full update on all modifiable fields.*
       
    • deleteRepository

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteRepository(DeleteRepositoryRequest request)
       Deletes a single Repository.
       
    • moveRepository

      public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> moveRepository(MoveRepositoryRequest request)
       Moves a Repository to a new location.
       
    • commitRepositoryChanges

      public com.google.common.util.concurrent.ListenableFuture<CommitRepositoryChangesResponse> commitRepositoryChanges(CommitRepositoryChangesRequest request)
       Applies a Git commit to a Repository. The Repository must not have a value
       for `git_remote_settings.url`.
       
    • readRepositoryFile

      public com.google.common.util.concurrent.ListenableFuture<ReadRepositoryFileResponse> readRepositoryFile(ReadRepositoryFileRequest request)
       Returns the contents of a file (inside a Repository). The Repository
       must not have a value for `git_remote_settings.url`.
       
    • queryRepositoryDirectoryContents

      public com.google.common.util.concurrent.ListenableFuture<QueryRepositoryDirectoryContentsResponse> queryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest request)
       Returns the contents of a given Repository directory. The Repository must
       not have a value for `git_remote_settings.url`.
       
    • fetchRepositoryHistory

      public com.google.common.util.concurrent.ListenableFuture<FetchRepositoryHistoryResponse> fetchRepositoryHistory(FetchRepositoryHistoryRequest request)
       Fetches a Repository's history of commits.  The Repository must not have a
       value for `git_remote_settings.url`.
       
    • computeRepositoryAccessTokenStatus

      public com.google.common.util.concurrent.ListenableFuture<ComputeRepositoryAccessTokenStatusResponse> computeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest request)
       Computes a Repository's Git access token status.
       
    • fetchRemoteBranches

      public com.google.common.util.concurrent.ListenableFuture<FetchRemoteBranchesResponse> fetchRemoteBranches(FetchRemoteBranchesRequest request)
       Fetches a Repository's remote branches.
       
    • listWorkspaces

      public com.google.common.util.concurrent.ListenableFuture<ListWorkspacesResponse> listWorkspaces(ListWorkspacesRequest request)
       Lists Workspaces in a given Repository.
       
    • getWorkspace

      public com.google.common.util.concurrent.ListenableFuture<Workspace> getWorkspace(GetWorkspaceRequest request)
       Fetches a single Workspace.
       
    • createWorkspace

      public com.google.common.util.concurrent.ListenableFuture<Workspace> createWorkspace(CreateWorkspaceRequest request)
       Creates a new Workspace in a given Repository.
       
    • deleteWorkspace

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteWorkspace(DeleteWorkspaceRequest request)
       Deletes a single Workspace.
       
    • installNpmPackages

      public com.google.common.util.concurrent.ListenableFuture<InstallNpmPackagesResponse> installNpmPackages(InstallNpmPackagesRequest request)
       Installs dependency NPM packages (inside a Workspace).
       
    • pullGitCommits

      public com.google.common.util.concurrent.ListenableFuture<PullGitCommitsResponse> pullGitCommits(PullGitCommitsRequest request)
       Pulls Git commits from the Repository's remote into a Workspace.
       
    • pushGitCommits

      public com.google.common.util.concurrent.ListenableFuture<PushGitCommitsResponse> pushGitCommits(PushGitCommitsRequest request)
       Pushes Git commits from a Workspace to the Repository's remote.
       
    • fetchFileGitStatuses

      public com.google.common.util.concurrent.ListenableFuture<FetchFileGitStatusesResponse> fetchFileGitStatuses(FetchFileGitStatusesRequest request)
       Fetches Git statuses for the files in a Workspace.
       
    • fetchGitAheadBehind

      public com.google.common.util.concurrent.ListenableFuture<FetchGitAheadBehindResponse> fetchGitAheadBehind(FetchGitAheadBehindRequest request)
       Fetches Git ahead/behind against a remote branch.
       
    • commitWorkspaceChanges

      public com.google.common.util.concurrent.ListenableFuture<CommitWorkspaceChangesResponse> commitWorkspaceChanges(CommitWorkspaceChangesRequest request)
       Applies a Git commit for uncommitted files in a Workspace.
       
    • resetWorkspaceChanges

      public com.google.common.util.concurrent.ListenableFuture<ResetWorkspaceChangesResponse> resetWorkspaceChanges(ResetWorkspaceChangesRequest request)
       Performs a Git reset for uncommitted files in a Workspace.
       
    • fetchFileDiff

      public com.google.common.util.concurrent.ListenableFuture<FetchFileDiffResponse> fetchFileDiff(FetchFileDiffRequest request)
       Fetches Git diff for an uncommitted file in a Workspace.
       
    • queryDirectoryContents

      public com.google.common.util.concurrent.ListenableFuture<QueryDirectoryContentsResponse> queryDirectoryContents(QueryDirectoryContentsRequest request)
       Returns the contents of a given Workspace directory.
       
    • searchFiles

      public com.google.common.util.concurrent.ListenableFuture<SearchFilesResponse> searchFiles(SearchFilesRequest request)
       Finds the contents of a given Workspace directory by filter.
       
    • makeDirectory

      public com.google.common.util.concurrent.ListenableFuture<MakeDirectoryResponse> makeDirectory(MakeDirectoryRequest request)
       Creates a directory inside a Workspace.
       
    • removeDirectory

      public com.google.common.util.concurrent.ListenableFuture<RemoveDirectoryResponse> removeDirectory(RemoveDirectoryRequest request)
       Deletes a directory (inside a Workspace) and all of its contents.
       
    • moveDirectory

      public com.google.common.util.concurrent.ListenableFuture<MoveDirectoryResponse> moveDirectory(MoveDirectoryRequest request)
       Moves a directory (inside a Workspace), and all of its contents, to a new
       location.
       
    • readFile

      public com.google.common.util.concurrent.ListenableFuture<ReadFileResponse> readFile(ReadFileRequest request)
       Returns the contents of a file (inside a Workspace).
       
    • removeFile

      public com.google.common.util.concurrent.ListenableFuture<RemoveFileResponse> removeFile(RemoveFileRequest request)
       Deletes a file (inside a Workspace).
       
    • moveFile

      public com.google.common.util.concurrent.ListenableFuture<MoveFileResponse> moveFile(MoveFileRequest request)
       Moves a file (inside a Workspace) to a new location.
       
    • writeFile

      public com.google.common.util.concurrent.ListenableFuture<WriteFileResponse> writeFile(WriteFileRequest request)
       Writes to a file (inside a Workspace).
       
    • listReleaseConfigs

      public com.google.common.util.concurrent.ListenableFuture<ListReleaseConfigsResponse> listReleaseConfigs(ListReleaseConfigsRequest request)
       Lists ReleaseConfigs in a given Repository.
       
    • getReleaseConfig

      public com.google.common.util.concurrent.ListenableFuture<ReleaseConfig> getReleaseConfig(GetReleaseConfigRequest request)
       Fetches a single ReleaseConfig.
       
    • createReleaseConfig

      public com.google.common.util.concurrent.ListenableFuture<ReleaseConfig> createReleaseConfig(CreateReleaseConfigRequest request)
       Creates a new ReleaseConfig in a given Repository.
       
    • updateReleaseConfig

      public com.google.common.util.concurrent.ListenableFuture<ReleaseConfig> updateReleaseConfig(UpdateReleaseConfigRequest request)
       Updates a single ReleaseConfig.
       **Note:** *This method does not fully implement
       [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
       as a bad request, and when the `field_mask` is omitted, the request is
       treated as a full update on all modifiable fields.*
       
    • deleteReleaseConfig

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteReleaseConfig(DeleteReleaseConfigRequest request)
       Deletes a single ReleaseConfig.
       
    • listCompilationResults

      public com.google.common.util.concurrent.ListenableFuture<ListCompilationResultsResponse> listCompilationResults(ListCompilationResultsRequest request)
       Lists CompilationResults in a given Repository.
       
    • getCompilationResult

      public com.google.common.util.concurrent.ListenableFuture<CompilationResult> getCompilationResult(GetCompilationResultRequest request)
       Fetches a single CompilationResult.
       
    • createCompilationResult

      public com.google.common.util.concurrent.ListenableFuture<CompilationResult> createCompilationResult(CreateCompilationResultRequest request)
       Creates a new CompilationResult in a given project and location.
       
    • queryCompilationResultActions

      public com.google.common.util.concurrent.ListenableFuture<QueryCompilationResultActionsResponse> queryCompilationResultActions(QueryCompilationResultActionsRequest request)
       Returns CompilationResultActions in a given CompilationResult.
       
    • listWorkflowConfigs

      public com.google.common.util.concurrent.ListenableFuture<ListWorkflowConfigsResponse> listWorkflowConfigs(ListWorkflowConfigsRequest request)
       Lists WorkflowConfigs in a given Repository.
       
    • getWorkflowConfig

      public com.google.common.util.concurrent.ListenableFuture<WorkflowConfig> getWorkflowConfig(GetWorkflowConfigRequest request)
       Fetches a single WorkflowConfig.
       
    • createWorkflowConfig

      public com.google.common.util.concurrent.ListenableFuture<WorkflowConfig> createWorkflowConfig(CreateWorkflowConfigRequest request)
       Creates a new WorkflowConfig in a given Repository.
       
    • updateWorkflowConfig

      public com.google.common.util.concurrent.ListenableFuture<WorkflowConfig> updateWorkflowConfig(UpdateWorkflowConfigRequest request)
       Updates a single WorkflowConfig.
       **Note:** *This method does not fully implement
       [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
       as a bad request, and when the `field_mask` is omitted, the request is
       treated as a full update on all modifiable fields.*
       
    • deleteWorkflowConfig

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteWorkflowConfig(DeleteWorkflowConfigRequest request)
       Deletes a single WorkflowConfig.
       
    • listWorkflowInvocations

      public com.google.common.util.concurrent.ListenableFuture<ListWorkflowInvocationsResponse> listWorkflowInvocations(ListWorkflowInvocationsRequest request)
       Lists WorkflowInvocations in a given Repository.
       
    • getWorkflowInvocation

      public com.google.common.util.concurrent.ListenableFuture<WorkflowInvocation> getWorkflowInvocation(GetWorkflowInvocationRequest request)
       Fetches a single WorkflowInvocation.
       
    • createWorkflowInvocation

      public com.google.common.util.concurrent.ListenableFuture<WorkflowInvocation> createWorkflowInvocation(CreateWorkflowInvocationRequest request)
       Creates a new WorkflowInvocation in a given Repository.
       
    • deleteWorkflowInvocation

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request)
       Deletes a single WorkflowInvocation.
       
    • cancelWorkflowInvocation

      public com.google.common.util.concurrent.ListenableFuture<CancelWorkflowInvocationResponse> cancelWorkflowInvocation(CancelWorkflowInvocationRequest request)
       Requests cancellation of a running WorkflowInvocation.
       
    • queryWorkflowInvocationActions

      public com.google.common.util.concurrent.ListenableFuture<QueryWorkflowInvocationActionsResponse> queryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request)
       Returns WorkflowInvocationActions in a given WorkflowInvocation.
       
    • getConfig

      public com.google.common.util.concurrent.ListenableFuture<Config> getConfig(GetConfigRequest request)
       Get default config for a given project and location.
       
    • updateConfig

      public com.google.common.util.concurrent.ListenableFuture<Config> updateConfig(UpdateConfigRequest request)
       Update default config for a given project and location.
       **Note:** *This method does not fully implement
       [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated
       as a bad request, and when the `field_mask` is omitted, the request is
       treated as a full update on all modifiable fields.*
       
    • getIamPolicy

      public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
       Gets the access control policy for a resource.
       Returns an empty policy if the resource exists and does not have a policy
       set.
       
    • setIamPolicy

      public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
       Sets the access control policy on the specified resource. Replaces any
       existing policy.
       Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
       
    • testIamPermissions

      public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
       Returns permissions that a caller has on the specified resource.
       If the resource does not exist, this will return an empty set of
       permissions, not a `NOT_FOUND` error.
       Note: This operation is designed to be used for building permission-aware
       UIs and command-line tools, not for authorization checking. This operation
       may "fail open" without warning.