Class GrpcDataformStub (0.10.0)

public class GrpcDataformStub extends DataformStub

gRPC stub implementation for the Dataform service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DataformStub > GrpcDataformStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDataformStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataformStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataformStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataformStub
Exceptions
Type Description
IOException

create(DataformStubSettings settings)

public static final GrpcDataformStub create(DataformStubSettings settings)
Parameter
Name Description
settings DataformStubSettings
Returns
Type Description
GrpcDataformStub
Exceptions
Type Description
IOException

Constructors

GrpcDataformStub(DataformStubSettings settings, ClientContext clientContext)

protected GrpcDataformStub(DataformStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDataformStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DataformStubSettings
clientContext ClientContext

GrpcDataformStub(DataformStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDataformStub(DataformStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDataformStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DataformStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelWorkflowInvocationCallable()

public UnaryCallable<CancelWorkflowInvocationRequest,Empty> cancelWorkflowInvocationCallable()
Returns
Type Description
UnaryCallable<CancelWorkflowInvocationRequest,Empty>
Overrides

close()

public final void close()
Overrides

commitWorkspaceChangesCallable()

public UnaryCallable<CommitWorkspaceChangesRequest,Empty> commitWorkspaceChangesCallable()
Returns
Type Description
UnaryCallable<CommitWorkspaceChangesRequest,Empty>
Overrides

createCompilationResultCallable()

public UnaryCallable<CreateCompilationResultRequest,CompilationResult> createCompilationResultCallable()
Returns
Type Description
UnaryCallable<CreateCompilationResultRequest,CompilationResult>
Overrides

createRepositoryCallable()

public UnaryCallable<CreateRepositoryRequest,Repository> createRepositoryCallable()
Returns
Type Description
UnaryCallable<CreateRepositoryRequest,Repository>
Overrides

createWorkflowInvocationCallable()

public UnaryCallable<CreateWorkflowInvocationRequest,WorkflowInvocation> createWorkflowInvocationCallable()
Returns
Type Description
UnaryCallable<CreateWorkflowInvocationRequest,WorkflowInvocation>
Overrides

createWorkspaceCallable()

public UnaryCallable<CreateWorkspaceRequest,Workspace> createWorkspaceCallable()
Returns
Type Description
UnaryCallable<CreateWorkspaceRequest,Workspace>
Overrides

deleteRepositoryCallable()

public UnaryCallable<DeleteRepositoryRequest,Empty> deleteRepositoryCallable()
Returns
Type Description
UnaryCallable<DeleteRepositoryRequest,Empty>
Overrides

deleteWorkflowInvocationCallable()

public UnaryCallable<DeleteWorkflowInvocationRequest,Empty> deleteWorkflowInvocationCallable()
Returns
Type Description
UnaryCallable<DeleteWorkflowInvocationRequest,Empty>
Overrides

deleteWorkspaceCallable()

public UnaryCallable<DeleteWorkspaceRequest,Empty> deleteWorkspaceCallable()
Returns
Type Description
UnaryCallable<DeleteWorkspaceRequest,Empty>
Overrides

fetchFileDiffCallable()

public UnaryCallable<FetchFileDiffRequest,FetchFileDiffResponse> fetchFileDiffCallable()
Returns
Type Description
UnaryCallable<FetchFileDiffRequest,FetchFileDiffResponse>
Overrides

fetchFileGitStatusesCallable()

public UnaryCallable<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse> fetchFileGitStatusesCallable()
Returns
Type Description
UnaryCallable<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse>
Overrides

fetchGitAheadBehindCallable()

public UnaryCallable<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse> fetchGitAheadBehindCallable()
Returns
Type Description
UnaryCallable<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse>
Overrides

fetchRemoteBranchesCallable()

public UnaryCallable<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse> fetchRemoteBranchesCallable()
Returns
Type Description
UnaryCallable<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse>
Overrides

getCompilationResultCallable()

public UnaryCallable<GetCompilationResultRequest,CompilationResult> getCompilationResultCallable()
Returns
Type Description
UnaryCallable<GetCompilationResultRequest,CompilationResult>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getRepositoryCallable()

public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns
Type Description
UnaryCallable<GetRepositoryRequest,Repository>
Overrides

getWorkflowInvocationCallable()

public UnaryCallable<GetWorkflowInvocationRequest,WorkflowInvocation> getWorkflowInvocationCallable()
Returns
Type Description
UnaryCallable<GetWorkflowInvocationRequest,WorkflowInvocation>
Overrides

getWorkspaceCallable()

public UnaryCallable<GetWorkspaceRequest,Workspace> getWorkspaceCallable()
Returns
Type Description
UnaryCallable<GetWorkspaceRequest,Workspace>
Overrides

installNpmPackagesCallable()

public UnaryCallable<InstallNpmPackagesRequest,InstallNpmPackagesResponse> installNpmPackagesCallable()
Returns
Type Description
UnaryCallable<InstallNpmPackagesRequest,InstallNpmPackagesResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCompilationResultsCallable()

public UnaryCallable<ListCompilationResultsRequest,ListCompilationResultsResponse> listCompilationResultsCallable()
Returns
Type Description
UnaryCallable<ListCompilationResultsRequest,ListCompilationResultsResponse>
Overrides

listCompilationResultsPagedCallable()

public UnaryCallable<ListCompilationResultsRequest,DataformClient.ListCompilationResultsPagedResponse> listCompilationResultsPagedCallable()
Returns
Type Description
UnaryCallable<ListCompilationResultsRequest,ListCompilationResultsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataformClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listRepositoriesCallable()

public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Returns
Type Description
UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse>
Overrides

listRepositoriesPagedCallable()

public UnaryCallable<ListRepositoriesRequest,DataformClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Returns
Type Description
UnaryCallable<ListRepositoriesRequest,ListRepositoriesPagedResponse>
Overrides

listWorkflowInvocationsCallable()

public UnaryCallable<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse> listWorkflowInvocationsCallable()
Returns
Type Description
UnaryCallable<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse>
Overrides

listWorkflowInvocationsPagedCallable()

public UnaryCallable<ListWorkflowInvocationsRequest,DataformClient.ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkflowInvocationsRequest,ListWorkflowInvocationsPagedResponse>
Overrides

listWorkspacesCallable()

public UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse> listWorkspacesCallable()
Returns
Type Description
UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse>
Overrides

listWorkspacesPagedCallable()

public UnaryCallable<ListWorkspacesRequest,DataformClient.ListWorkspacesPagedResponse> listWorkspacesPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkspacesRequest,ListWorkspacesPagedResponse>
Overrides

makeDirectoryCallable()

public UnaryCallable<MakeDirectoryRequest,MakeDirectoryResponse> makeDirectoryCallable()
Returns
Type Description
UnaryCallable<MakeDirectoryRequest,MakeDirectoryResponse>
Overrides

moveDirectoryCallable()

public UnaryCallable<MoveDirectoryRequest,MoveDirectoryResponse> moveDirectoryCallable()
Returns
Type Description
UnaryCallable<MoveDirectoryRequest,MoveDirectoryResponse>
Overrides

moveFileCallable()

public UnaryCallable<MoveFileRequest,MoveFileResponse> moveFileCallable()
Returns
Type Description
UnaryCallable<MoveFileRequest,MoveFileResponse>
Overrides

pullGitCommitsCallable()

public UnaryCallable<PullGitCommitsRequest,Empty> pullGitCommitsCallable()
Returns
Type Description
UnaryCallable<PullGitCommitsRequest,Empty>
Overrides

pushGitCommitsCallable()

public UnaryCallable<PushGitCommitsRequest,Empty> pushGitCommitsCallable()
Returns
Type Description
UnaryCallable<PushGitCommitsRequest,Empty>
Overrides

queryCompilationResultActionsCallable()

public UnaryCallable<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse> queryCompilationResultActionsCallable()
Returns
Type Description
UnaryCallable<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse>
Overrides

queryCompilationResultActionsPagedCallable()

public UnaryCallable<QueryCompilationResultActionsRequest,DataformClient.QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsPagedCallable()
Returns
Type Description
UnaryCallable<QueryCompilationResultActionsRequest,QueryCompilationResultActionsPagedResponse>
Overrides

queryDirectoryContentsCallable()

public UnaryCallable<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse> queryDirectoryContentsCallable()
Returns
Type Description
UnaryCallable<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse>
Overrides

queryDirectoryContentsPagedCallable()

public UnaryCallable<QueryDirectoryContentsRequest,DataformClient.QueryDirectoryContentsPagedResponse> queryDirectoryContentsPagedCallable()
Returns
Type Description
UnaryCallable<QueryDirectoryContentsRequest,QueryDirectoryContentsPagedResponse>
Overrides

queryWorkflowInvocationActionsCallable()

public UnaryCallable<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse> queryWorkflowInvocationActionsCallable()
Returns
Type Description
UnaryCallable<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse>
Overrides

queryWorkflowInvocationActionsPagedCallable()

public UnaryCallable<QueryWorkflowInvocationActionsRequest,DataformClient.QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsPagedCallable()
Returns
Type Description
UnaryCallable<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsPagedResponse>
Overrides

readFileCallable()

public UnaryCallable<ReadFileRequest,ReadFileResponse> readFileCallable()
Returns
Type Description
UnaryCallable<ReadFileRequest,ReadFileResponse>
Overrides

removeDirectoryCallable()

public UnaryCallable<RemoveDirectoryRequest,Empty> removeDirectoryCallable()
Returns
Type Description
UnaryCallable<RemoveDirectoryRequest,Empty>
Overrides

removeFileCallable()

public UnaryCallable<RemoveFileRequest,Empty> removeFileCallable()
Returns
Type Description
UnaryCallable<RemoveFileRequest,Empty>
Overrides

resetWorkspaceChangesCallable()

public UnaryCallable<ResetWorkspaceChangesRequest,Empty> resetWorkspaceChangesCallable()
Returns
Type Description
UnaryCallable<ResetWorkspaceChangesRequest,Empty>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRepositoryCallable()

public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Returns
Type Description
UnaryCallable<UpdateRepositoryRequest,Repository>
Overrides

writeFileCallable()

public UnaryCallable<WriteFileRequest,WriteFileResponse> writeFileCallable()
Returns
Type Description
UnaryCallable<WriteFileRequest,WriteFileResponse>
Overrides