@Generated(value="by gapic-generator-java") public class RepositoryManagerSettings extends com.google.api.gax.rpc.ClientSettings<RepositoryManagerSettings>
RepositoryManagerClient.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getConnection to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
RepositoryManagerSettings.Builder repositoryManagerSettingsBuilder =
RepositoryManagerSettings.newBuilder();
repositoryManagerSettingsBuilder
.getConnectionSettings()
.setRetrySettings(
repositoryManagerSettingsBuilder
.getConnectionSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RepositoryManagerSettings repositoryManagerSettings = repositoryManagerSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
RepositoryManagerSettings.Builder
Builder for RepositoryManagerSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
RepositoryManagerSettings(RepositoryManagerSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> |
batchCreateRepositoriesOperationSettings()
Returns the object with the settings used for calls to batchCreateRepositories.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchCreateRepositoriesRequest,com.google.longrunning.Operation> |
batchCreateRepositoriesSettings()
Returns the object with the settings used for calls to batchCreateRepositories.
|
static RepositoryManagerSettings |
create(RepositoryManagerStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateConnectionRequest,Connection,OperationMetadata> |
createConnectionOperationSettings()
Returns the object with the settings used for calls to createConnection.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateConnectionRequest,com.google.longrunning.Operation> |
createConnectionSettings()
Returns the object with the settings used for calls to createConnection.
|
com.google.api.gax.rpc.OperationCallSettings<CreateRepositoryRequest,Repository,OperationMetadata> |
createRepositoryOperationSettings()
Returns the object with the settings used for calls to createRepository.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateRepositoryRequest,com.google.longrunning.Operation> |
createRepositorySettings()
Returns the object with the settings used for calls to createRepository.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteConnectionRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteConnectionOperationSettings()
Returns the object with the settings used for calls to deleteConnection.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteConnectionRequest,com.google.longrunning.Operation> |
deleteConnectionSettings()
Returns the object with the settings used for calls to deleteConnection.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteRepositoryOperationSettings()
Returns the object with the settings used for calls to deleteRepository.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteRepositoryRequest,com.google.longrunning.Operation> |
deleteRepositorySettings()
Returns the object with the settings used for calls to deleteRepository.
|
com.google.api.gax.rpc.UnaryCallSettings<FetchGitRefsRequest,FetchGitRefsResponse> |
fetchGitRefsSettings()
Returns the object with the settings used for calls to fetchGitRefs.
|
com.google.api.gax.rpc.PagedCallSettings<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> |
fetchLinkableRepositoriesSettings()
Returns the object with the settings used for calls to fetchLinkableRepositories.
|
com.google.api.gax.rpc.UnaryCallSettings<FetchReadTokenRequest,FetchReadTokenResponse> |
fetchReadTokenSettings()
Returns the object with the settings used for calls to fetchReadToken.
|
com.google.api.gax.rpc.UnaryCallSettings<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> |
fetchReadWriteTokenSettings()
Returns the object with the settings used for calls to fetchReadWriteToken.
|
com.google.api.gax.rpc.UnaryCallSettings<GetConnectionRequest,Connection> |
getConnectionSettings()
Returns the object with the settings used for calls to getConnection.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<GetRepositoryRequest,Repository> |
getRepositorySettings()
Returns the object with the settings used for calls to getRepository.
|
com.google.api.gax.rpc.PagedCallSettings<ListConnectionsRequest,ListConnectionsResponse,RepositoryManagerClient.ListConnectionsPagedResponse> |
listConnectionsSettings()
Returns the object with the settings used for calls to listConnections.
|
com.google.api.gax.rpc.PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,RepositoryManagerClient.ListRepositoriesPagedResponse> |
listRepositoriesSettings()
Returns the object with the settings used for calls to listRepositories.
|
static RepositoryManagerSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static RepositoryManagerSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static RepositoryManagerSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
RepositoryManagerSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateConnectionRequest,Connection,OperationMetadata> |
updateConnectionOperationSettings()
Returns the object with the settings used for calls to updateConnection.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateConnectionRequest,com.google.longrunning.Operation> |
updateConnectionSettings()
Returns the object with the settings used for calls to updateConnection.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected RepositoryManagerSettings(RepositoryManagerSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateConnectionRequest,com.google.longrunning.Operation> createConnectionSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetConnectionRequest,Connection> getConnectionSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListConnectionsRequest,ListConnectionsResponse,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateConnectionRequest,com.google.longrunning.Operation> updateConnectionSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteConnectionRequest,com.google.longrunning.Operation> deleteConnectionSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteConnectionRequest,com.google.protobuf.Empty,OperationMetadata> deleteConnectionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateRepositoryRequest,com.google.longrunning.Operation> createRepositorySettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchCreateRepositoriesRequest,com.google.longrunning.Operation> batchCreateRepositoriesSettings()
public com.google.api.gax.rpc.OperationCallSettings<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetRepositoryRequest,Repository> getRepositorySettings()
public com.google.api.gax.rpc.PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteRepositoryRequest,com.google.longrunning.Operation> deleteRepositorySettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata> deleteRepositoryOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenSettings()
public com.google.api.gax.rpc.UnaryCallSettings<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenSettings()
public com.google.api.gax.rpc.PagedCallSettings<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public static final RepositoryManagerSettings create(RepositoryManagerStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static RepositoryManagerSettings.Builder newBuilder()
public static RepositoryManagerSettings.Builder newHttpJsonBuilder()
public static RepositoryManagerSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public RepositoryManagerSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<RepositoryManagerSettings>Copyright © 2024 Google LLC. All rights reserved.