Class DeveloperConnectSettings.Builder (0.6.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.

Returns
Type Description
Builder<CreateConnectionRequest,Connection,OperationMetadata>

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.

Returns
Type Description
Builder<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata>

createGitRepositoryLinkSettings()

public UnaryCallSettings.Builder<CreateGitRepositoryLinkRequest,Operation> createGitRepositoryLinkSettings()

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

Returns
Type Description
Builder<CreateGitRepositoryLinkRequest,Operation>

deleteConnectionOperationSettings()

public OperationCallSettings.Builder<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationSettings()

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

Returns
Type Description
Builder<DeleteConnectionRequest,Empty,OperationMetadata>

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.

Returns
Type Description
Builder<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata>

deleteGitRepositoryLinkSettings()

public UnaryCallSettings.Builder<DeleteGitRepositoryLinkRequest,Operation> deleteGitRepositoryLinkSettings()

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

Returns
Type Description
Builder<DeleteGitRepositoryLinkRequest,Operation>

fetchGitHubInstallationsSettings()

public UnaryCallSettings.Builder<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse> fetchGitHubInstallationsSettings()

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

Returns
Type Description
Builder<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse>

fetchGitRefsSettings()

public PagedCallSettings.Builder<FetchGitRefsRequest,FetchGitRefsResponse,DeveloperConnectClient.FetchGitRefsPagedResponse> fetchGitRefsSettings()

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

Returns
Type Description
Builder<FetchGitRefsRequest,FetchGitRefsResponse,FetchGitRefsPagedResponse>

fetchLinkableGitRepositoriesSettings()

public PagedCallSettings.Builder<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse,DeveloperConnectClient.FetchLinkableGitRepositoriesPagedResponse> fetchLinkableGitRepositoriesSettings()

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

Returns
Type Description
Builder<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse,FetchLinkableGitRepositoriesPagedResponse>

fetchReadTokenSettings()

public UnaryCallSettings.Builder<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenSettings()

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

Returns
Type Description
Builder<FetchReadTokenRequest,FetchReadTokenResponse>

fetchReadWriteTokenSettings()

public UnaryCallSettings.Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenSettings()

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

Returns
Type Description
Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse>

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.

Returns
Type Description
Builder<GetGitRepositoryLinkRequest,GitRepositoryLink>

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.

Returns
Type Description
Builder<ListConnectionsRequest,ListConnectionsResponse,ListConnectionsPagedResponse>

listGitRepositoryLinksSettings()

public PagedCallSettings.Builder<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse,DeveloperConnectClient.ListGitRepositoryLinksPagedResponse> listGitRepositoryLinksSettings()

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

Returns
Type Description
Builder<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse,ListGitRepositoryLinksPagedResponse>

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.

Returns
Type Description
Builder<UpdateConnectionRequest,Connection,OperationMetadata>

updateConnectionSettings()

public UnaryCallSettings.Builder<UpdateConnectionRequest,Operation> updateConnectionSettings()

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

Returns
Type Description
Builder<UpdateConnectionRequest,Operation>