Class HttpJsonDataformStub (0.46.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

commitRepositoryChangesCallable()

public UnaryCallable<CommitRepositoryChangesRequest,Empty> commitRepositoryChangesCallable()
Returns
Type Description
UnaryCallable<CommitRepositoryChangesRequest,Empty>
Overrides

commitWorkspaceChangesCallable()

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

computeRepositoryAccessTokenStatusCallable()

public UnaryCallable<ComputeRepositoryAccessTokenStatusRequest,ComputeRepositoryAccessTokenStatusResponse> computeRepositoryAccessTokenStatusCallable()
Returns
Type Description
UnaryCallable<ComputeRepositoryAccessTokenStatusRequest,ComputeRepositoryAccessTokenStatusResponse>
Overrides

createCompilationResultCallable()

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

createReleaseConfigCallable()

public UnaryCallable<CreateReleaseConfigRequest,ReleaseConfig> createReleaseConfigCallable()
Returns
Type Description
UnaryCallable<CreateReleaseConfigRequest,ReleaseConfig>
Overrides

createRepositoryCallable()

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

createWorkflowConfigCallable()

public UnaryCallable<CreateWorkflowConfigRequest,WorkflowConfig> createWorkflowConfigCallable()
Returns
Type Description
UnaryCallable<CreateWorkflowConfigRequest,WorkflowConfig>
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

deleteReleaseConfigCallable()

public UnaryCallable<DeleteReleaseConfigRequest,Empty> deleteReleaseConfigCallable()
Returns
Type Description
UnaryCallable<DeleteReleaseConfigRequest,Empty>
Overrides

deleteRepositoryCallable()

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

deleteWorkflowConfigCallable()

public UnaryCallable<DeleteWorkflowConfigRequest,Empty> deleteWorkflowConfigCallable()
Returns
Type Description
UnaryCallable<DeleteWorkflowConfigRequest,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

fetchRepositoryHistoryCallable()

public UnaryCallable<FetchRepositoryHistoryRequest,FetchRepositoryHistoryResponse> fetchRepositoryHistoryCallable()
Returns
Type Description
UnaryCallable<FetchRepositoryHistoryRequest,FetchRepositoryHistoryResponse>
Overrides

fetchRepositoryHistoryPagedCallable()

public UnaryCallable<FetchRepositoryHistoryRequest,DataformClient.FetchRepositoryHistoryPagedResponse> fetchRepositoryHistoryPagedCallable()
Returns
Type Description
UnaryCallable<FetchRepositoryHistoryRequest,FetchRepositoryHistoryPagedResponse>
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

getReleaseConfigCallable()

public UnaryCallable<GetReleaseConfigRequest,ReleaseConfig> getReleaseConfigCallable()
Returns
Type Description
UnaryCallable<GetReleaseConfigRequest,ReleaseConfig>
Overrides

getRepositoryCallable()

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

getWorkflowConfigCallable()

public UnaryCallable<GetWorkflowConfigRequest,WorkflowConfig> getWorkflowConfigCallable()
Returns
Type Description
UnaryCallable<GetWorkflowConfigRequest,WorkflowConfig>
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

listReleaseConfigsCallable()

public UnaryCallable<ListReleaseConfigsRequest,ListReleaseConfigsResponse> listReleaseConfigsCallable()
Returns
Type Description
UnaryCallable<ListReleaseConfigsRequest,ListReleaseConfigsResponse>
Overrides

listReleaseConfigsPagedCallable()

public UnaryCallable<ListReleaseConfigsRequest,DataformClient.ListReleaseConfigsPagedResponse> listReleaseConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListReleaseConfigsRequest,ListReleaseConfigsPagedResponse>
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

listWorkflowConfigsCallable()

public UnaryCallable<ListWorkflowConfigsRequest,ListWorkflowConfigsResponse> listWorkflowConfigsCallable()
Returns
Type Description
UnaryCallable<ListWorkflowConfigsRequest,ListWorkflowConfigsResponse>
Overrides

listWorkflowConfigsPagedCallable()

public UnaryCallable<ListWorkflowConfigsRequest,DataformClient.ListWorkflowConfigsPagedResponse> listWorkflowConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkflowConfigsRequest,ListWorkflowConfigsPagedResponse>
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

queryRepositoryDirectoryContentsCallable()

public UnaryCallable<QueryRepositoryDirectoryContentsRequest,QueryRepositoryDirectoryContentsResponse> queryRepositoryDirectoryContentsCallable()
Returns
Type Description
UnaryCallable<QueryRepositoryDirectoryContentsRequest,QueryRepositoryDirectoryContentsResponse>
Overrides

queryRepositoryDirectoryContentsPagedCallable()

public UnaryCallable<QueryRepositoryDirectoryContentsRequest,DataformClient.QueryRepositoryDirectoryContentsPagedResponse> queryRepositoryDirectoryContentsPagedCallable()
Returns
Type Description
UnaryCallable<QueryRepositoryDirectoryContentsRequest,QueryRepositoryDirectoryContentsPagedResponse>
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

readRepositoryFileCallable()

public UnaryCallable<ReadRepositoryFileRequest,ReadRepositoryFileResponse> readRepositoryFileCallable()
Returns
Type Description
UnaryCallable<ReadRepositoryFileRequest,ReadRepositoryFileResponse>
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

updateReleaseConfigCallable()

public UnaryCallable<UpdateReleaseConfigRequest,ReleaseConfig> updateReleaseConfigCallable()
Returns
Type Description
UnaryCallable<UpdateReleaseConfigRequest,ReleaseConfig>
Overrides

updateRepositoryCallable()

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

updateWorkflowConfigCallable()

public UnaryCallable<UpdateWorkflowConfigRequest,WorkflowConfig> updateWorkflowConfigCallable()
Returns
Type Description
UnaryCallable<UpdateWorkflowConfigRequest,WorkflowConfig>
Overrides

writeFileCallable()

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