Class HttpJsonDataformStub (0.32.0)

public class HttpJsonDataformStub extends DataformStub

REST stub implementation for the Dataform service API.

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

Inheritance

java.lang.Object > DataformStub > HttpJsonDataformStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DataformStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDataformStub(DataformStubSettings settings, ClientContext clientContext)

protected HttpJsonDataformStub(DataformStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDataformStub, 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

HttpJsonDataformStub(DataformStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDataformStub(DataformStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDataformStub, 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 HttpJsonStubCallableFactory

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

getIamPolicyCallable()

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

getLocationCallable()

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

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

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