Class GrpcArtifactRegistryStub
- java.lang.Object
-
- com.google.devtools.artifactregistry.v1.stub.ArtifactRegistryStub
-
- com.google.devtools.artifactregistry.v1.stub.GrpcArtifactRegistryStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcArtifactRegistryStub, using the given settings.protectedGrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcArtifactRegistryStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.devtools.artifactregistry.v1.stub.ArtifactRegistryStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcArtifactRegistryStub
protected GrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcArtifactRegistryStub
protected GrpcArtifactRegistryStub(ArtifactRegistryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcArtifactRegistryStub create(ArtifactRegistryStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcArtifactRegistryStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcArtifactRegistryStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classArtifactRegistryStub
-
listDockerImagesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse> listDockerImagesCallable()
- Overrides:
listDockerImagesCallablein classArtifactRegistryStub
-
listDockerImagesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDockerImagesRequest,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesPagedCallable()
- Overrides:
listDockerImagesPagedCallablein classArtifactRegistryStub
-
getDockerImageCallable
public com.google.api.gax.rpc.UnaryCallable<GetDockerImageRequest,DockerImage> getDockerImageCallable()
- Overrides:
getDockerImageCallablein classArtifactRegistryStub
-
listMavenArtifactsCallable
public com.google.api.gax.rpc.UnaryCallable<ListMavenArtifactsRequest,ListMavenArtifactsResponse> listMavenArtifactsCallable()
- Overrides:
listMavenArtifactsCallablein classArtifactRegistryStub
-
listMavenArtifactsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListMavenArtifactsRequest,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> listMavenArtifactsPagedCallable()
- Overrides:
listMavenArtifactsPagedCallablein classArtifactRegistryStub
-
getMavenArtifactCallable
public com.google.api.gax.rpc.UnaryCallable<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactCallable()
- Overrides:
getMavenArtifactCallablein classArtifactRegistryStub
-
listNpmPackagesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNpmPackagesRequest,ListNpmPackagesResponse> listNpmPackagesCallable()
- Overrides:
listNpmPackagesCallablein classArtifactRegistryStub
-
listNpmPackagesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNpmPackagesRequest,ArtifactRegistryClient.ListNpmPackagesPagedResponse> listNpmPackagesPagedCallable()
- Overrides:
listNpmPackagesPagedCallablein classArtifactRegistryStub
-
getNpmPackageCallable
public com.google.api.gax.rpc.UnaryCallable<GetNpmPackageRequest,NpmPackage> getNpmPackageCallable()
- Overrides:
getNpmPackageCallablein classArtifactRegistryStub
-
listPythonPackagesCallable
public com.google.api.gax.rpc.UnaryCallable<ListPythonPackagesRequest,ListPythonPackagesResponse> listPythonPackagesCallable()
- Overrides:
listPythonPackagesCallablein classArtifactRegistryStub
-
listPythonPackagesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListPythonPackagesRequest,ArtifactRegistryClient.ListPythonPackagesPagedResponse> listPythonPackagesPagedCallable()
- Overrides:
listPythonPackagesPagedCallablein classArtifactRegistryStub
-
getPythonPackageCallable
public com.google.api.gax.rpc.UnaryCallable<GetPythonPackageRequest,PythonPackage> getPythonPackageCallable()
- Overrides:
getPythonPackageCallablein classArtifactRegistryStub
-
importAptArtifactsCallable
public com.google.api.gax.rpc.UnaryCallable<ImportAptArtifactsRequest,com.google.longrunning.Operation> importAptArtifactsCallable()
- Overrides:
importAptArtifactsCallablein classArtifactRegistryStub
-
importAptArtifactsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationCallable()
- Overrides:
importAptArtifactsOperationCallablein classArtifactRegistryStub
-
importYumArtifactsCallable
public com.google.api.gax.rpc.UnaryCallable<ImportYumArtifactsRequest,com.google.longrunning.Operation> importYumArtifactsCallable()
- Overrides:
importYumArtifactsCallablein classArtifactRegistryStub
-
importYumArtifactsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationCallable()
- Overrides:
importYumArtifactsOperationCallablein classArtifactRegistryStub
-
listRepositoriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
- Overrides:
listRepositoriesCallablein classArtifactRegistryStub
-
listRepositoriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRepositoriesRequest,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
- Overrides:
listRepositoriesPagedCallablein classArtifactRegistryStub
-
getRepositoryCallable
public com.google.api.gax.rpc.UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
- Overrides:
getRepositoryCallablein classArtifactRegistryStub
-
createRepositoryCallable
public com.google.api.gax.rpc.UnaryCallable<CreateRepositoryRequest,com.google.longrunning.Operation> createRepositoryCallable()
- Overrides:
createRepositoryCallablein classArtifactRegistryStub
-
createRepositoryOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
- Overrides:
createRepositoryOperationCallablein classArtifactRegistryStub
-
updateRepositoryCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
- Overrides:
updateRepositoryCallablein classArtifactRegistryStub
-
deleteRepositoryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteRepositoryRequest,com.google.longrunning.Operation> deleteRepositoryCallable()
- Overrides:
deleteRepositoryCallablein classArtifactRegistryStub
-
deleteRepositoryOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata> deleteRepositoryOperationCallable()
- Overrides:
deleteRepositoryOperationCallablein classArtifactRegistryStub
-
listPackagesCallable
public com.google.api.gax.rpc.UnaryCallable<ListPackagesRequest,ListPackagesResponse> listPackagesCallable()
- Overrides:
listPackagesCallablein classArtifactRegistryStub
-
listPackagesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListPackagesRequest,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesPagedCallable()
- Overrides:
listPackagesPagedCallablein classArtifactRegistryStub
-
getPackageCallable
public com.google.api.gax.rpc.UnaryCallable<GetPackageRequest,Package> getPackageCallable()
- Overrides:
getPackageCallablein classArtifactRegistryStub
-
deletePackageCallable
public com.google.api.gax.rpc.UnaryCallable<DeletePackageRequest,com.google.longrunning.Operation> deletePackageCallable()
- Overrides:
deletePackageCallablein classArtifactRegistryStub
-
deletePackageOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata> deletePackageOperationCallable()
- Overrides:
deletePackageOperationCallablein classArtifactRegistryStub
-
listVersionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
- Overrides:
listVersionsCallablein classArtifactRegistryStub
-
listVersionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListVersionsRequest,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsPagedCallable()
- Overrides:
listVersionsPagedCallablein classArtifactRegistryStub
-
getVersionCallable
public com.google.api.gax.rpc.UnaryCallable<GetVersionRequest,Version> getVersionCallable()
- Overrides:
getVersionCallablein classArtifactRegistryStub
-
deleteVersionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteVersionRequest,com.google.longrunning.Operation> deleteVersionCallable()
- Overrides:
deleteVersionCallablein classArtifactRegistryStub
-
deleteVersionOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata> deleteVersionOperationCallable()
- Overrides:
deleteVersionOperationCallablein classArtifactRegistryStub
-
listFilesCallable
public com.google.api.gax.rpc.UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
- Overrides:
listFilesCallablein classArtifactRegistryStub
-
listFilesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFilesRequest,ArtifactRegistryClient.ListFilesPagedResponse> listFilesPagedCallable()
- Overrides:
listFilesPagedCallablein classArtifactRegistryStub
-
getFileCallable
public com.google.api.gax.rpc.UnaryCallable<GetFileRequest,File> getFileCallable()
- Overrides:
getFileCallablein classArtifactRegistryStub
-
listTagsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
- Overrides:
listTagsCallablein classArtifactRegistryStub
-
listTagsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTagsRequest,ArtifactRegistryClient.ListTagsPagedResponse> listTagsPagedCallable()
- Overrides:
listTagsPagedCallablein classArtifactRegistryStub
-
getTagCallable
public com.google.api.gax.rpc.UnaryCallable<GetTagRequest,Tag> getTagCallable()
- Overrides:
getTagCallablein classArtifactRegistryStub
-
createTagCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTagRequest,Tag> createTagCallable()
- Overrides:
createTagCallablein classArtifactRegistryStub
-
updateTagCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
- Overrides:
updateTagCallablein classArtifactRegistryStub
-
deleteTagCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTagRequest,com.google.protobuf.Empty> deleteTagCallable()
- Overrides:
deleteTagCallablein classArtifactRegistryStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classArtifactRegistryStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classArtifactRegistryStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classArtifactRegistryStub
-
getProjectSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsCallable()
- Overrides:
getProjectSettingsCallablein classArtifactRegistryStub
-
updateProjectSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsCallable()
- Overrides:
updateProjectSettingsCallablein classArtifactRegistryStub
-
getVPCSCConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigCallable()
- Overrides:
getVPCSCConfigCallablein classArtifactRegistryStub
-
updateVPCSCConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigCallable()
- Overrides:
updateVPCSCConfigCallablein classArtifactRegistryStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classArtifactRegistryStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classArtifactRegistryStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classArtifactRegistryStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classArtifactRegistryStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-