Class DeveloperConnectSettings.Builder (0.15.0)

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

Builder for DeveloperConnectSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DeveloperConnectSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DeveloperConnectSettings settings)

protected Builder(DeveloperConnectSettings settings)
Parameter
Name Description
settings DeveloperConnectSettings

Builder(DeveloperConnectStubSettings.Builder stubSettings)

protected Builder(DeveloperConnectStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DeveloperConnectStubSettings.Builder

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DeveloperConnectSettings.Builder

build()

public DeveloperConnectSettings build()
Returns
Type Description
DeveloperConnectSettings
Overrides
Exceptions
Type Description
IOException

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.

Returns
Type Description
Builder<CreateConnectionRequest,Operation>

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.

Returns
Type Description
Builder<DeleteConnectionRequest,Operation>

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.

Returns
Type Description
Builder<GetConnectionRequest,Connection>

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()
Returns
Type Description
DeveloperConnectStubSettings.Builder

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.

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

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.

Returns
Type Description
Builder<UpdateConnectionRequest,Operation>