Class ArtifactRegistryGrpc.ArtifactRegistryFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ArtifactRegistryGrpc.ArtifactRegistryFutureStub>
com.google.devtools.artifactregistry.v1.ArtifactRegistryGrpc.ArtifactRegistryFutureStub
Enclosing class:
ArtifactRegistryGrpc

public static final class ArtifactRegistryGrpc.ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub<ArtifactRegistryGrpc.ArtifactRegistryFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ArtifactRegistry.
 The Artifact Registry API service.
 Artifact Registry is an artifact management system for storing artifacts
 from different package management systems.
 The resources managed by this API are:
 * Repositories, which group packages and their data.
 * Packages, which group versions and their tags.
 * Versions, which are specific forms of a package.
 * Tags, which represent alternative names for versions.
 * Files, which contain content and are optionally associated with a Package
   or Version.
 
  • Method Details

    • build

      protected ArtifactRegistryGrpc.ArtifactRegistryFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ArtifactRegistryGrpc.ArtifactRegistryFutureStub>
    • listDockerImages

      public com.google.common.util.concurrent.ListenableFuture<ListDockerImagesResponse> listDockerImages(ListDockerImagesRequest request)
       Lists docker images.
       
    • getDockerImage

      public com.google.common.util.concurrent.ListenableFuture<DockerImage> getDockerImage(GetDockerImageRequest request)
       Gets a docker image.
       
    • listMavenArtifacts

      public com.google.common.util.concurrent.ListenableFuture<ListMavenArtifactsResponse> listMavenArtifacts(ListMavenArtifactsRequest request)
       Lists maven artifacts.
       
    • getMavenArtifact

      public com.google.common.util.concurrent.ListenableFuture<MavenArtifact> getMavenArtifact(GetMavenArtifactRequest request)
       Gets a maven artifact.
       
    • listNpmPackages

      public com.google.common.util.concurrent.ListenableFuture<ListNpmPackagesResponse> listNpmPackages(ListNpmPackagesRequest request)
       Lists npm packages.
       
    • getNpmPackage

      public com.google.common.util.concurrent.ListenableFuture<NpmPackage> getNpmPackage(GetNpmPackageRequest request)
       Gets a npm package.
       
    • listPythonPackages

      public com.google.common.util.concurrent.ListenableFuture<ListPythonPackagesResponse> listPythonPackages(ListPythonPackagesRequest request)
       Lists python packages.
       
    • getPythonPackage

      public com.google.common.util.concurrent.ListenableFuture<PythonPackage> getPythonPackage(GetPythonPackageRequest request)
       Gets a python package.
       
    • importAptArtifacts

      public com.google.common.util.concurrent.ListenableFuture<Operation> importAptArtifacts(ImportAptArtifactsRequest request)
       Imports Apt artifacts. The returned Operation will complete once the
       resources are imported. Package, Version, and File resources are created
       based on the imported artifacts. Imported artifacts that conflict with
       existing resources are ignored.
       
    • importYumArtifacts

      public com.google.common.util.concurrent.ListenableFuture<Operation> importYumArtifacts(ImportYumArtifactsRequest request)
       Imports Yum (RPM) artifacts. The returned Operation will complete once the
       resources are imported. Package, Version, and File resources are created
       based on the imported artifacts. Imported artifacts that conflict with
       existing resources are ignored.
       
    • listRepositories

      public com.google.common.util.concurrent.ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)
       Lists repositories.
       
    • getRepository

      public com.google.common.util.concurrent.ListenableFuture<Repository> getRepository(GetRepositoryRequest request)
       Gets a repository.
       
    • createRepository

      public com.google.common.util.concurrent.ListenableFuture<Operation> createRepository(CreateRepositoryRequest request)
       Creates a repository. The returned Operation will finish once the
       repository has been created. Its response will be the created Repository.
       
    • updateRepository

      public com.google.common.util.concurrent.ListenableFuture<Repository> updateRepository(UpdateRepositoryRequest request)
       Updates a repository.
       
    • deleteRepository

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteRepository(DeleteRepositoryRequest request)
       Deletes a repository and all of its contents. The returned Operation will
       finish once the repository has been deleted. It will not have any Operation
       metadata and will return a google.protobuf.Empty response.
       
    • listPackages

      public com.google.common.util.concurrent.ListenableFuture<ListPackagesResponse> listPackages(ListPackagesRequest request)
       Lists packages.
       
    • getPackage

      public com.google.common.util.concurrent.ListenableFuture<Package> getPackage(GetPackageRequest request)
       Gets a package.
       
    • deletePackage

      public com.google.common.util.concurrent.ListenableFuture<Operation> deletePackage(DeletePackageRequest request)
       Deletes a package and all of its versions and tags. The returned operation
       will complete once the package has been deleted.
       
    • listVersions

      public com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)
       Lists versions.
       
    • getVersion

      public com.google.common.util.concurrent.ListenableFuture<Version> getVersion(GetVersionRequest request)
       Gets a version
       
    • deleteVersion

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteVersion(DeleteVersionRequest request)
       Deletes a version and all of its content. The returned operation will
       complete once the version has been deleted.
       
    • batchDeleteVersions

      public com.google.common.util.concurrent.ListenableFuture<Operation> batchDeleteVersions(BatchDeleteVersionsRequest request)
       Deletes multiple versions across a repository. The returned operation will
       complete once the versions have been deleted.
       
    • updateVersion

      public com.google.common.util.concurrent.ListenableFuture<Version> updateVersion(UpdateVersionRequest request)
       Updates a version.
       
    • listFiles

      public com.google.common.util.concurrent.ListenableFuture<ListFilesResponse> listFiles(ListFilesRequest request)
       Lists files.
       
    • getFile

      public com.google.common.util.concurrent.ListenableFuture<File> getFile(GetFileRequest request)
       Gets a file.
       
    • deleteFile

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteFile(DeleteFileRequest request)
       Deletes a file and all of its content. It is only allowed on generic
       repositories. The returned operation will complete once the file has been
       deleted.
       
    • updateFile

      public com.google.common.util.concurrent.ListenableFuture<File> updateFile(UpdateFileRequest request)
       Updates a file.
       
    • listTags

      public com.google.common.util.concurrent.ListenableFuture<ListTagsResponse> listTags(ListTagsRequest request)
       Lists tags.
       
    • getTag

      public com.google.common.util.concurrent.ListenableFuture<Tag> getTag(GetTagRequest request)
       Gets a tag.
       
    • createTag

      public com.google.common.util.concurrent.ListenableFuture<Tag> createTag(CreateTagRequest request)
       Creates a tag.
       
    • updateTag

      public com.google.common.util.concurrent.ListenableFuture<Tag> updateTag(UpdateTagRequest request)
       Updates a tag.
       
    • deleteTag

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTag(DeleteTagRequest request)
       Deletes a tag.
       
    • createRule

      public com.google.common.util.concurrent.ListenableFuture<Rule> createRule(CreateRuleRequest request)
       Creates a rule.
       
    • listRules

      public com.google.common.util.concurrent.ListenableFuture<ListRulesResponse> listRules(ListRulesRequest request)
       Lists rules.
       
    • getRule

      public com.google.common.util.concurrent.ListenableFuture<Rule> getRule(GetRuleRequest request)
       Gets a rule.
       
    • updateRule

      public com.google.common.util.concurrent.ListenableFuture<Rule> updateRule(UpdateRuleRequest request)
       Updates a rule.
       
    • deleteRule

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteRule(DeleteRuleRequest request)
       Deletes a rule.
       
    • setIamPolicy

      public com.google.common.util.concurrent.ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)
       Updates the IAM policy for a given resource.
       
    • getIamPolicy

      public com.google.common.util.concurrent.ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)
       Gets the IAM policy for a given resource.
       
    • testIamPermissions

      public com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
       Tests if the caller has a list of permissions on a resource.
       
    • getProjectSettings

      public com.google.common.util.concurrent.ListenableFuture<ProjectSettings> getProjectSettings(GetProjectSettingsRequest request)
       Retrieves the Settings for the Project.
       
    • updateProjectSettings

      public com.google.common.util.concurrent.ListenableFuture<ProjectSettings> updateProjectSettings(UpdateProjectSettingsRequest request)
       Updates the Settings for the Project.
       
    • getVPCSCConfig

      public com.google.common.util.concurrent.ListenableFuture<VPCSCConfig> getVPCSCConfig(GetVPCSCConfigRequest request)
       Retrieves the VPCSC Config for the Project.
       
    • updateVPCSCConfig

      public com.google.common.util.concurrent.ListenableFuture<VPCSCConfig> updateVPCSCConfig(UpdateVPCSCConfigRequest request)
       Updates the VPCSC Config for the Project.
       
    • updatePackage

      public com.google.common.util.concurrent.ListenableFuture<Package> updatePackage(UpdatePackageRequest request)
       Updates a package.
       
    • listAttachments

      public com.google.common.util.concurrent.ListenableFuture<ListAttachmentsResponse> listAttachments(ListAttachmentsRequest request)
       Lists attachments.
       
    • getAttachment

      public com.google.common.util.concurrent.ListenableFuture<Attachment> getAttachment(GetAttachmentRequest request)
       Gets an attachment.
       
    • createAttachment

      public com.google.common.util.concurrent.ListenableFuture<Operation> createAttachment(CreateAttachmentRequest request)
       Creates an attachment. The returned Operation will finish once the
       attachment has been created. Its response will be the created attachment.
       
    • deleteAttachment

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteAttachment(DeleteAttachmentRequest request)
       Deletes an attachment. The returned Operation will
       finish once the attachments has been deleted. It will not have any
       Operation metadata and will return a `google.protobuf.Empty` response.
       
    • exportArtifact

      public com.google.common.util.concurrent.ListenableFuture<Operation> exportArtifact(ExportArtifactRequest request)
       Exports an artifact to a Cloud Storage bucket.