Class ArtifactRegistryStubSettings.Builder (1.53.0)

public static class ArtifactRegistryStubSettings.Builder extends StubSettings.Builder<ArtifactRegistryStubSettings,ArtifactRegistryStubSettings.Builder>

Builder for ArtifactRegistryStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ArtifactRegistryStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ArtifactRegistryStubSettings settings)

protected Builder(ArtifactRegistryStubSettings settings)
Parameter
Name Description
settings ArtifactRegistryStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ArtifactRegistryStubSettings.Builder

batchDeleteVersionsOperationSettings()

public OperationCallSettings.Builder<BatchDeleteVersionsRequest,Empty,BatchDeleteVersionsMetadata> batchDeleteVersionsOperationSettings()

Returns the builder for the settings used for calls to batchDeleteVersions.

Returns
Type Description
Builder<BatchDeleteVersionsRequest,Empty,BatchDeleteVersionsMetadata>

batchDeleteVersionsSettings()

public UnaryCallSettings.Builder<BatchDeleteVersionsRequest,Operation> batchDeleteVersionsSettings()

Returns the builder for the settings used for calls to batchDeleteVersions.

Returns
Type Description
Builder<BatchDeleteVersionsRequest,Operation>

build()

public ArtifactRegistryStubSettings build()
Returns
Type Description
ArtifactRegistryStubSettings
Overrides
Exceptions
Type Description
IOException

createAttachmentOperationSettings()

public OperationCallSettings.Builder<CreateAttachmentRequest,Attachment,OperationMetadata> createAttachmentOperationSettings()

Returns the builder for the settings used for calls to createAttachment.

Returns
Type Description
Builder<CreateAttachmentRequest,Attachment,OperationMetadata>

createAttachmentSettings()

public UnaryCallSettings.Builder<CreateAttachmentRequest,Operation> createAttachmentSettings()

Returns the builder for the settings used for calls to createAttachment.

Returns
Type Description
Builder<CreateAttachmentRequest,Operation>

createRepositoryOperationSettings()

public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()

Returns the builder for the settings used for calls to createRepository.

Returns
Type Description
Builder<CreateRepositoryRequest,Repository,OperationMetadata>

createRepositorySettings()

public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()

Returns the builder for the settings used for calls to createRepository.

Returns
Type Description
Builder<CreateRepositoryRequest,Operation>

createRuleSettings()

public UnaryCallSettings.Builder<CreateRuleRequest,Rule> createRuleSettings()

Returns the builder for the settings used for calls to createRule.

Returns
Type Description
Builder<CreateRuleRequest,Rule>

createTagSettings()

public UnaryCallSettings.Builder<CreateTagRequest,Tag> createTagSettings()

Returns the builder for the settings used for calls to createTag.

Returns
Type Description
Builder<CreateTagRequest,Tag>

deleteAttachmentOperationSettings()

public OperationCallSettings.Builder<DeleteAttachmentRequest,Empty,OperationMetadata> deleteAttachmentOperationSettings()

Returns the builder for the settings used for calls to deleteAttachment.

Returns
Type Description
Builder<DeleteAttachmentRequest,Empty,OperationMetadata>

deleteAttachmentSettings()

public UnaryCallSettings.Builder<DeleteAttachmentRequest,Operation> deleteAttachmentSettings()

Returns the builder for the settings used for calls to deleteAttachment.

Returns
Type Description
Builder<DeleteAttachmentRequest,Operation>

deleteFileOperationSettings()

public OperationCallSettings.Builder<DeleteFileRequest,Empty,OperationMetadata> deleteFileOperationSettings()

Returns the builder for the settings used for calls to deleteFile.

Returns
Type Description
Builder<DeleteFileRequest,Empty,OperationMetadata>

deleteFileSettings()

public UnaryCallSettings.Builder<DeleteFileRequest,Operation> deleteFileSettings()

Returns the builder for the settings used for calls to deleteFile.

Returns
Type Description
Builder<DeleteFileRequest,Operation>

deletePackageOperationSettings()

public OperationCallSettings.Builder<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationSettings()

Returns the builder for the settings used for calls to deletePackage.

Returns
Type Description
Builder<DeletePackageRequest,Empty,OperationMetadata>

deletePackageSettings()

public UnaryCallSettings.Builder<DeletePackageRequest,Operation> deletePackageSettings()

Returns the builder for the settings used for calls to deletePackage.

Returns
Type Description
Builder<DeletePackageRequest,Operation>

deleteRepositoryOperationSettings()

public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()

Returns the builder for the settings used for calls to deleteRepository.

Returns
Type Description
Builder<DeleteRepositoryRequest,Empty,OperationMetadata>

deleteRepositorySettings()

public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()

Returns the builder for the settings used for calls to deleteRepository.

Returns
Type Description
Builder<DeleteRepositoryRequest,Operation>

deleteRuleSettings()

public UnaryCallSettings.Builder<DeleteRuleRequest,Empty> deleteRuleSettings()

