- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
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.
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.
Name | Description |
settings | ArtifactRegistryStubSettings |
clientContext | ClientContext |
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.
Name | Description |
settings | ArtifactRegistryStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
create(ClientContext clientContext)
public static final GrpcArtifactRegistryStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
GrpcArtifactRegistryStub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcArtifactRegistryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Type | Description |
GrpcArtifactRegistryStub |
Type | Description |
IOException |
create(ArtifactRegistryStubSettings settings)
public static final GrpcArtifactRegistryStub create(ArtifactRegistryStubSettings settings)
Name | Description |
settings | ArtifactRegistryStubSettings |
Type | Description |
GrpcArtifactRegistryStub |
Type | Description |
IOException |
createRepositoryCallable()
public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Type | Description |
UnaryCallable<CreateRepositoryRequest,Operation> |
createRepositoryOperationCallable()
public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Type | Description |
OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> |
createTagCallable()
public UnaryCallable<CreateTagRequest,Tag> createTagCallable()
Type | Description |
UnaryCallable<CreateTagRequest,Tag> |
deletePackageCallable()
public UnaryCallable<DeletePackageRequest,Operation> deletePackageCallable()
Type | Description |
UnaryCallable<DeletePackageRequest,Operation> |
deletePackageOperationCallable()
public OperationCallable<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationCallable()
Type | Description |
OperationCallable<DeletePackageRequest,Empty,OperationMetadata> |
deleteRepositoryCallable()
public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Type | Description |
UnaryCallable<DeleteRepositoryRequest,Operation> |
deleteRepositoryOperationCallable()
public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Type | Description |
OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> |
deleteTagCallable()
public UnaryCallable<DeleteTagRequest,Empty> deleteTagCallable()
Type | Description |
UnaryCallable<DeleteTagRequest,Empty> |
deleteVersionCallable()
public UnaryCallable<DeleteVersionRequest,Operation> deleteVersionCallable()
Type | Description |
UnaryCallable<DeleteVersionRequest,Operation> |
deleteVersionOperationCallable()
public OperationCallable<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationCallable()
Type | Description |
OperationCallable<DeleteVersionRequest,Empty,OperationMetadata> |
getFileCallable()
public UnaryCallable<GetFileRequest,File> getFileCallable()
Type | Description |
UnaryCallable<GetFileRequest,File> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
getPackageCallable()
public UnaryCallable<GetPackageRequest,Package> getPackageCallable()
Type | Description |
UnaryCallable<GetPackageRequest,Package> |
getRepositoryCallable()
public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Type | Description |
UnaryCallable<GetRepositoryRequest,Repository> |
getTagCallable()
public UnaryCallable<GetTagRequest,Tag> getTagCallable()
Type | Description |
UnaryCallable<GetTagRequest,Tag> |
getVersionCallable()
public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
Type | Description |
UnaryCallable<GetVersionRequest,Version> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listFilesCallable()
public UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
Type | Description |
UnaryCallable<ListFilesRequest,ListFilesResponse> |
listFilesPagedCallable()
public UnaryCallable<ListFilesRequest,ArtifactRegistryClient.ListFilesPagedResponse> listFilesPagedCallable()
Type | Description |
UnaryCallable<ListFilesRequest,ListFilesPagedResponse> |
listPackagesCallable()
public UnaryCallable<ListPackagesRequest,ListPackagesResponse> listPackagesCallable()
Type | Description |
UnaryCallable<ListPackagesRequest,ListPackagesResponse> |
listPackagesPagedCallable()
public UnaryCallable<ListPackagesRequest,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesPagedCallable()
Type | Description |
UnaryCallable<ListPackagesRequest,ListPackagesPagedResponse> |
listRepositoriesCallable()
public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Type | Description |
UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> |
listRepositoriesPagedCallable()
public UnaryCallable<ListRepositoriesRequest,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Type | Description |
UnaryCallable<ListRepositoriesRequest,ListRepositoriesPagedResponse> |
listTagsCallable()
public UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
Type | Description |
UnaryCallable<ListTagsRequest,ListTagsResponse> |
listTagsPagedCallable()
public UnaryCallable<ListTagsRequest,ArtifactRegistryClient.ListTagsPagedResponse> listTagsPagedCallable()
Type | Description |
UnaryCallable<ListTagsRequest,ListTagsPagedResponse> |
listVersionsCallable()
public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
Type | Description |
UnaryCallable<ListVersionsRequest,ListVersionsResponse> |
listVersionsPagedCallable()
public UnaryCallable<ListVersionsRequest,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsPagedCallable()
Type | Description |
UnaryCallable<ListVersionsRequest,ListVersionsPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateRepositoryCallable()
public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Type | Description |
UnaryCallable<UpdateRepositoryRequest,Repository> |
updateTagCallable()
public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Type | Description |
UnaryCallable<UpdateTagRequest,Tag> |