@Generated(value="by gapic-generator-java") public class ArtifactRegistrySettings extends com.google.api.gax.rpc.ClientSettings<ArtifactRegistrySettings>
ArtifactRegistryClient.
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 getDockerImage 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
ArtifactRegistrySettings.Builder artifactRegistrySettingsBuilder =
ArtifactRegistrySettings.newBuilder();
artifactRegistrySettingsBuilder
.getDockerImageSettings()
.setRetrySettings(
artifactRegistrySettingsBuilder
.getDockerImageSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ArtifactRegistrySettings artifactRegistrySettings = artifactRegistrySettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ArtifactRegistrySettings.Builder
Builder for ArtifactRegistrySettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ArtifactRegistrySettings(ArtifactRegistrySettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<BatchDeleteVersionsRequest,com.google.protobuf.Empty,BatchDeleteVersionsMetadata> |
batchDeleteVersionsOperationSettings()
Returns the object with the settings used for calls to batchDeleteVersions.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchDeleteVersionsRequest,com.google.longrunning.Operation> |
batchDeleteVersionsSettings()
Returns the object with the settings used for calls to batchDeleteVersions.
|
static ArtifactRegistrySettings |
create(ArtifactRegistryStubSettings stub) |
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.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateTagRequest,Tag> |
createTagSettings()
Returns the object with the settings used for calls to createTag.
|
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<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata> |
deletePackageOperationSettings()
Returns the object with the settings used for calls to deletePackage.
|
com.google.api.gax.rpc.UnaryCallSettings<DeletePackageRequest,com.google.longrunning.Operation> |
deletePackageSettings()
Returns the object with the settings used for calls to deletePackage.
|
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<DeleteTagRequest,com.google.protobuf.Empty> |
deleteTagSettings()
Returns the object with the settings used for calls to deleteTag.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteVersionOperationSettings()
Returns the object with the settings used for calls to deleteVersion.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteVersionRequest,com.google.longrunning.Operation> |
deleteVersionSettings()
Returns the object with the settings used for calls to deleteVersion.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDockerImageRequest,DockerImage> |
getDockerImageSettings()
Returns the object with the settings used for calls to getDockerImage.
|
com.google.api.gax.rpc.UnaryCallSettings<GetFileRequest,File> |
getFileSettings()
Returns the object with the settings used for calls to getFile.
|
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<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the object with the settings used for calls to getLocation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetMavenArtifactRequest,MavenArtifact> |
getMavenArtifactSettings()
Returns the object with the settings used for calls to getMavenArtifact.
|
com.google.api.gax.rpc.UnaryCallSettings<GetNpmPackageRequest,NpmPackage> |
getNpmPackageSettings()
Returns the object with the settings used for calls to getNpmPackage.
|
com.google.api.gax.rpc.UnaryCallSettings<GetPackageRequest,Package> |
getPackageSettings()
Returns the object with the settings used for calls to getPackage.
|
com.google.api.gax.rpc.UnaryCallSettings<GetProjectSettingsRequest,ProjectSettings> |
getProjectSettingsSettings()
Returns the object with the settings used for calls to getProjectSettings.
|
com.google.api.gax.rpc.UnaryCallSettings<GetPythonPackageRequest,PythonPackage> |
getPythonPackageSettings()
Returns the object with the settings used for calls to getPythonPackage.
|
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.UnaryCallSettings<GetTagRequest,Tag> |
getTagSettings()
Returns the object with the settings used for calls to getTag.
|
com.google.api.gax.rpc.UnaryCallSettings<GetVersionRequest,Version> |
getVersionSettings()
Returns the object with the settings used for calls to getVersion.
|
com.google.api.gax.rpc.UnaryCallSettings<GetVPCSCConfigRequest,VPCSCConfig> |
getVPCSCConfigSettings()
Returns the object with the settings used for calls to getVPCSCConfig.
|
com.google.api.gax.rpc.OperationCallSettings<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> |
importAptArtifactsOperationSettings()
Returns the object with the settings used for calls to importAptArtifacts.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportAptArtifactsRequest,com.google.longrunning.Operation> |
importAptArtifactsSettings()
Returns the object with the settings used for calls to importAptArtifacts.
|
com.google.api.gax.rpc.OperationCallSettings<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> |
importYumArtifactsOperationSettings()
Returns the object with the settings used for calls to importYumArtifacts.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportYumArtifactsRequest,com.google.longrunning.Operation> |
importYumArtifactsSettings()
Returns the object with the settings used for calls to importYumArtifacts.
|
com.google.api.gax.rpc.PagedCallSettings<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse> |
listDockerImagesSettings()
Returns the object with the settings used for calls to listDockerImages.
|
com.google.api.gax.rpc.PagedCallSettings<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> |
listFilesSettings()
Returns the object with the settings used for calls to listFiles.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
|
com.google.api.gax.rpc.PagedCallSettings<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> |
listMavenArtifactsSettings()
Returns the object with the settings used for calls to listMavenArtifacts.
|
com.google.api.gax.rpc.PagedCallSettings<ListNpmPackagesRequest,ListNpmPackagesResponse,ArtifactRegistryClient.ListNpmPackagesPagedResponse> |
listNpmPackagesSettings()
Returns the object with the settings used for calls to listNpmPackages.
|
com.google.api.gax.rpc.PagedCallSettings<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> |
listPackagesSettings()
Returns the object with the settings used for calls to listPackages.
|
com.google.api.gax.rpc.PagedCallSettings<ListPythonPackagesRequest,ListPythonPackagesResponse,ArtifactRegistryClient.ListPythonPackagesPagedResponse> |
listPythonPackagesSettings()
Returns the object with the settings used for calls to listPythonPackages.
|
com.google.api.gax.rpc.PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> |
listRepositoriesSettings()
Returns the object with the settings used for calls to listRepositories.
|
com.google.api.gax.rpc.PagedCallSettings<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> |
listTagsSettings()
Returns the object with the settings used for calls to listTags.
|
com.google.api.gax.rpc.PagedCallSettings<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> |
listVersionsSettings()
Returns the object with the settings used for calls to listVersions.
|
static ArtifactRegistrySettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static ArtifactRegistrySettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static ArtifactRegistrySettings.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.
|
ArtifactRegistrySettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateProjectSettingsRequest,ProjectSettings> |
updateProjectSettingsSettings()
Returns the object with the settings used for calls to updateProjectSettings.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateRepositoryRequest,Repository> |
updateRepositorySettings()
Returns the object with the settings used for calls to updateRepository.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateTagRequest,Tag> |
updateTagSettings()
Returns the object with the settings used for calls to updateTag.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateVPCSCConfigRequest,VPCSCConfig> |
updateVPCSCConfigSettings()
Returns the object with the settings used for calls to updateVPCSCConfig.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected ArtifactRegistrySettings(ArtifactRegistrySettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.PagedCallSettings<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDockerImageRequest,DockerImage> getDockerImageSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> listMavenArtifactsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListNpmPackagesRequest,ListNpmPackagesResponse,ArtifactRegistryClient.ListNpmPackagesPagedResponse> listNpmPackagesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetNpmPackageRequest,NpmPackage> getNpmPackageSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListPythonPackagesRequest,ListPythonPackagesResponse,ArtifactRegistryClient.ListPythonPackagesPagedResponse> listPythonPackagesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetPythonPackageRequest,PythonPackage> getPythonPackageSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ImportAptArtifactsRequest,com.google.longrunning.Operation> importAptArtifactsSettings()
public com.google.api.gax.rpc.OperationCallSettings<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ImportYumArtifactsRequest,com.google.longrunning.Operation> importYumArtifactsSettings()
public com.google.api.gax.rpc.OperationCallSettings<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetRepositoryRequest,Repository> getRepositorySettings()
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<UpdateRepositoryRequest,Repository> updateRepositorySettings()
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.PagedCallSettings<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetPackageRequest,Package> getPackageSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeletePackageRequest,com.google.longrunning.Operation> deletePackageSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata> deletePackageOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetVersionRequest,Version> getVersionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteVersionRequest,com.google.longrunning.Operation> deleteVersionSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata> deleteVersionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchDeleteVersionsRequest,com.google.longrunning.Operation> batchDeleteVersionsSettings()
public com.google.api.gax.rpc.OperationCallSettings<BatchDeleteVersionsRequest,com.google.protobuf.Empty,BatchDeleteVersionsMetadata> batchDeleteVersionsOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetFileRequest,File> getFileSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetTagRequest,Tag> getTagSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateTagRequest,Tag> createTagSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagRequest,Tag> updateTagSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagRequest,com.google.protobuf.Empty> deleteTagSettings()
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 com.google.api.gax.rpc.UnaryCallSettings<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public static final ArtifactRegistrySettings create(ArtifactRegistryStubSettings 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 ArtifactRegistrySettings.Builder newBuilder()
public static ArtifactRegistrySettings.Builder newHttpJsonBuilder()
public static ArtifactRegistrySettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public ArtifactRegistrySettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<ArtifactRegistrySettings>Copyright © 2024 Google LLC. All rights reserved.