Class RepositoryManagerStubSettings.Builder (3.26.0)

public static class RepositoryManagerStubSettings.Builder extends StubSettings.Builder<RepositoryManagerStubSettings,RepositoryManagerStubSettings.Builder>

Builder for RepositoryManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RepositoryManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RepositoryManagerStubSettings settings)

protected Builder(RepositoryManagerStubSettings settings)
Parameter
NameDescription
settingsRepositoryManagerStubSettings

Methods

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

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RepositoryManagerStubSettings.Builder

batchCreateRepositoriesOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata>

batchCreateRepositoriesSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateRepositoriesRequest,Operation>

build()

public RepositoryManagerStubSettings build()
Returns
TypeDescription
RepositoryManagerStubSettings
Overrides
Exceptions
TypeDescription
IOException

createConnectionOperationSettings()

public OperationCallSettings.Builder<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationSettings()

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

Returns
TypeDescription
Builder<CreateConnectionRequest,Connection,OperationMetadata>

createConnectionSettings()

public UnaryCallSettings.Builder<CreateConnectionRequest,Operation> createConnectionSettings()

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

Returns
TypeDescription
Builder<CreateConnectionRequest,Operation>

createRepositoryOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRepositoryRequest,Repository,OperationMetadata>

createRepositorySettings()

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

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

Returns
TypeDescription
Builder<CreateRepositoryRequest,Operation>

deleteConnectionOperationSettings()

public OperationCallSettings.Builder<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationSettings()

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

Returns
TypeDescription
Builder<DeleteConnectionRequest,Empty,OperationMetadata>

deleteConnectionSettings()

public UnaryCallSettings.Builder<DeleteConnectionRequest,Operation> deleteConnectionSettings()

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

Returns
TypeDescription
Builder<DeleteConnectionRequest,Operation>

deleteRepositoryOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRepositoryRequest,Empty,OperationMetadata>

deleteRepositorySettings()

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

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

Returns
TypeDescription
Builder<DeleteRepositoryRequest,Operation>

fetchGitRefsSettings()

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

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

Returns
TypeDescription
Builder<FetchGitRefsRequest,FetchGitRefsResponse>

fetchLinkableRepositoriesSettings()

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

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

Returns
TypeDescription
Builder<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,FetchLinkableRepositoriesPagedResponse>

fetchReadTokenSettings()

public UnaryCallSettings.Builder<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenSettings()

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

Returns
TypeDescription
Builder<FetchReadTokenRequest,FetchReadTokenResponse>

fetchReadWriteTokenSettings()

public UnaryCallSettings.Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenSettings()

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

Returns
TypeDescription
Builder<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse>

getConnectionSettings()

public UnaryCallSettings.Builder<GetConnectionRequest,Connection> getConnectionSettings()

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

Returns
TypeDescription
Builder<GetConnectionRequest,Connection>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<GetRepositoryRequest,Repository>

listConnectionsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateConnectionOperationSettings()

public OperationCallSettings.Builder<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationSettings()

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

Returns
TypeDescription
Builder<UpdateConnectionRequest,Connection,OperationMetadata>

updateConnectionSettings()

public UnaryCallSettings.Builder<UpdateConnectionRequest,Operation> updateConnectionSettings()

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

Returns
TypeDescription
Builder<UpdateConnectionRequest,Operation>