public static class RepositoryManagerStubSettings.Builder extends StubSettings.Builder<RepositoryManagerStubSettings,RepositoryManagerStubSettings.Builder>
Builder for RepositoryManagerStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(RepositoryManagerStubSettings settings)
Parameter
Methods
public RepositoryManagerStubSettings.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 RepositoryManagerStubSettings 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 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 ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
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