public static final class ArtifactRegistryGrpc.ArtifactRegistryStub extends AbstractAsyncStub<ArtifactRegistryGrpc.ArtifactRegistryStub>
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.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
ArtifactRegistryGrpc.ArtifactRegistryStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected ArtifactRegistryGrpc.ArtifactRegistryStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public void createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)
Creates a repository. The returned Operation will finish once the
repository has been created. Its response will be the created Repository.
Parameters
public void createTag(CreateTagRequest request, StreamObserver<Tag> responseObserver)
Parameters
public void deletePackage(DeletePackageRequest request, StreamObserver<Operation> responseObserver)
Deletes a package and all of its versions and tags. The returned operation
will complete once the package has been deleted.
Parameters
public void deleteRepository(DeleteRepositoryRequest request, 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.
Parameters
public void deleteTag(DeleteTagRequest request, StreamObserver<Empty> responseObserver)
Parameters
public void deleteVersion(DeleteVersionRequest request, StreamObserver<Operation> responseObserver)
Deletes a version and all of its content. The returned operation will
complete once the version has been deleted.
Parameters
public void getDockerImage(GetDockerImageRequest request, StreamObserver<DockerImage> responseObserver)
Parameters
public void getFile(GetFileRequest request, StreamObserver<File> responseObserver)
Parameters
public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Gets the IAM policy for a given resource.
Parameters
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
public void getPackage(GetPackageRequest request, StreamObserver<Package> responseObserver)
Parameters
public void getProjectSettings(GetProjectSettingsRequest request, StreamObserver<ProjectSettings> responseObserver)
Retrieves the Settings for the Project.
Parameters
public void getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)
Parameters
public void getTag(GetTagRequest request, StreamObserver<Tag> responseObserver)
Parameters
Name | Description |
request | GetTagRequest
|
responseObserver | io.grpc.stub.StreamObserver<Tag>
|
public void getVersion(GetVersionRequest request, StreamObserver<Version> responseObserver)
Parameters
public void importAptArtifacts(ImportAptArtifactsRequest request, 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.
Parameters
public void importYumArtifacts(ImportYumArtifactsRequest request, 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.
Parameters
public void listDockerImages(ListDockerImagesRequest request, StreamObserver<ListDockerImagesResponse> responseObserver)
Parameters
public void listFiles(ListFilesRequest request, StreamObserver<ListFilesResponse> responseObserver)
Parameters
public void listPackages(ListPackagesRequest request, StreamObserver<ListPackagesResponse> responseObserver)
Parameters
public void listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)
Parameters
public void listTags(ListTagsRequest request, StreamObserver<ListTagsResponse> responseObserver)
Parameters
public void listVersions(ListVersionsRequest request, StreamObserver<ListVersionsResponse> responseObserver)
Parameters
public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Updates the IAM policy for a given resource.
Parameters
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy>
|
public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
Tests if the caller has a list of permissions on a resource.
Parameters
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
|
public void updateProjectSettings(UpdateProjectSettingsRequest request, StreamObserver<ProjectSettings> responseObserver)
Updates the Settings for the Project.
Parameters
public void updateRepository(UpdateRepositoryRequest request, StreamObserver<Repository> responseObserver)
Parameters
public void updateTag(UpdateTagRequest request, StreamObserver<Tag> responseObserver)
Parameters