Class ArtifactRegistryGrpc.ArtifactRegistryStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ArtifactRegistryGrpc.ArtifactRegistryStub>
com.google.devtools.artifactregistry.v1beta2.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>
    • 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.
       
    • 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.
       
    • 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.
       
    • 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.