Send feedback
Class ArtifactRegistryStubSettings.Builder (1.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.54.0 keyboard_arrow_down
public static class ArtifactRegistryStubSettings . Builder extends StubSettings . Builder<ArtifactRegistryStubSettings , ArtifactRegistryStubSettings . Builder >
Builder for ArtifactRegistryStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
protected Builder ( ArtifactRegistryStubSettings settings )
Methods
public ArtifactRegistryStubSettings . 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 ArtifactRegistryStubSettings 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<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<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<GetRepositoryRequest , Repository > getRepositorySettings ()
Returns the builder for the settings used for calls to getRepository.
public UnaryCallSettings . Builder<GetTagRequest , Tag > getTagSettings ()
Returns the builder for the settings used for calls to getTag.
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<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<ListPackagesRequest , ListPackagesResponse , ArtifactRegistryClient . ListPackagesPagedResponse > listPackagesSettings ()
Returns the builder for the settings used for calls to listPackages.
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 ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type
Description
com.google.common.collect.ImmutableList <Builder <? ,? >>
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]