Class ArtifactRegistrySettings.Builder (1.2.5)

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
NameDescription
clientContextClientContext

Builder(ArtifactRegistrySettings settings)

protected Builder(ArtifactRegistrySettings settings)
Parameter
NameDescription
settingsArtifactRegistrySettings

Builder(ArtifactRegistryStubSettings.Builder stubSettings)

protected Builder(ArtifactRegistryStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsArtifactRegistryStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ArtifactRegistrySettings.Builder

build()

public ArtifactRegistrySettings build()
Returns
TypeDescription
ArtifactRegistrySettings
Overrides Exceptions
TypeDescription
IOException

createRepositoryOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRepositoryRequest,Repository,OperationMetadata>

createRepositorySettings()

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

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

Returns
TypeDescription
Builder<CreateRepositoryRequest,Operation>

createTagSettings()

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

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

Returns
TypeDescription
Builder<CreateTagRequest,Tag>

deletePackageOperationSettings()

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

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

Returns
TypeDescription
Builder<DeletePackageRequest,Empty,OperationMetadata>

deletePackageSettings()

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

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

Returns
TypeDescription
Builder<DeletePackageRequest,Operation>

deleteRepositoryOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRepositoryRequest,Empty,OperationMetadata>

deleteRepositorySettings()

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

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

Returns
TypeDescription
Builder<DeleteRepositoryRequest,Operation>

deleteTagSettings()

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

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

Returns
TypeDescription
Builder<DeleteTagRequest,Empty>

deleteVersionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteVersionRequest,Empty,OperationMetadata>

deleteVersionSettings()

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

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

Returns
TypeDescription
Builder<DeleteVersionRequest,Operation>

getDockerImageSettings()

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

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

Returns
TypeDescription
Builder<GetDockerImageRequest,DockerImage>

getFileSettings()

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

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

Returns
TypeDescription
Builder<GetFileRequest,File>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getPackageSettings()

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

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

Returns
TypeDescription
Builder<GetPackageRequest,Package>

getProjectSettingsSettings()

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

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

Returns
TypeDescription
Builder<GetProjectSettingsRequest,ProjectSettings>

getRepositorySettings()

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

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

Returns
TypeDescription
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ArtifactRegistryStubSettings.Builder

getTagSettings()

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

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

Returns
TypeDescription
Builder<GetTagRequest,Tag>

getVersionSettings()

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

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

Returns
TypeDescription
Builder<GetVersionRequest,Version>

importAptArtifactsOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata>

importAptArtifactsSettings()

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

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

Returns
TypeDescription
Builder<ImportAptArtifactsRequest,Operation>

importYumArtifactsOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata>

importYumArtifactsSettings()

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

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

Returns
TypeDescription
Builder<ImportYumArtifactsRequest,Operation>

listDockerImagesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListFilesRequest,ListFilesResponse,ListFilesPagedResponse>

listPackagesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListVersionsRequest,ListVersionsResponse,ListVersionsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateProjectSettingsRequest,ProjectSettings>

updateRepositorySettings()

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

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

Returns
TypeDescription
Builder<UpdateRepositoryRequest,Repository>

updateTagSettings()

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

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

Returns
TypeDescription
Builder<UpdateTagRequest,Tag>