Class RepositoryManagerSettings.Builder (3.80.0)

publicstaticclass RepositoryManagerSettings.BuilderextendsClientSettings.Builder<RepositoryManagerSettings,RepositoryManagerSettings.Builder>

Builder for RepositoryManagerSettings.

Inheritance

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

Inherited Members

Constructors

Builder()

protectedBuilder()

Builder(ClientContext clientContext)

protectedBuilder(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RepositoryManagerSettings settings)

protectedBuilder(RepositoryManagerSettingssettings)
Parameter
Name Description
settings RepositoryManagerSettings

Builder(RepositoryManagerStubSettings.Builder stubSettings)

protectedBuilder(RepositoryManagerStubSettings.BuilderstubSettings)
Parameter
Name Description
stubSettings RepositoryManagerStubSettings.Builder

Methods

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

publicRepositoryManagerSettings.BuilderapplyToAllUnaryMethods(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()

publicOperationCallSettings.Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata>batchCreateRepositoriesOperationSettings()

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

Returns
Type Description
Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata>

batchCreateRepositoriesSettings()

publicUnaryCallSettings.Builder<BatchCreateRepositoriesRequest,Operation>batchCreateRepositoriesSettings()

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

Returns
Type Description
Builder<BatchCreateRepositoriesRequest,Operation>

build()

publicRepositoryManagerSettingsbuild()
Returns
Type Description
RepositoryManagerSettings
Overrides
Exceptions
Type Description
IOException

createConnectionOperationSettings()

publicOperationCallSettings.Builder<CreateConnectionRequest,Connection,OperationMetadata>createConnectionOperationSettings()

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

Returns
Type Description
Builder<CreateConnectionRequest,Connection,OperationMetadata>

createConnectionSettings()

publicUnaryCallSettings.Builder<CreateConnectionRequest,Operation>createConnectionSettings()

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

Returns
Type Description
Builder<CreateConnectionRequest,Operation>

createRepositoryOperationSettings()

publicOperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata>createRepositoryOperationSettings()

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

Returns
Type Description
Builder<CreateRepositoryRequest,Repository,OperationMetadata>

createRepositorySettings()

publicUnaryCallSettings.Builder<CreateRepositoryRequest,Operation>createRepositorySettings()

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

Returns
Type Description
Builder<CreateRepositoryRequest,Operation>

deleteConnectionOperationSettings()

publicOperationCallSettings.Builder<DeleteConnectionRequest,Empty,OperationMetadata>deleteConnectionOperationSettings()

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

Returns
Type Description
Builder<DeleteConnectionRequest,Empty,OperationMetadata>

deleteConnectionSettings()

publicUnaryCallSettings.Builder<DeleteConnectionRequest,Operation>deleteConnectionSettings()

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

Returns
Type Description
Builder<DeleteConnectionRequest,Operation>

deleteRepositoryOperationSettings()

publicOperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata>deleteRepositoryOperationSettings()

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

Returns
Type Description
Builder<DeleteRepositoryRequest,Empty,OperationMetadata>

deleteRepositorySettings()

publicUnaryCallSettings.Builder<DeleteRepositoryRequest,Operation>deleteRepositorySettings()

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

Returns
Type Description
Builder<DeleteRepositoryRequest,Operation>

fetchGitRefsSettings()

publicUnaryCallSettings.Builder<FetchGitRefsRequest,FetchGitRefsResponse>fetchGitRefsSettings()

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

Returns
Type Description
Builder<FetchGitRefsRequest,FetchGitRefsResponse>

fetchLinkableRepositoriesSettings()

publicPagedCallSettings.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()

publicUnaryCallSettings.Builder<FetchReadTokenRequest,FetchReadTokenResponse>fetchReadTokenSettings()

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

Returns
Type Description
Builder<FetchReadTokenRequest,FetchReadTokenResponse>

fetchReadWriteTokenSettings()

publicUnaryCallSettings.Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse>fetchReadWriteTokenSettings()

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

Returns
Type Description
Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse>

getConnectionSettings()

publicUnaryCallSettings.Builder<GetConnectionRequest,Connection>getConnectionSettings()

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

Returns
Type Description
Builder<GetConnectionRequest,Connection>

getIamPolicySettings()

publicUnaryCallSettings.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()

publicUnaryCallSettings.Builder<GetRepositoryRequest,Repository>getRepositorySettings()

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

Returns
Type Description
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

publicRepositoryManagerStubSettings.BuildergetStubSettingsBuilder()
Returns
Type Description
RepositoryManagerStubSettings.Builder

listConnectionsSettings()

publicPagedCallSettings.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()

publicPagedCallSettings.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()

publicUnaryCallSettings.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()

publicUnaryCallSettings.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()

publicOperationCallSettings.Builder<UpdateConnectionRequest,Connection,OperationMetadata>updateConnectionOperationSettings()

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

Returns
Type Description
Builder<UpdateConnectionRequest,Connection,OperationMetadata>

updateConnectionSettings()

publicUnaryCallSettings.Builder<UpdateConnectionRequest,Operation>updateConnectionSettings()

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

Returns
Type Description
Builder<UpdateConnectionRequest,Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.