public static class RepositoryManagerStubSettings.Builder extends StubSettings.Builder<RepositoryManagerStubSettings,RepositoryManagerStubSettings.Builder>
Builder for RepositoryManagerStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(RepositoryManagerStubSettings settings)
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.
public OperationCallSettings.Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationSettings()
Returns the builder for the settings used for calls to batchCreateRepositories.
public UnaryCallSettings.Builder<BatchCreateRepositoriesRequest,Operation> batchCreateRepositoriesSettings()
Returns the builder for the settings used for calls to batchCreateRepositories.
public RepositoryManagerStubSettings build()
Overrides
public OperationCallSettings.Builder<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationSettings()
Returns the builder for the settings used for calls to createConnection.
public UnaryCallSettings.Builder<CreateConnectionRequest,Operation> createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.
public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.
public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.
public OperationCallSettings.Builder<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationSettings()
Returns the builder for the settings used for calls to deleteConnection.
public UnaryCallSettings.Builder<DeleteConnectionRequest,Operation> deleteConnectionSettings()
Returns the builder for the settings used for calls to deleteConnection.
public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.
public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.
public PagedCallSettings.Builder<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesSettings()
Returns the builder for the settings used for calls to fetchLinkableRepositories.
public UnaryCallSettings.Builder<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenSettings()
Returns the builder for the settings used for calls to fetchReadToken.
public UnaryCallSettings.Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenSettings()
Returns the builder for the settings used for calls to fetchReadWriteToken.
public UnaryCallSettings.Builder<GetConnectionRequest,Connection> getConnectionSettings()
Returns the builder for the settings used for calls to getConnection.
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.
public PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsSettings()
Returns the builder for the settings used for calls to listConnections.
public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
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.
public UnaryCallSettings.Builder<UpdateConnectionRequest,Operation> updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.