Class ArtifactRegistryGrpc.ArtifactRegistryBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ArtifactRegistryGrpc.ArtifactRegistryBlockingStub>
-
- com.google.devtools.artifactregistry.v1.ArtifactRegistryGrpc.ArtifactRegistryBlockingStub
-
- Enclosing class:
- ArtifactRegistryGrpc
public static final class ArtifactRegistryGrpc.ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub<ArtifactRegistryGrpc.ArtifactRegistryBlockingStub>
A stub to allow clients to do synchronous 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArtifactRegistryGrpc.ArtifactRegistryBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
createRepository(CreateRepositoryRequest request)
Creates a repository.Tag
createTag(CreateTagRequest request)
Creates a tag.com.google.longrunning.Operation
deletePackage(DeletePackageRequest request)
Deletes a package and all of its versions and tags.com.google.longrunning.Operation
deleteRepository(DeleteRepositoryRequest request)
Deletes a repository and all of its contents.com.google.protobuf.Empty
deleteTag(DeleteTagRequest request)
Deletes a tag.com.google.longrunning.Operation
deleteVersion(DeleteVersionRequest request)
Deletes a version and all of its content.DockerImage
getDockerImage(GetDockerImageRequest request)
Gets a docker image.File
getFile(GetFileRequest request)
Gets a file.com.google.iam.v1.Policy
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM policy for a given resource.MavenArtifact
getMavenArtifact(GetMavenArtifactRequest request)
Gets a maven artifact.NpmPackage
getNpmPackage(GetNpmPackageRequest request)
Gets a npm package.Package
getPackage(GetPackageRequest request)
Gets a package.ProjectSettings
getProjectSettings(GetProjectSettingsRequest request)
Retrieves the Settings for the Project.PythonPackage
getPythonPackage(GetPythonPackageRequest request)
Gets a python package.Repository
getRepository(GetRepositoryRequest request)
Gets a repository.Tag
getTag(GetTagRequest request)
Gets a tag.Version
getVersion(GetVersionRequest request)
Gets a versionVPCSCConfig
getVPCSCConfig(GetVPCSCConfigRequest request)
Retrieves the VPCSC Config for the Project.com.google.longrunning.Operation
importAptArtifacts(ImportAptArtifactsRequest request)
Imports Apt artifacts.com.google.longrunning.Operation
importYumArtifacts(ImportYumArtifactsRequest request)
Imports Yum (RPM) artifacts.ListDockerImagesResponse
listDockerImages(ListDockerImagesRequest request)
Lists docker images.ListFilesResponse
listFiles(ListFilesRequest request)
Lists files.ListMavenArtifactsResponse
listMavenArtifacts(ListMavenArtifactsRequest request)
Lists maven artifacts.ListNpmPackagesResponse
listNpmPackages(ListNpmPackagesRequest request)
Lists npm packages.ListPackagesResponse
listPackages(ListPackagesRequest request)
Lists packages.ListPythonPackagesResponse
listPythonPackages(ListPythonPackagesRequest request)
Lists python packages.ListRepositoriesResponse
listRepositories(ListRepositoriesRequest request)
Lists repositories.ListTagsResponse
listTags(ListTagsRequest request)
Lists tags.ListVersionsResponse
listVersions(ListVersionsRequest request)
Lists versions.com.google.iam.v1.Policy
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Updates the IAM policy for a given resource.com.google.iam.v1.TestIamPermissionsResponse
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Tests if the caller has a list of permissions on a resource.ProjectSettings
updateProjectSettings(UpdateProjectSettingsRequest request)
Updates the Settings for the Project.Repository
updateRepository(UpdateRepositoryRequest request)
Updates a repository.Tag
updateTag(UpdateTagRequest request)
Updates a tag.VPCSCConfig
updateVPCSCConfig(UpdateVPCSCConfigRequest request)
Updates the VPCSC Config for the Project.
-
-
-
Method Detail
-
build
protected ArtifactRegistryGrpc.ArtifactRegistryBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ArtifactRegistryGrpc.ArtifactRegistryBlockingStub>
-
listDockerImages
public ListDockerImagesResponse listDockerImages(ListDockerImagesRequest request)
Lists docker images.
-
getDockerImage
public DockerImage getDockerImage(GetDockerImageRequest request)
Gets a docker image.
-
listMavenArtifacts
public ListMavenArtifactsResponse listMavenArtifacts(ListMavenArtifactsRequest request)
Lists maven artifacts.
-
getMavenArtifact
public MavenArtifact getMavenArtifact(GetMavenArtifactRequest request)
Gets a maven artifact.
-
listNpmPackages
public ListNpmPackagesResponse listNpmPackages(ListNpmPackagesRequest request)
Lists npm packages.
-
getNpmPackage
public NpmPackage getNpmPackage(GetNpmPackageRequest request)
Gets a npm package.
-
listPythonPackages
public ListPythonPackagesResponse listPythonPackages(ListPythonPackagesRequest request)
Lists python packages.
-
getPythonPackage
public PythonPackage getPythonPackage(GetPythonPackageRequest request)
Gets a python package.
-
importAptArtifacts
public com.google.longrunning.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.longrunning.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 ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)
Lists repositories.
-
getRepository
public Repository getRepository(GetRepositoryRequest request)
Gets a repository.
-
createRepository
public com.google.longrunning.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 Repository updateRepository(UpdateRepositoryRequest request)
Updates a repository.
-
deleteRepository
public com.google.longrunning.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 ListPackagesResponse listPackages(ListPackagesRequest request)
Lists packages.
-
getPackage
public Package getPackage(GetPackageRequest request)
Gets a package.
-
deletePackage
public com.google.longrunning.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 ListVersionsResponse listVersions(ListVersionsRequest request)
Lists versions.
-
getVersion
public Version getVersion(GetVersionRequest request)
Gets a version
-
deleteVersion
public com.google.longrunning.Operation deleteVersion(DeleteVersionRequest request)
Deletes a version and all of its content. The returned operation will complete once the version has been deleted.
-
listFiles
public ListFilesResponse listFiles(ListFilesRequest request)
Lists files.
-
getFile
public File getFile(GetFileRequest request)
Gets a file.
-
listTags
public ListTagsResponse listTags(ListTagsRequest request)
Lists tags.
-
getTag
public Tag getTag(GetTagRequest request)
Gets a tag.
-
createTag
public Tag createTag(CreateTagRequest request)
Creates a tag.
-
updateTag
public Tag updateTag(UpdateTagRequest request)
Updates a tag.
-
deleteTag
public com.google.protobuf.Empty deleteTag(DeleteTagRequest request)
Deletes a tag.
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Updates the IAM policy for a given resource.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM policy for a given resource.
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Tests if the caller has a list of permissions on a resource.
-
getProjectSettings
public ProjectSettings getProjectSettings(GetProjectSettingsRequest request)
Retrieves the Settings for the Project.
-
updateProjectSettings
public ProjectSettings updateProjectSettings(UpdateProjectSettingsRequest request)
Updates the Settings for the Project.
-
getVPCSCConfig
public VPCSCConfig getVPCSCConfig(GetVPCSCConfigRequest request)
Retrieves the VPCSC Config for the Project.
-
updateVPCSCConfig
public VPCSCConfig updateVPCSCConfig(UpdateVPCSCConfigRequest request)
Updates the VPCSC Config for the Project.
-
-