Class GrpcDataformStub (0.12.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDataformStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataformStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDataformStub
Exceptions
TypeDescription
IOException

create(DataformStubSettings settings)

public static final GrpcDataformStub create(DataformStubSettings settings)
Parameter
NameDescription
settingsDataformStubSettings
Returns
TypeDescription
GrpcDataformStub
Exceptions
TypeDescription
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
NameDescription
settingsDataformStubSettings
clientContextClientContext

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
NameDescription
settingsDataformStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelWorkflowInvocationCallable()

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

close()

public final void close()
Overrides

commitWorkspaceChangesCallable()

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

createCompilationResultCallable()

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

createRepositoryCallable()

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

createWorkflowInvocationCallable()

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

createWorkspaceCallable()

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

deleteRepositoryCallable()

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

deleteWorkflowInvocationCallable()

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

deleteWorkspaceCallable()

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

fetchFileDiffCallable()

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

fetchFileGitStatusesCallable()

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

fetchGitAheadBehindCallable()

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

fetchRemoteBranchesCallable()

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

getCompilationResultCallable()

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

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getRepositoryCallable()

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

getWorkflowInvocationCallable()

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

getWorkspaceCallable()

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

installNpmPackagesCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCompilationResultsCallable()

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

listCompilationResultsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listRepositoriesCallable()

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

listRepositoriesPagedCallable()

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

listWorkflowInvocationsCallable()

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

listWorkflowInvocationsPagedCallable()

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

listWorkspacesCallable()

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

listWorkspacesPagedCallable()

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

makeDirectoryCallable()

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

moveDirectoryCallable()

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

moveFileCallable()

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

pullGitCommitsCallable()

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

pushGitCommitsCallable()

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

queryCompilationResultActionsCallable()

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

queryCompilationResultActionsPagedCallable()

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

queryDirectoryContentsCallable()

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

queryDirectoryContentsPagedCallable()

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

queryWorkflowInvocationActionsCallable()

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

queryWorkflowInvocationActionsPagedCallable()

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

readFileCallable()

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

removeDirectoryCallable()

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

removeFileCallable()

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

resetWorkspaceChangesCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateRepositoryCallable()

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

writeFileCallable()

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