Returns the builder for the settings used for calls to deleteRule.

Returns
Type Description
Builder<DeleteRuleRequest,Empty>

deleteTagSettings()

public UnaryCallSettings.Builder<DeleteTagRequest,Empty> deleteTagSettings()

Returns the builder for the settings used for calls to deleteTag.

Returns
Type Description
Builder<DeleteTagRequest,Empty>

deleteVersionOperationSettings()

public OperationCallSettings.Builder<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationSettings()

Returns the builder for the settings used for calls to deleteVersion.

Returns
Type Description
Builder<DeleteVersionRequest,Empty,OperationMetadata>

deleteVersionSettings()

public UnaryCallSettings.Builder<DeleteVersionRequest,Operation> deleteVersionSettings()

Returns the builder for the settings used for calls to deleteVersion.

Returns
Type Description
Builder<DeleteVersionRequest,Operation>

getAttachmentSettings()

public UnaryCallSettings.Builder<GetAttachmentRequest,Attachment> getAttachmentSettings()

Returns the builder for the settings used for calls to getAttachment.

Returns
Type Description
Builder<GetAttachmentRequest,Attachment>

getDockerImageSettings()

public UnaryCallSettings.Builder<GetDockerImageRequest,DockerImage> getDockerImageSettings()

Returns the builder for the settings used for calls to getDockerImage.

Returns
Type Description
Builder<GetDockerImageRequest,DockerImage>

getFileSettings()

public UnaryCallSettings.Builder<GetFileRequest,File> getFileSettings()

Returns the builder for the settings used for calls to getFile.

Returns
Type Description
Builder<GetFileRequest,File>

getIamPolicySettings()

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>

getLocationSettings()

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>

getMavenArtifactSettings()

public UnaryCallSettings.Builder<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactSettings()

Returns the builder for the settings used for calls to getMavenArtifact.

Returns
Type Description
Builder<GetMavenArtifactRequest,MavenArtifact>

getNpmPackageSettings()

public UnaryCallSettings.Builder<GetNpmPackageRequest,NpmPackage> getNpmPackageSettings()

Returns the builder for the settings used for calls to getNpmPackage.

Returns
Type Description
Builder<GetNpmPackageRequest,NpmPackage>

getPackageSettings()

public UnaryCallSettings.Builder<GetPackageRequest,Package> getPackageSettings()

Returns the builder for the settings used for calls to getPackage.

Returns
Type Description
Builder<GetPackageRequest,Package>

getProjectSettingsSettings()

public UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsSettings()

Returns the builder for the settings used for calls to getProjectSettings.

Returns
Type Description
Builder<GetProjectSettingsRequest,ProjectSettings>

getPythonPackageSettings()

public UnaryCallSettings.Builder<GetPythonPackageRequest,PythonPackage> getPythonPackageSettings()

Returns the builder for the settings used for calls to getPythonPackage.

Returns
Type Description
Builder<GetPythonPackageRequest,PythonPackage>

getRepositorySettings()

public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()

Returns the builder for the settings used for calls to getRepository.

Returns
Type Description
Builder<GetRepositoryRequest,Repository>

getRuleSettings()

public UnaryCallSettings.Builder<GetRuleRequest,Rule> getRuleSettings()

Returns the builder for the settings used for calls to getRule.

Returns
Type Description
Builder<GetRuleRequest,Rule>

getTagSettings()

public UnaryCallSettings.Builder<GetTagRequest,Tag> getTagSettings()

Returns the builder for the settings used for calls to getTag.

Returns
Type Description
Builder<GetTagRequest,Tag>

getVPCSCConfigSettings()

public UnaryCallSettings.Builder<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigSettings()

Returns the builder for the settings used for calls to getVPCSCConfig.

Returns
Type Description
Builder<GetVPCSCConfigRequest,VPCSCConfig>

getVersionSettings()

public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()

Returns the builder for the settings used for calls to getVersion.

Returns
Type Description
Builder<GetVersionRequest,Version>

importAptArtifactsOperationSettings()

public OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationSettings()

Returns the builder for the settings used for calls to importAptArtifacts.

Returns
Type Description
Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata>

importAptArtifactsSettings()

public UnaryCallSettings.Builder<ImportAptArtifactsRequest,Operation> importAptArtifactsSettings()

Returns the builder for the settings used for calls to importAptArtifacts.

Returns
Type Description
Builder<ImportAptArtifactsRequest,Operation>

importYumArtifactsOperationSettings()

public OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationSettings()

Returns the builder for the settings used for calls to importYumArtifacts.

Returns
Type Description
Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata>

importYumArtifactsSettings()

public UnaryCallSettings.Builder<ImportYumArtifactsRequest,Operation> importYumArtifactsSettings()

Returns the builder for the settings used for calls to importYumArtifacts.

Returns
Type Description
Builder<ImportYumArtifactsRequest,Operation>

listAttachmentsSettings()

