Class DataformSettings.Builder (0.12.0)

public static class DataformSettings.Builder extends ClientSettings.Builder<DataformSettings,DataformSettings.Builder>

Builder for DataformSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataformSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataformSettings settings)

protected Builder(DataformSettings settings)
Parameter
NameDescription
settingsDataformSettings

Builder(DataformStubSettings.Builder stubSettings)

protected Builder(DataformStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataformStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DataformSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DataformSettings.Builder

build()

public DataformSettings build()
Returns
TypeDescription
DataformSettings
Overrides
Exceptions
TypeDescription
IOException

cancelWorkflowInvocationSettings()

public UnaryCallSettings.Builder<CancelWorkflowInvocationRequest,Empty> cancelWorkflowInvocationSettings()

Returns the builder for the settings used for calls to cancelWorkflowInvocation.

Returns
TypeDescription
Builder<CancelWorkflowInvocationRequest,Empty>

commitWorkspaceChangesSettings()

public UnaryCallSettings.Builder<CommitWorkspaceChangesRequest,Empty> commitWorkspaceChangesSettings()

Returns the builder for the settings used for calls to commitWorkspaceChanges.

Returns
TypeDescription
Builder<CommitWorkspaceChangesRequest,Empty>

createCompilationResultSettings()

public UnaryCallSettings.Builder<CreateCompilationResultRequest,CompilationResult> createCompilationResultSettings()

Returns the builder for the settings used for calls to createCompilationResult.

Returns
TypeDescription
Builder<CreateCompilationResultRequest,CompilationResult>

createRepositorySettings()

public UnaryCallSettings.Builder<CreateRepositoryRequest,Repository> createRepositorySettings()

Returns the builder for the settings used for calls to createRepository.

Returns
TypeDescription
Builder<CreateRepositoryRequest,Repository>

createWorkflowInvocationSettings()

public UnaryCallSettings.Builder<CreateWorkflowInvocationRequest,WorkflowInvocation> createWorkflowInvocationSettings()

Returns the builder for the settings used for calls to createWorkflowInvocation.

Returns
TypeDescription
Builder<CreateWorkflowInvocationRequest,WorkflowInvocation>

createWorkspaceSettings()

public UnaryCallSettings.Builder<CreateWorkspaceRequest,Workspace> createWorkspaceSettings()

Returns the builder for the settings used for calls to createWorkspace.

Returns
TypeDescription
Builder<CreateWorkspaceRequest,Workspace>

deleteRepositorySettings()

public UnaryCallSettings.Builder<DeleteRepositoryRequest,Empty> deleteRepositorySettings()

Returns the builder for the settings used for calls to deleteRepository.

Returns
TypeDescription
Builder<DeleteRepositoryRequest,Empty>

deleteWorkflowInvocationSettings()

public UnaryCallSettings.Builder<DeleteWorkflowInvocationRequest,Empty> deleteWorkflowInvocationSettings()

Returns the builder for the settings used for calls to deleteWorkflowInvocation.

Returns
TypeDescription
Builder<DeleteWorkflowInvocationRequest,Empty>

deleteWorkspaceSettings()

public UnaryCallSettings.Builder<DeleteWorkspaceRequest,Empty> deleteWorkspaceSettings()

Returns the builder for the settings used for calls to deleteWorkspace.

Returns
TypeDescription
Builder<DeleteWorkspaceRequest,Empty>

fetchFileDiffSettings()

public UnaryCallSettings.Builder<FetchFileDiffRequest,FetchFileDiffResponse> fetchFileDiffSettings()

Returns the builder for the settings used for calls to fetchFileDiff.

Returns
TypeDescription
Builder<FetchFileDiffRequest,FetchFileDiffResponse>

fetchFileGitStatusesSettings()

public UnaryCallSettings.Builder<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse> fetchFileGitStatusesSettings()

Returns the builder for the settings used for calls to fetchFileGitStatuses.

Returns
TypeDescription
Builder<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse>

fetchGitAheadBehindSettings()

public UnaryCallSettings.Builder<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse> fetchGitAheadBehindSettings()

Returns the builder for the settings used for calls to fetchGitAheadBehind.

Returns
TypeDescription
Builder<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse>

fetchRemoteBranchesSettings()

public UnaryCallSettings.Builder<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse> fetchRemoteBranchesSettings()

Returns the builder for the settings used for calls to fetchRemoteBranches.

Returns
TypeDescription
Builder<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse>

getCompilationResultSettings()

public UnaryCallSettings.Builder<GetCompilationResultRequest,CompilationResult> getCompilationResultSettings()

Returns the builder for the settings used for calls to getCompilationResult.

Returns
TypeDescription
Builder<GetCompilationResultRequest,CompilationResult>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getRepositorySettings()

public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()

Returns the builder for the settings used for calls to getRepository.

Returns
TypeDescription
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

public DataformStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DataformStubSettings.Builder

getWorkflowInvocationSettings()

public UnaryCallSettings.Builder<GetWorkflowInvocationRequest,WorkflowInvocation> getWorkflowInvocationSettings()

Returns the builder for the settings used for calls to getWorkflowInvocation.

Returns
TypeDescription
Builder<GetWorkflowInvocationRequest,WorkflowInvocation>

getWorkspaceSettings()

public UnaryCallSettings.Builder<GetWorkspaceRequest,Workspace> getWorkspaceSettings()

Returns the builder for the settings used for calls to getWorkspace.

Returns
TypeDescription
Builder<GetWorkspaceRequest,Workspace>

installNpmPackagesSettings()

public UnaryCallSettings.Builder<InstallNpmPackagesRequest,InstallNpmPackagesResponse> installNpmPackagesSettings()

Returns the builder for the settings used for calls to installNpmPackages.

Returns
TypeDescription
Builder<InstallNpmPackagesRequest,InstallNpmPackagesResponse>

listCompilationResultsSettings()

public PagedCallSettings.Builder<ListCompilationResultsRequest,ListCompilationResultsResponse,DataformClient.ListCompilationResultsPagedResponse> listCompilationResultsSettings()

Returns the builder for the settings used for calls to listCompilationResults.

Returns
TypeDescription
Builder<ListCompilationResultsRequest,ListCompilationResultsResponse,ListCompilationResultsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataformClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listRepositoriesSettings()

public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,DataformClient.ListRepositoriesPagedResponse> listRepositoriesSettings()

Returns the builder for the settings used for calls to listRepositories.

Returns
TypeDescription
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>

listWorkflowInvocationsSettings()

public PagedCallSettings.Builder<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,DataformClient.ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings()

Returns the builder for the settings used for calls to listWorkflowInvocations.

Returns
TypeDescription
Builder<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,ListWorkflowInvocationsPagedResponse>

listWorkspacesSettings()

public PagedCallSettings.Builder<ListWorkspacesRequest,ListWorkspacesResponse,DataformClient.ListWorkspacesPagedResponse> listWorkspacesSettings()

Returns the builder for the settings used for calls to listWorkspaces.

Returns
TypeDescription
Builder<ListWorkspacesRequest,ListWorkspacesResponse,ListWorkspacesPagedResponse>

makeDirectorySettings()

public UnaryCallSettings.Builder<MakeDirectoryRequest,MakeDirectoryResponse> makeDirectorySettings()

Returns the builder for the settings used for calls to makeDirectory.

Returns
TypeDescription
Builder<MakeDirectoryRequest,MakeDirectoryResponse>

moveDirectorySettings()

public UnaryCallSettings.Builder<MoveDirectoryRequest,MoveDirectoryResponse> moveDirectorySettings()

Returns the builder for the settings used for calls to moveDirectory.

Returns
TypeDescription
Builder<MoveDirectoryRequest,MoveDirectoryResponse>

moveFileSettings()

public UnaryCallSettings.Builder<MoveFileRequest,MoveFileResponse> moveFileSettings()

Returns the builder for the settings used for calls to moveFile.

Returns
TypeDescription
Builder<MoveFileRequest,MoveFileResponse>

pullGitCommitsSettings()

public UnaryCallSettings.Builder<PullGitCommitsRequest,Empty> pullGitCommitsSettings()

Returns the builder for the settings used for calls to pullGitCommits.

Returns
TypeDescription
Builder<PullGitCommitsRequest,Empty>

pushGitCommitsSettings()

public UnaryCallSettings.Builder<PushGitCommitsRequest,Empty> pushGitCommitsSettings()

Returns the builder for the settings used for calls to pushGitCommits.

Returns
TypeDescription
Builder<PushGitCommitsRequest,Empty>

queryCompilationResultActionsSettings()

public PagedCallSettings.Builder<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,DataformClient.QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings()

Returns the builder for the settings used for calls to queryCompilationResultActions.

Returns
TypeDescription
Builder<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,QueryCompilationResultActionsPagedResponse>

queryDirectoryContentsSettings()

public PagedCallSettings.Builder<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,DataformClient.QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings()

Returns the builder for the settings used for calls to queryDirectoryContents.

Returns
TypeDescription
Builder<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,QueryDirectoryContentsPagedResponse>

queryWorkflowInvocationActionsSettings()

public PagedCallSettings.Builder<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,DataformClient.QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings()

Returns the builder for the settings used for calls to queryWorkflowInvocationActions.

Returns
TypeDescription
Builder<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,QueryWorkflowInvocationActionsPagedResponse>

readFileSettings()

public UnaryCallSettings.Builder<ReadFileRequest,ReadFileResponse> readFileSettings()

Returns the builder for the settings used for calls to readFile.

Returns
TypeDescription
Builder<ReadFileRequest,ReadFileResponse>

removeDirectorySettings()

public UnaryCallSettings.Builder<RemoveDirectoryRequest,Empty> removeDirectorySettings()

Returns the builder for the settings used for calls to removeDirectory.

Returns
TypeDescription
Builder<RemoveDirectoryRequest,Empty>

removeFileSettings()

public UnaryCallSettings.Builder<RemoveFileRequest,Empty> removeFileSettings()

Returns the builder for the settings used for calls to removeFile.

Returns
TypeDescription
Builder<RemoveFileRequest,Empty>

resetWorkspaceChangesSettings()

public UnaryCallSettings.Builder<ResetWorkspaceChangesRequest,Empty> resetWorkspaceChangesSettings()

Returns the builder for the settings used for calls to resetWorkspaceChanges.

Returns
TypeDescription
Builder<ResetWorkspaceChangesRequest,Empty>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateRepositorySettings()

public UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()

Returns the builder for the settings used for calls to updateRepository.

Returns
TypeDescription
Builder<UpdateRepositoryRequest,Repository>

writeFileSettings()

public UnaryCallSettings.Builder<WriteFileRequest,WriteFileResponse> writeFileSettings()

Returns the builder for the settings used for calls to writeFile.

Returns
TypeDescription
Builder<WriteFileRequest,WriteFileResponse>