public static class DeveloperConnectSettings.Builder extends ClientSettings.Builder<DeveloperConnectSettings,DeveloperConnectSettings.Builder>
Builder for DeveloperConnectSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DeveloperConnectSettings settings)
protected Builder(DeveloperConnectSettings settings)
Builder(DeveloperConnectStubSettings.Builder stubSettings)
protected Builder(DeveloperConnectStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DeveloperConnectSettings.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.
build()
public DeveloperConnectSettings build()
Overrides
createConnectionOperationSettings()
public OperationCallSettings.Builder<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationSettings()
Returns the builder for the settings used for calls to createConnection.
createConnectionSettings()
public UnaryCallSettings.Builder<CreateConnectionRequest,Operation> createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.
createGitRepositoryLinkOperationSettings()
public OperationCallSettings.Builder<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata> createGitRepositoryLinkOperationSettings()
Returns the builder for the settings used for calls to createGitRepositoryLink.
createGitRepositoryLinkSettings()
public UnaryCallSettings.Builder<CreateGitRepositoryLinkRequest,Operation> createGitRepositoryLinkSettings()
Returns the builder for the settings used for calls to createGitRepositoryLink.
deleteConnectionOperationSettings()
public OperationCallSettings.Builder<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationSettings()
Returns the builder for the settings used for calls to deleteConnection.
deleteConnectionSettings()
public UnaryCallSettings.Builder<DeleteConnectionRequest,Operation> deleteConnectionSettings()
Returns the builder for the settings used for calls to deleteConnection.
deleteGitRepositoryLinkOperationSettings()
public OperationCallSettings.Builder<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata> deleteGitRepositoryLinkOperationSettings()
Returns the builder for the settings used for calls to deleteGitRepositoryLink.
deleteGitRepositoryLinkSettings()
public UnaryCallSettings.Builder<DeleteGitRepositoryLinkRequest,Operation> deleteGitRepositoryLinkSettings()
Returns the builder for the settings used for calls to deleteGitRepositoryLink.
fetchGitHubInstallationsSettings()
public UnaryCallSettings.Builder<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse> fetchGitHubInstallationsSettings()
Returns the builder for the settings used for calls to fetchGitHubInstallations.
fetchGitRefsSettings()
public PagedCallSettings.Builder<FetchGitRefsRequest,FetchGitRefsResponse,DeveloperConnectClient.FetchGitRefsPagedResponse> fetchGitRefsSettings()
Returns the builder for the settings used for calls to fetchGitRefs.
fetchLinkableGitRepositoriesSettings()
public PagedCallSettings.Builder<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse,DeveloperConnectClient.FetchLinkableGitRepositoriesPagedResponse> fetchLinkableGitRepositoriesSettings()
Returns the builder for the settings used for calls to fetchLinkableGitRepositories.
fetchReadTokenSettings()
public UnaryCallSettings.Builder<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenSettings()
Returns the builder for the settings used for calls to fetchReadToken.
fetchReadWriteTokenSettings()
public UnaryCallSettings.Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenSettings()
Returns the builder for the settings used for calls to fetchReadWriteToken.
getConnectionSettings()
public UnaryCallSettings.Builder<GetConnectionRequest,Connection> getConnectionSettings()
Returns the builder for the settings used for calls to getConnection.
getGitRepositoryLinkSettings()
public UnaryCallSettings.Builder<GetGitRepositoryLinkRequest,GitRepositoryLink> getGitRepositoryLinkSettings()
Returns the builder for the settings used for calls to getGitRepositoryLink.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public DeveloperConnectStubSettings.Builder getStubSettingsBuilder()
listConnectionsSettings()
public PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,DeveloperConnectClient.ListConnectionsPagedResponse> listConnectionsSettings()
Returns the builder for the settings used for calls to listConnections.
listGitRepositoryLinksSettings()
public PagedCallSettings.Builder<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse,DeveloperConnectClient.ListGitRepositoryLinksPagedResponse> listGitRepositoryLinksSettings()
Returns the builder for the settings used for calls to listGitRepositoryLinks.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DeveloperConnectClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
updateConnectionOperationSettings()
public OperationCallSettings.Builder<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationSettings()
Returns the builder for the settings used for calls to updateConnection.
updateConnectionSettings()
public UnaryCallSettings.Builder<UpdateConnectionRequest,Operation> updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.