Class ArtifactRegistrySettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>
-
- com.google.devtools.artifactregistry.v1beta2.ArtifactRegistrySettings.Builder
-
- Enclosing class:
- ArtifactRegistrySettings
public static class ArtifactRegistrySettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>
Builder for ArtifactRegistrySettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ArtifactRegistrySettings settings)
protected
Builder(ArtifactRegistryStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactRegistrySettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ArtifactRegistrySettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata>
createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRepositoryRequest,com.google.longrunning.Operation>
createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTagRequest,Tag>
createTagSettings()
Returns the builder for the settings used for calls to createTag.com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata>
deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePackageRequest,com.google.longrunning.Operation>
deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRepositoryRequest,com.google.longrunning.Operation>
deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTagRequest,com.google.protobuf.Empty>
deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata>
deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteVersionRequest,com.google.longrunning.Operation>
deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFileRequest,File>
getFileSettings()
Returns the builder for the settings used for calls to getFile.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPackageRequest,Package>
getPackageSettings()
Returns the builder for the settings used for calls to getPackage.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings>
getProjectSettingsSettings()
Returns the builder for the settings used for calls to getProjectSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRepositoryRequest,Repository>
getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.ArtifactRegistryStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTagRequest,Tag>
getTagSettings()
Returns the builder for the settings used for calls to getTag.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVersionRequest,Version>
getVersionSettings()
Returns the builder for the settings used for calls to getVersion.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata>
importAptArtifactsOperationSettings()
Returns the builder for the settings used for calls to importAptArtifacts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAptArtifactsRequest,com.google.longrunning.Operation>
importAptArtifactsSettings()
Returns the builder for the settings used for calls to importAptArtifacts.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata>
importYumArtifactsOperationSettings()
Returns the builder for the settings used for calls to importYumArtifacts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportYumArtifactsRequest,com.google.longrunning.Operation>
importYumArtifactsSettings()
Returns the builder for the settings used for calls to importYumArtifacts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse>
listFilesSettings()
Returns the builder for the settings used for calls to listFiles.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse>
listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse>
listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse>
listTagsSettings()
Returns the builder for the settings used for calls to listTags.com.google.api.gax.rpc.PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse>
listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectSettingsRequest,ProjectSettings>
updateProjectSettingsSettings()
Returns the builder for the settings used for calls to updateProjectSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository>
updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTagRequest,Tag>
updateTagSettings()
Returns the builder for the settings used for calls to updateTag.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ArtifactRegistrySettings settings)
-
Builder
protected Builder(ArtifactRegistryStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ArtifactRegistrySettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
importAptArtifactsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAptArtifactsRequest,com.google.longrunning.Operation> importAptArtifactsSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
-
importAptArtifactsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
-
importYumArtifactsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportYumArtifactsRequest,com.google.longrunning.Operation> importYumArtifactsSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
-
importYumArtifactsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
-
listRepositoriesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
-
getRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.
-
createRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRepositoryRequest,com.google.longrunning.Operation> createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.
-
createRepositoryOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.
-
updateRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.
-
deleteRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRepositoryRequest,com.google.longrunning.Operation> deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.
-
deleteRepositoryOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata> deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.
-
listPackagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.
-
getPackageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPackageRequest,Package> getPackageSettings()
Returns the builder for the settings used for calls to getPackage.
-
deletePackageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePackageRequest,com.google.longrunning.Operation> deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.
-
deletePackageOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata> deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.
-
listVersionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
-
getVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
-
deleteVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteVersionRequest,com.google.longrunning.Operation> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
-
deleteVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata> deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.
-
listFilesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()
Returns the builder for the settings used for calls to listFiles.
-
getFileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFileRequest,File> getFileSettings()
Returns the builder for the settings used for calls to getFile.
-
listTagsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()
Returns the builder for the settings used for calls to listTags.
-
getTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTagRequest,Tag> getTagSettings()
Returns the builder for the settings used for calls to getTag.
-
createTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTagRequest,Tag> createTagSettings()
Returns the builder for the settings used for calls to createTag.
-
updateTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTagRequest,Tag> updateTagSettings()
Returns the builder for the settings used for calls to updateTag.
-
deleteTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTagRequest,com.google.protobuf.Empty> deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
getProjectSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsSettings()
Returns the builder for the settings used for calls to getProjectSettings.
-
updateProjectSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsSettings()
Returns the builder for the settings used for calls to updateProjectSettings.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public ArtifactRegistrySettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>
- Throws:
IOException
-
-