public static class RepositoryManagerSettings.Builder extends ClientSettings.Builder<RepositoryManagerSettings,RepositoryManagerSettings.Builder>
Builder for RepositoryManagerSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(RepositoryManagerSettings settings)
Parameter
protected Builder(RepositoryManagerStubSettings.Builder stubSettings)
Parameter
Methods
public RepositoryManagerSettings.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
Returns
public OperationCallSettings.Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationSettings()
Returns the builder for the settings used for calls to batchCreateRepositories.
Returns
public UnaryCallSettings.Builder<BatchCreateRepositoriesRequest,Operation> batchCreateRepositoriesSettings()
Returns the builder for the settings used for calls to batchCreateRepositories.
Returns
public RepositoryManagerSettings build()
Returns
Overrides
Exceptions
public OperationCallSettings.Builder<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationSettings()
Returns the builder for the settings used for calls to createConnection.
Returns
public UnaryCallSettings.Builder<CreateConnectionRequest,Operation> createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.
Returns
public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.
Returns
public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.
Returns
public OperationCallSettings.Builder<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationSettings()
Returns the builder for the settings used for calls to deleteConnection.
Returns
public UnaryCallSettings.Builder<DeleteConnectionRequest,Operation> deleteConnectionSettings()
Returns the builder for the settings used for calls to deleteConnection.
Returns
public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.
Returns
public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.
Returns
public PagedCallSettings.Builder<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesSettings()
Returns the builder for the settings used for calls to fetchLinkableRepositories.
Returns
public UnaryCallSettings.Builder<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenSettings()
Returns the builder for the settings used for calls to fetchReadToken.
Returns
public UnaryCallSettings.Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenSettings()
Returns the builder for the settings used for calls to fetchReadWriteToken.
Returns
public UnaryCallSettings.Builder<GetConnectionRequest,Connection> getConnectionSettings()
Returns the builder for the settings used for calls to getConnection.
Returns
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.
Returns
public RepositoryManagerStubSettings.Builder getStubSettingsBuilder()
Returns
public PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsSettings()
Returns the builder for the settings used for calls to listConnections.
Returns
public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
Returns
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
public OperationCallSettings.Builder<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationSettings()
Returns the builder for the settings used for calls to updateConnection.
Returns
public UnaryCallSettings.Builder<UpdateConnectionRequest,Operation> updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.
Returns