Class RepositoryManagerSettings.Builder (3.55.0)

public static class RepositoryManagerSettings.Builder extends ClientSettings.Builder<RepositoryManagerSettings,RepositoryManagerSettings.Builder>

Builder for RepositoryManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RepositoryManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RepositoryManagerSettings settings)

protected Builder(RepositoryManagerSettings settings)
Parameter
Name Description
settings RepositoryManagerSettings

Builder(RepositoryManagerStubSettings.Builder stubSettings)

protected Builder(RepositoryManagerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RepositoryManagerStubSettings.Builder

Methods

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

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RepositoryManagerSettings.Builder

batchCreateRepositoriesOperationSettings()

public OperationCallSettings.Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationSettings()

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

Returns
Type Description
Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata>

batchCreateRepositoriesSettings()

public UnaryCallSettings.Builder<BatchCreateRepositoriesRequest,Operation> batchCreateRepositoriesSettings()

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

Returns
Type Description
Builder<BatchCreateRepositoriesRequest,Operation>

build()

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

createRepositoryOperationSettings()

public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()

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

Returns
Type Description
Builder<CreateRepositoryRequest,Repository,OperationMetadata>

createRepositorySettings()

public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()

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

Returns
Type Description
Builder<CreateRepositoryRequest,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>

deleteRepositoryOperationSettings()

public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()

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

Returns
Type Description
Builder<DeleteRepositoryRequest,Empty,OperationMetadata>

deleteRepositorySettings()

public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()

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

Returns
Type Description
Builder<DeleteRepositoryRequest,Operation>

fetchGitRefsSettings()

public UnaryCallSettings.Builder<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsSettings()

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

Returns
Type Description
Builder<FetchGitRefsRequest,FetchGitRefsResponse>

fetchLinkableRepositoriesSettings()

public PagedCallSettings.Builder<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesSettings()

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

Returns
Type Description
Builder<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,FetchLinkableRepositoriesPagedResponse>

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>

getIamPolicySettings()

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>

getRepositorySettings()

public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()

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

Returns
Type Description
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

public RepositoryManagerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RepositoryManagerStubSettings.Builder

listConnectionsSettings()

public PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsSettings()

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

Returns
Type Description
Builder<ListConnectionsRequest,ListConnectionsResponse,ListConnectionsPagedResponse>

listRepositoriesSettings()

public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesSettings()

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

Returns
Type Description
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

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>