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.
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
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
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<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<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns
Overrides
public UnaryCallable<GetTagRequest,Tag> getTagCallable()
Returns
Overrides
public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
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<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Returns
Overrides
public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Returns
Overrides