public static class ArtifactRegistrySettings.Builder extends ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>
Builder for ArtifactRegistrySettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(ArtifactRegistrySettings settings)
Parameter
protected Builder(ArtifactRegistryStubSettings.Builder stubSettings)
Parameter
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.
Parameter
Returns
public ArtifactRegistrySettings build()
Returns
Overrides
Exceptions
public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.
Returns
public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.
Returns
public UnaryCallSettings.Builder<CreateTagRequest,Tag> createTagSettings()
Returns the builder for the settings used for calls to createTag.
Returns
public OperationCallSettings.Builder<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.
Returns
public UnaryCallSettings.Builder<DeletePackageRequest,Operation> deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.
Returns
public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.
Returns
public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.
Returns
public UnaryCallSettings.Builder<DeleteTagRequest,Empty> deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.
Returns
public OperationCallSettings.Builder<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.
Returns
public UnaryCallSettings.Builder<DeleteVersionRequest,Operation> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
Returns
public UnaryCallSettings.Builder<GetFileRequest,File> getFileSettings()
Returns the builder for the settings used for calls to getFile.
Returns
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.
Returns
public UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsSettings()
Returns the builder for the settings used for calls to getProjectSettings.
Returns
public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.
Returns
public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder()
Returns
public UnaryCallSettings.Builder<GetTagRequest,Tag> getTagSettings()
Returns the builder for the settings used for calls to getTag.
Returns
public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
Returns
public OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
Returns
public UnaryCallSettings.Builder<ImportAptArtifactsRequest,Operation> importAptArtifactsSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
Returns
public OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
Returns
public UnaryCallSettings.Builder<ImportYumArtifactsRequest,Operation> importYumArtifactsSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
Returns
public PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()
Returns the builder for the settings used for calls to listFiles.
Returns
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Returns
public PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.
Returns
public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
Returns
public PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()
Returns the builder for the settings used for calls to listTags.
Returns
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
Returns
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.
Returns
public UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.
Returns
public UnaryCallSettings.Builder<UpdateTagRequest,Tag> updateTagSettings()
Returns the builder for the settings used for calls to updateTag.
Returns