public class GrpcArtifactRegistryStub extends ArtifactRegistryStub
gRPC stub implementation for the ArtifactRegistry service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcArtifactRegistryStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcArtifactRegistryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final GrpcArtifactRegistryStub create(ArtifactRegistryStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext)
protected GrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcArtifactRegistryStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcArtifactRegistryStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Returns
Overrides
public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Returns
Overrides
public UnaryCallable<CreateTagRequest,Tag> createTagCallable()
Returns
Overrides
public UnaryCallable<DeletePackageRequest,Operation> deletePackageCallable()
Returns
Overrides
public OperationCallable<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Returns
Overrides
public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteTagRequest,Empty> deleteTagCallable()
Returns
Overrides
public UnaryCallable<DeleteVersionRequest,Operation> deleteVersionCallable()
Returns
Overrides
public OperationCallable<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationCallable()
Returns
Overrides
public UnaryCallable<GetDockerImageRequest,DockerImage> getDockerImageCallable()
Returns
Overrides
public UnaryCallable<GetFileRequest,File> getFileCallable()
Returns
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
public UnaryCallable<GetPackageRequest,Package> getPackageCallable()
Returns
Overrides
public UnaryCallable<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsCallable()
Returns
Overrides
public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns
Overrides
public UnaryCallable<GetTagRequest,Tag> getTagCallable()
Returns
Overrides
public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
Returns
Overrides
public UnaryCallable<ImportAptArtifactsRequest,Operation> importAptArtifactsCallable()
Returns
Overrides
public OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationCallable()
Returns
Overrides
public UnaryCallable<ImportYumArtifactsRequest,Operation> importYumArtifactsCallable()
Returns
Overrides
public OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse> listDockerImagesCallable()
Returns
Overrides
listDockerImagesPagedCallable()
public UnaryCallable<ListDockerImagesRequest,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesPagedCallable()
Returns
Overrides
public UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
Returns
Overrides
listFilesPagedCallable()
public UnaryCallable<ListFilesRequest,ArtifactRegistryClient.ListFilesPagedResponse> listFilesPagedCallable()
Returns
Overrides
public UnaryCallable<ListPackagesRequest,ListPackagesResponse> listPackagesCallable()
Returns
Overrides
listPackagesPagedCallable()
public UnaryCallable<ListPackagesRequest,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesPagedCallable()
Returns
Overrides
public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Returns
Overrides
listRepositoriesPagedCallable()
public UnaryCallable<ListRepositoriesRequest,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Returns
Overrides
public UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
Returns
Overrides
listTagsPagedCallable()
public UnaryCallable<ListTagsRequest,ArtifactRegistryClient.ListTagsPagedResponse> listTagsPagedCallable()
Returns
Overrides
public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
Returns
Overrides
listVersionsPagedCallable()
public UnaryCallable<ListVersionsRequest,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsPagedCallable()
Returns
Overrides
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
public void shutdownNow()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
public UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsCallable()
Returns
Overrides
public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Returns
Overrides
public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Returns
Overrides