public static class ArtifactRegistrySettings.Builder extends ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>
Builder for ArtifactRegistrySettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(ArtifactRegistrySettings settings)
protected Builder(ArtifactRegistryStubSettings.Builder stubSettings)
Methods
public ArtifactRegistrySettings.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<BatchDeleteVersionsRequest,Empty,BatchDeleteVersionsMetadata> batchDeleteVersionsOperationSettings()
Returns the builder for the settings used for calls to batchDeleteVersions.
public UnaryCallSettings.Builder<BatchDeleteVersionsRequest,Operation> batchDeleteVersionsSettings()
Returns the builder for the settings used for calls to batchDeleteVersions.
public ArtifactRegistrySettings build()
Overrides
public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
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 UnaryCallSettings.Builder<CreateTagRequest,Tag> createTagSettings()
Returns the builder for the settings used for calls to createTag.
public OperationCallSettings.Builder<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.
public UnaryCallSettings.Builder<DeletePackageRequest,Operation> deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.
public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()
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<DeleteTagRequest,Empty> deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.
public OperationCallSettings.Builder<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.
public UnaryCallSettings.Builder<DeleteVersionRequest,Operation> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
public UnaryCallSettings.Builder<GetDockerImageRequest,DockerImage> getDockerImageSettings()
Returns the builder for the settings used for calls to getDockerImage.
public UnaryCallSettings.Builder<GetFileRequest,File> getFileSettings()
Returns the builder for the settings used for calls to getFile.
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<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
---|
Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
public UnaryCallSettings.Builder<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactSettings()
Returns the builder for the settings used for calls to getMavenArtifact.
public UnaryCallSettings.Builder<GetNpmPackageRequest,NpmPackage> getNpmPackageSettings()
Returns the builder for the settings used for calls to getNpmPackage.
public UnaryCallSettings.Builder<GetPackageRequest,Package> getPackageSettings()
Returns the builder for the settings used for calls to getPackage.
public UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsSettings()
Returns the builder for the settings used for calls to getProjectSettings.
public UnaryCallSettings.Builder<GetPythonPackageRequest,PythonPackage> getPythonPackageSettings()
Returns the builder for the settings used for calls to getPythonPackage.
public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.
public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder()
public UnaryCallSettings.Builder<GetTagRequest,Tag> getTagSettings()
Returns the builder for the settings used for calls to getTag.
public UnaryCallSettings.Builder<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigSettings()
Returns the builder for the settings used for calls to getVPCSCConfig.
public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
public OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
public UnaryCallSettings.Builder<ImportAptArtifactsRequest,Operation> importAptArtifactsSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
public OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
public UnaryCallSettings.Builder<ImportYumArtifactsRequest,Operation> importYumArtifactsSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
public PagedCallSettings.Builder<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesSettings()
Returns the builder for the settings used for calls to listDockerImages.
public PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()
Returns the builder for the settings used for calls to listFiles.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings.Builder<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> listMavenArtifactsSettings()
Returns the builder for the settings used for calls to listMavenArtifacts.
public PagedCallSettings.Builder<ListNpmPackagesRequest,ListNpmPackagesResponse,ArtifactRegistryClient.ListNpmPackagesPagedResponse> listNpmPackagesSettings()
Returns the builder for the settings used for calls to listNpmPackages.
public PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.
public PagedCallSettings.Builder<ListPythonPackagesRequest,ListPythonPackagesResponse,ArtifactRegistryClient.ListPythonPackagesPagedResponse> listPythonPackagesSettings()
Returns the builder for the settings used for calls to listPythonPackages.
public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
public PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()
Returns the builder for the settings used for calls to listTags.
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
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 UnaryCallSettings.Builder<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsSettings()
Returns the builder for the settings used for calls to updateProjectSettings.
public UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.
public UnaryCallSettings.Builder<UpdateTagRequest,Tag> updateTagSettings()
Returns the builder for the settings used for calls to updateTag.
public UnaryCallSettings.Builder<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigSettings()
Returns the builder for the settings used for calls to updateVPCSCConfig.