public PagedCallSettings.Builder<ListAttachmentsRequest,ListAttachmentsResponse,ArtifactRegistryClient.ListAttachmentsPagedResponse> listAttachmentsSettings()

Returns the builder for the settings used for calls to listAttachments.

Returns
Type Description
Builder<ListAttachmentsRequest,ListAttachmentsResponse,ListAttachmentsPagedResponse>

listDockerImagesSettings()

public PagedCallSettings.Builder<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesSettings()

Returns the builder for the settings used for calls to listDockerImages.

Returns
Type Description
Builder<ListDockerImagesRequest,ListDockerImagesResponse,ListDockerImagesPagedResponse>

listFilesSettings()

public PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()

Returns the builder for the settings used for calls to listFiles.

Returns
Type Description
Builder<ListFilesRequest,ListFilesResponse,ListFilesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listMavenArtifactsSettings()

public PagedCallSettings.Builder<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> listMavenArtifactsSettings()

Returns the builder for the settings used for calls to listMavenArtifacts.

Returns
Type Description
Builder<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ListMavenArtifactsPagedResponse>

listNpmPackagesSettings()

public PagedCallSettings.Builder<ListNpmPackagesRequest,ListNpmPackagesResponse,ArtifactRegistryClient.ListNpmPackagesPagedResponse> listNpmPackagesSettings()

Returns the builder for the settings used for calls to listNpmPackages.

Returns
Type Description
Builder<ListNpmPackagesRequest,ListNpmPackagesResponse,ListNpmPackagesPagedResponse>

listPackagesSettings()

public PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()

Returns the builder for the settings used for calls to listPackages.

Returns
Type Description
Builder<ListPackagesRequest,ListPackagesResponse,ListPackagesPagedResponse>

listPythonPackagesSettings()

public PagedCallSettings.Builder<ListPythonPackagesRequest,ListPythonPackagesResponse,ArtifactRegistryClient.ListPythonPackagesPagedResponse> listPythonPackagesSettings()

Returns the builder for the settings used for calls to listPythonPackages.

Returns
Type Description
Builder<ListPythonPackagesRequest,ListPythonPackagesResponse,ListPythonPackagesPagedResponse>

listRepositoriesSettings()

public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()

Returns the builder for the settings used for calls to listRepositories.

Returns
Type Description
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>

listRulesSettings()

public PagedCallSettings.Builder<ListRulesRequest,ListRulesResponse,ArtifactRegistryClient.ListRulesPagedResponse> listRulesSettings()

Returns the builder for the settings used for calls to listRules.

Returns
Type Description
Builder<ListRulesRequest,ListRulesResponse,ListRulesPagedResponse>

listTagsSettings()

public PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()

Returns the builder for the settings used for calls to listTags.

Returns
Type Description
Builder<ListTagsRequest,ListTagsResponse,ListTagsPagedResponse>

listVersionsSettings()

public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()

Returns the builder for the settings used for calls to listVersions.

Returns
Type Description
Builder<ListVersionsRequest,ListVersionsResponse,ListVersionsPagedResponse>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateFileSettings()

public UnaryCallSettings.Builder<UpdateFileRequest,File> updateFileSettings()

Returns the builder for the settings used for calls to updateFile.

Returns
Type Description
Builder<UpdateFileRequest,File>

updatePackageSettings()

public UnaryCallSettings.Builder<UpdatePackageRequest,Package> updatePackageSettings()

Returns the builder for the settings used for calls to updatePackage.

Returns
Type Description
Builder<UpdatePackageRequest,Package>

updateProjectSettingsSettings()

public UnaryCallSettings.Builder<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsSettings()

Returns the builder for the settings used for calls to updateProjectSettings.

Returns
Type Description
Builder<UpdateProjectSettingsRequest,ProjectSettings>

updateRepositorySettings()

public UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()

Returns the builder for the settings used for calls to updateRepository.

Returns
Type Description
Builder<UpdateRepositoryRequest,Repository>

updateRuleSettings()

public UnaryCallSettings.Builder<UpdateRuleRequest,Rule> updateRuleSettings()

Returns the builder for the settings used for calls to updateRule.

Returns
Type Description
Builder<UpdateRuleRequest,Rule>

updateTagSettings()

public UnaryCallSettings.Builder<UpdateTagRequest,Tag> updateTagSettings()

Returns the builder for the settings used for calls to updateTag.

Returns
Type Description
Builder<UpdateTagRequest,Tag>

updateVPCSCConfigSettings()

public UnaryCallSettings.Builder<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigSettings()

Returns the builder for the settings used for calls to updateVPCSCConfig.

Returns
Type Description
Builder<UpdateVPCSCConfigRequest,VPCSCConfig>

updateVersionSettings()

public UnaryCallSettings.Builder<UpdateVersionRequest,Version> updateVersionSettings()

Returns the builder for the settings used for calls to updateVersion.

Returns
Type Description
Builder<UpdateVersionRequest,Version>