Class ArtifactRegistrySettings.Builder (1.54.0)

public static class ArtifactRegistrySettings.Builder extends ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>

Builder for ArtifactRegistrySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ArtifactRegistrySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ArtifactRegistrySettings settings)

protected Builder(ArtifactRegistrySettings settings)
Parameter
Name Description
settings ArtifactRegistrySettings

Builder(ArtifactRegistryStubSettings.Builder stubSettings)

protected Builder(ArtifactRegistryStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ArtifactRegistryStubSettings.Builder

Methods

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

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ArtifactRegistrySettings.Builder

build()

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

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>

createTagSettings()

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

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

Returns
Type Description
Builder<CreateTagRequest,Tag>

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>

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>

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>

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>

getRepositorySettings()

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

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

Returns
Type Description
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ArtifactRegistryStubSettings.Builder

getTagSettings()

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

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

Returns
Type Description
Builder<GetTagRequest,Tag>

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>

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>

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>

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>

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>

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>

updateTagSettings()

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

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

Returns
Type Description
Builder<UpdateTagRequest,Tag>