public class DataformStubSettings extends StubSettings<DataformStubSettings>
Settings class to configure an instance of DataformStub.
The default instance has everything set to sensible defaults:
- The default service address (dataform.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When
build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getRepository to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DataformStubSettings.Builder dataformSettingsBuilder = DataformStubSettings.newBuilder();
dataformSettingsBuilder
.getRepositorySettings()
.setRetrySettings(
dataformSettingsBuilder
.getRepositorySettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DataformStubSettings dataformSettings = dataformSettingsBuilder.build();
Static Methods
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Returns
public static TransportChannelProvider defaultTransportChannelProvider()
Returns
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Returns
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Returns
public static DataformStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Returns
newBuilder(ClientContext clientContext)
public static DataformStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Parameter
Returns
public static DataformStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Returns
Constructors
protected DataformStubSettings(DataformStubSettings.Builder settingsBuilder)
Parameter
Methods
public UnaryCallSettings<CancelWorkflowInvocationRequest,Empty> cancelWorkflowInvocationSettings()
Returns the object with the settings used for calls to cancelWorkflowInvocation.
Returns
public UnaryCallSettings<CommitWorkspaceChangesRequest,Empty> commitWorkspaceChangesSettings()
Returns the object with the settings used for calls to commitWorkspaceChanges.
Returns
public UnaryCallSettings<CreateCompilationResultRequest,CompilationResult> createCompilationResultSettings()
Returns the object with the settings used for calls to createCompilationResult.
Returns
public UnaryCallSettings<CreateRepositoryRequest,Repository> createRepositorySettings()
Returns the object with the settings used for calls to createRepository.
Returns
public DataformStub createStub()
Returns
Exceptions
public UnaryCallSettings<CreateWorkflowInvocationRequest,WorkflowInvocation> createWorkflowInvocationSettings()
Returns the object with the settings used for calls to createWorkflowInvocation.
Returns
public UnaryCallSettings<CreateWorkspaceRequest,Workspace> createWorkspaceSettings()
Returns the object with the settings used for calls to createWorkspace.
Returns
public UnaryCallSettings<DeleteRepositoryRequest,Empty> deleteRepositorySettings()
Returns the object with the settings used for calls to deleteRepository.
Returns
public UnaryCallSettings<DeleteWorkflowInvocationRequest,Empty> deleteWorkflowInvocationSettings()
Returns the object with the settings used for calls to deleteWorkflowInvocation.
Returns
public UnaryCallSettings<DeleteWorkspaceRequest,Empty> deleteWorkspaceSettings()
Returns the object with the settings used for calls to deleteWorkspace.
Returns
public UnaryCallSettings<FetchFileDiffRequest,FetchFileDiffResponse> fetchFileDiffSettings()
Returns the object with the settings used for calls to fetchFileDiff.
Returns
public UnaryCallSettings<FetchFileGitStatusesRequest,FetchFileGitStatusesResponse> fetchFileGitStatusesSettings()
Returns the object with the settings used for calls to fetchFileGitStatuses.
Returns
public UnaryCallSettings<FetchGitAheadBehindRequest,FetchGitAheadBehindResponse> fetchGitAheadBehindSettings()
Returns the object with the settings used for calls to fetchGitAheadBehind.
Returns
public UnaryCallSettings<FetchRemoteBranchesRequest,FetchRemoteBranchesResponse> fetchRemoteBranchesSettings()
Returns the object with the settings used for calls to fetchRemoteBranches.
Returns
public UnaryCallSettings<GetCompilationResultRequest,CompilationResult> getCompilationResultSettings()
Returns the object with the settings used for calls to getCompilationResult.
Returns
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Returns
Type |
Description |
UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
public UnaryCallSettings<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the object with the settings used for calls to getRepository.
Returns
public UnaryCallSettings<GetWorkflowInvocationRequest,WorkflowInvocation> getWorkflowInvocationSettings()
Returns the object with the settings used for calls to getWorkflowInvocation.
Returns
public UnaryCallSettings<GetWorkspaceRequest,Workspace> getWorkspaceSettings()
Returns the object with the settings used for calls to getWorkspace.
Returns
public UnaryCallSettings<InstallNpmPackagesRequest,InstallNpmPackagesResponse> installNpmPackagesSettings()
Returns the object with the settings used for calls to installNpmPackages.
Returns
public PagedCallSettings<ListCompilationResultsRequest,ListCompilationResultsResponse,DataformClient.ListCompilationResultsPagedResponse> listCompilationResultsSettings()
Returns the object with the settings used for calls to listCompilationResults.
Returns
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,DataformClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
Returns
public PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,DataformClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the object with the settings used for calls to listRepositories.
Returns
public PagedCallSettings<ListWorkflowInvocationsRequest,ListWorkflowInvocationsResponse,DataformClient.ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings()
Returns the object with the settings used for calls to listWorkflowInvocations.
Returns
public PagedCallSettings<ListWorkspacesRequest,ListWorkspacesResponse,DataformClient.ListWorkspacesPagedResponse> listWorkspacesSettings()
Returns the object with the settings used for calls to listWorkspaces.
Returns
public UnaryCallSettings<MakeDirectoryRequest,MakeDirectoryResponse> makeDirectorySettings()
Returns the object with the settings used for calls to makeDirectory.
Returns
public UnaryCallSettings<MoveDirectoryRequest,MoveDirectoryResponse> moveDirectorySettings()
Returns the object with the settings used for calls to moveDirectory.
Returns
public UnaryCallSettings<MoveFileRequest,MoveFileResponse> moveFileSettings()
Returns the object with the settings used for calls to moveFile.
Returns
public UnaryCallSettings<PullGitCommitsRequest,Empty> pullGitCommitsSettings()
Returns the object with the settings used for calls to pullGitCommits.
Returns
public UnaryCallSettings<PushGitCommitsRequest,Empty> pushGitCommitsSettings()
Returns the object with the settings used for calls to pushGitCommits.
Returns
public PagedCallSettings<QueryCompilationResultActionsRequest,QueryCompilationResultActionsResponse,DataformClient.QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings()
Returns the object with the settings used for calls to queryCompilationResultActions.
Returns
queryDirectoryContentsSettings()
public PagedCallSettings<QueryDirectoryContentsRequest,QueryDirectoryContentsResponse,DataformClient.QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings()
Returns the object with the settings used for calls to queryDirectoryContents.
Returns
public PagedCallSettings<QueryWorkflowInvocationActionsRequest,QueryWorkflowInvocationActionsResponse,DataformClient.QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings()
Returns the object with the settings used for calls to queryWorkflowInvocationActions.
Returns
public UnaryCallSettings<ReadFileRequest,ReadFileResponse> readFileSettings()
Returns the object with the settings used for calls to readFile.
Returns
public UnaryCallSettings<RemoveDirectoryRequest,Empty> removeDirectorySettings()
Returns the object with the settings used for calls to removeDirectory.
Returns
public UnaryCallSettings<RemoveFileRequest,Empty> removeFileSettings()
Returns the object with the settings used for calls to removeFile.
Returns
public UnaryCallSettings<ResetWorkspaceChangesRequest,Empty> resetWorkspaceChangesSettings()
Returns the object with the settings used for calls to resetWorkspaceChanges.
Returns
public DataformStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns
Overrides
public UnaryCallSettings<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the object with the settings used for calls to updateRepository.
Returns
public UnaryCallSettings<WriteFileRequest,WriteFileResponse> writeFileSettings()
Returns the object with the settings used for calls to writeFile.
Returns