Class ArtifactRegistryGrpc.ArtifactRegistryStub

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

public static final class ArtifactRegistryGrpc.ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub<ArtifactRegistryGrpc.ArtifactRegistryStub>
A stub to allow clients to do asynchronous 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.ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ArtifactRegistryGrpc.ArtifactRegistryStub>
    • listDockerImages

      public void listDockerImages(ListDockerImagesRequest request, io.grpc.stub.StreamObserver<ListDockerImagesResponse> responseObserver)
       Lists docker images.
       
    • getDockerImage

      public void getDockerImage(GetDockerImageRequest request, io.grpc.stub.StreamObserver<DockerImage> responseObserver)
       Gets a docker image.
       
    • listMavenArtifacts

      public void listMavenArtifacts(ListMavenArtifactsRequest request, io.grpc.stub.StreamObserver<ListMavenArtifactsResponse> responseObserver)
       Lists maven artifacts.
       
    • getMavenArtifact

      public void getMavenArtifact(GetMavenArtifactRequest request, io.grpc.stub.StreamObserver<MavenArtifact> responseObserver)
       Gets a maven artifact.
       
    • listNpmPackages

      public void listNpmPackages(ListNpmPackagesRequest request, io.grpc.stub.StreamObserver<ListNpmPackagesResponse> responseObserver)
       Lists npm packages.
       
    • getNpmPackage

      public void getNpmPackage(GetNpmPackageRequest request, io.grpc.stub.StreamObserver<NpmPackage> responseObserver)
       Gets a npm package.
       
    • listPythonPackages

      public void listPythonPackages(ListPythonPackagesRequest request, io.grpc.stub.StreamObserver<ListPythonPackagesResponse> responseObserver)
       Lists python packages.
       
    • getPythonPackage

      public void getPythonPackage(GetPythonPackageRequest request, io.grpc.stub.StreamObserver<PythonPackage> responseObserver)
       Gets a python package.
       
    • importAptArtifacts

      public void importAptArtifacts(ImportAptArtifactsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void importYumArtifacts(ImportYumArtifactsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void listRepositories(ListRepositoriesRequest request, io.grpc.stub.StreamObserver<ListRepositoriesResponse> responseObserver)
       Lists repositories.
       
    • getRepository

      public void getRepository(GetRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
       Gets a repository.
       
    • createRepository

      public void createRepository(CreateRepositoryRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a repository. The returned Operation will finish once the
       repository has been created. Its response will be the created Repository.
       
    • updateRepository

      public void updateRepository(UpdateRepositoryRequest request, io.grpc.stub.StreamObserver<Repository> responseObserver)
       Updates a repository.
       
    • deleteRepository

      public void deleteRepository(DeleteRepositoryRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void listPackages(ListPackagesRequest request, io.grpc.stub.StreamObserver<ListPackagesResponse> responseObserver)
       Lists packages.
       
    • getPackage

      public void getPackage(GetPackageRequest request, io.grpc.stub.StreamObserver<Package> responseObserver)
       Gets a package.
       
    • deletePackage

      public void deletePackage(DeletePackageRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a package and all of its versions and tags. The returned operation
       will complete once the package has been deleted.
       
    • listVersions

      public void listVersions(ListVersionsRequest request, io.grpc.stub.StreamObserver<ListVersionsResponse> responseObserver)
       Lists versions.
       
    • getVersion

      public void getVersion(GetVersionRequest request, io.grpc.stub.StreamObserver<Version> responseObserver)
       Gets a version
       
    • deleteVersion

      public void deleteVersion(DeleteVersionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a version and all of its content. The returned operation will
       complete once the version has been deleted.
       
    • batchDeleteVersions

      public void batchDeleteVersions(BatchDeleteVersionsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes multiple versions across a repository. The returned operation will
       complete once the versions have been deleted.
       
    • updateVersion

      public void updateVersion(UpdateVersionRequest request, io.grpc.stub.StreamObserver<Version> responseObserver)
       Updates a version.
       
    • listFiles

      public void listFiles(ListFilesRequest request, io.grpc.stub.StreamObserver<ListFilesResponse> responseObserver)
       Lists files.
       
    • getFile

      public void getFile(GetFileRequest request, io.grpc.stub.StreamObserver<File> responseObserver)
       Gets a file.
       
    • deleteFile

      public void deleteFile(DeleteFileRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void updateFile(UpdateFileRequest request, io.grpc.stub.StreamObserver<File> responseObserver)
       Updates a file.
       
    • listTags

      public void listTags(ListTagsRequest request, io.grpc.stub.StreamObserver<ListTagsResponse> responseObserver)
       Lists tags.
       
    • getTag

      public void getTag(GetTagRequest request, io.grpc.stub.StreamObserver<Tag> responseObserver)
       Gets a tag.
       
    • createTag

      public void createTag(CreateTagRequest request, io.grpc.stub.StreamObserver<Tag> responseObserver)
       Creates a tag.
       
    • updateTag

      public void updateTag(UpdateTagRequest request, io.grpc.stub.StreamObserver<Tag> responseObserver)
       Updates a tag.
       
    • deleteTag

      public void deleteTag(DeleteTagRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes a tag.
       
    • createRule

      public void createRule(CreateRuleRequest request, io.grpc.stub.StreamObserver<Rule> responseObserver)
       Creates a rule.
       
    • listRules

      public void listRules(ListRulesRequest request, io.grpc.stub.StreamObserver<ListRulesResponse> responseObserver)
       Lists rules.
       
    • getRule

      public void getRule(GetRuleRequest request, io.grpc.stub.StreamObserver<Rule> responseObserver)
       Gets a rule.
       
    • updateRule

      public void updateRule(UpdateRuleRequest request, io.grpc.stub.StreamObserver<Rule> responseObserver)
       Updates a rule.
       
    • deleteRule

      public void deleteRule(DeleteRuleRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes a rule.
       
    • setIamPolicy

      public void setIamPolicy(SetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver)
       Updates the IAM policy for a given resource.
       
    • getIamPolicy

      public void getIamPolicy(GetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver)
       Gets the IAM policy for a given resource.
       
    • testIamPermissions

      public void testIamPermissions(TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<TestIamPermissionsResponse> responseObserver)
       Tests if the caller has a list of permissions on a resource.
       
    • getProjectSettings

      public void getProjectSettings(GetProjectSettingsRequest request, io.grpc.stub.StreamObserver<ProjectSettings> responseObserver)
       Retrieves the Settings for the Project.
       
    • updateProjectSettings

      public void updateProjectSettings(UpdateProjectSettingsRequest request, io.grpc.stub.StreamObserver<ProjectSettings> responseObserver)
       Updates the Settings for the Project.
       
    • getVPCSCConfig

      public void getVPCSCConfig(GetVPCSCConfigRequest request, io.grpc.stub.StreamObserver<VPCSCConfig> responseObserver)
       Retrieves the VPCSC Config for the Project.
       
    • updateVPCSCConfig

      public void updateVPCSCConfig(UpdateVPCSCConfigRequest request, io.grpc.stub.StreamObserver<VPCSCConfig> responseObserver)
       Updates the VPCSC Config for the Project.
       
    • updatePackage

      public void updatePackage(UpdatePackageRequest request, io.grpc.stub.StreamObserver<Package> responseObserver)
       Updates a package.
       
    • listAttachments

      public void listAttachments(ListAttachmentsRequest request, io.grpc.stub.StreamObserver<ListAttachmentsResponse> responseObserver)
       Lists attachments.
       
    • getAttachment

      public void getAttachment(GetAttachmentRequest request, io.grpc.stub.StreamObserver<Attachment> responseObserver)
       Gets an attachment.
       
    • createAttachment

      public void createAttachment(CreateAttachmentRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates an attachment. The returned Operation will finish once the
       attachment has been created. Its response will be the created attachment.
       
    • deleteAttachment

      public void deleteAttachment(DeleteAttachmentRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void exportArtifact(ExportArtifactRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Exports an artifact to a Cloud Storage bucket.