Class GrpcArtifactRegistryStub (1.19.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.

Inheritance

java.lang.Object > ArtifactRegistryStub > GrpcArtifactRegistryStub

Static Methods

create(ClientContext clientContext)

public static final GrpcArtifactRegistryStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcArtifactRegistryStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcArtifactRegistryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcArtifactRegistryStub
Exceptions
TypeDescription
IOException

create(ArtifactRegistryStubSettings settings)

public static final GrpcArtifactRegistryStub create(ArtifactRegistryStubSettings settings)
Parameter
NameDescription
settingsArtifactRegistryStubSettings
Returns
TypeDescription
GrpcArtifactRegistryStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsArtifactRegistryStubSettings
clientContextClientContext

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
NameDescription
settingsArtifactRegistryStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createRepositoryCallable()

public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Overrides

createRepositoryOperationCallable()

public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Overrides

createTagCallable()

public UnaryCallable<CreateTagRequest,Tag> createTagCallable()
Returns
TypeDescription
UnaryCallable<CreateTagRequest,Tag>
Overrides

deletePackageCallable()

public UnaryCallable<DeletePackageRequest,Operation> deletePackageCallable()
Overrides

deletePackageOperationCallable()

public OperationCallable<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationCallable()
Overrides

deleteRepositoryCallable()

public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Overrides

deleteRepositoryOperationCallable()

public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Overrides

deleteTagCallable()

public UnaryCallable<DeleteTagRequest,Empty> deleteTagCallable()
Returns
TypeDescription
UnaryCallable<DeleteTagRequest,Empty>
Overrides

deleteVersionCallable()

public UnaryCallable<DeleteVersionRequest,Operation> deleteVersionCallable()
Overrides

deleteVersionOperationCallable()

public OperationCallable<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationCallable()
Overrides

getDockerImageCallable()

public UnaryCallable<GetDockerImageRequest,DockerImage> getDockerImageCallable()
Overrides

getFileCallable()

public UnaryCallable<GetFileRequest,File> getFileCallable()
Returns
TypeDescription
UnaryCallable<GetFileRequest,File>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getMavenArtifactCallable()

public UnaryCallable<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactCallable()
Overrides

getNpmPackageCallable()

public UnaryCallable<GetNpmPackageRequest,NpmPackage> getNpmPackageCallable()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getPackageCallable()

public UnaryCallable<GetPackageRequest,Package> getPackageCallable()
Returns
TypeDescription
UnaryCallable<GetPackageRequest,Package>
Overrides

getProjectSettingsCallable()

public UnaryCallable<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsCallable()
Overrides

getPythonPackageCallable()

public UnaryCallable<GetPythonPackageRequest,PythonPackage> getPythonPackageCallable()
Overrides

getRepositoryCallable()

public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Overrides

getTagCallable()

public UnaryCallable<GetTagRequest,Tag> getTagCallable()
Returns
TypeDescription
UnaryCallable<GetTagRequest,Tag>
Overrides

getVPCSCConfigCallable()

public UnaryCallable<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigCallable()
Overrides

getVersionCallable()

public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
Returns
TypeDescription
UnaryCallable<GetVersionRequest,Version>
Overrides

importAptArtifactsCallable()

public UnaryCallable<ImportAptArtifactsRequest,Operation> importAptArtifactsCallable()
Overrides

importAptArtifactsOperationCallable()

public OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationCallable()
Overrides

importYumArtifactsCallable()

public UnaryCallable<ImportYumArtifactsRequest,Operation> importYumArtifactsCallable()
Overrides

importYumArtifactsOperationCallable()

public OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDockerImagesCallable()

public UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse> listDockerImagesCallable()
Overrides

listDockerImagesPagedCallable()

public UnaryCallable<ListDockerImagesRequest,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesPagedCallable()
Overrides

listFilesCallable()

public UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
Overrides

listFilesPagedCallable()

public UnaryCallable<ListFilesRequest,ArtifactRegistryClient.ListFilesPagedResponse> listFilesPagedCallable()
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMavenArtifactsCallable()

public UnaryCallable<ListMavenArtifactsRequest,ListMavenArtifactsResponse> listMavenArtifactsCallable()
Overrides

listMavenArtifactsPagedCallable()

public UnaryCallable<ListMavenArtifactsRequest,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> listMavenArtifactsPagedCallable()
Overrides

listNpmPackagesCallable()

public UnaryCallable<ListNpmPackagesRequest,ListNpmPackagesResponse> listNpmPackagesCallable()
Overrides

listNpmPackagesPagedCallable()

public UnaryCallable<ListNpmPackagesRequest,ArtifactRegistryClient.ListNpmPackagesPagedResponse> listNpmPackagesPagedCallable()
Overrides

listPackagesCallable()

public UnaryCallable<ListPackagesRequest,ListPackagesResponse> listPackagesCallable()
Overrides

listPackagesPagedCallable()

public UnaryCallable<ListPackagesRequest,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesPagedCallable()
Overrides

listPythonPackagesCallable()

public UnaryCallable<ListPythonPackagesRequest,ListPythonPackagesResponse> listPythonPackagesCallable()
Overrides

listPythonPackagesPagedCallable()

public UnaryCallable<ListPythonPackagesRequest,ArtifactRegistryClient.ListPythonPackagesPagedResponse> listPythonPackagesPagedCallable()
Overrides

listRepositoriesCallable()

public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Overrides

listRepositoriesPagedCallable()

public UnaryCallable<ListRepositoriesRequest,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Overrides

listTagsCallable()

public UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
Overrides

listTagsPagedCallable()

public UnaryCallable<ListTagsRequest,ArtifactRegistryClient.ListTagsPagedResponse> listTagsPagedCallable()
Overrides

listVersionsCallable()

public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
Overrides

listVersionsPagedCallable()

public UnaryCallable<ListVersionsRequest,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsPagedCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateProjectSettingsCallable()

public UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsCallable()
Overrides

updateRepositoryCallable()

public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Overrides

updateTagCallable()

public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Returns
TypeDescription
UnaryCallable<UpdateTagRequest,Tag>
Overrides

updateVPCSCConfigCallable()

public UnaryCallable<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigCallable()
Overrides