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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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 UnaryCallSettings . Builder<FetchGitRefsRequest , FetchGitRefsResponse > fetchGitRefsSettings ()
Returns the builder for the settings used for calls to fetchGitRefs.
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 String getEndpoint ()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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 ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.