Class DeveloperConnectStubSettings.Builder (0.8.0)

public static class DeveloperConnectStubSettings.Builder extends StubSettings.Builder<DeveloperConnectStubSettings,DeveloperConnectStubSettings.Builder>

Builder for DeveloperConnectStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DeveloperConnectStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DeveloperConnectStubSettings settings)

protected Builder(DeveloperConnectStubSettings settings)
Parameter
Name Description
settings DeveloperConnectStubSettings

Methods

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

public DeveloperConnectStubSettings.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
DeveloperConnectStubSettings.Builder

build()

public DeveloperConnectStubSettings build()
Returns
Type Description
DeveloperConnectStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>