Class GrpcArtifactRegistryStub (1.54.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcArtifactRegistryStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcArtifactRegistryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcArtifactRegistryStub
Exceptions
Type Description
IOException

create(ArtifactRegistryStubSettings settings)

public static final GrpcArtifactRegistryStub create(ArtifactRegistryStubSettings settings)
Parameter
Name Description
settings ArtifactRegistryStubSettings
Returns
Type Description
GrpcArtifactRegistryStub
Exceptions
Type Description
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
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.

Parameters
Name Description
settings ArtifactRegistryStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchDeleteVersionsCallable()

public UnaryCallable<BatchDeleteVersionsRequest,Operation> batchDeleteVersionsCallable()
Returns
Type Description
UnaryCallable<BatchDeleteVersionsRequest,Operation>
Overrides

batchDeleteVersionsOperationCallable()

public OperationCallable<BatchDeleteVersionsRequest,Empty,BatchDeleteVersionsMetadata> batchDeleteVersionsOperationCallable()
Returns
Type Description
OperationCallable<BatchDeleteVersionsRequest,Empty,BatchDeleteVersionsMetadata>
Overrides

close()

public final void close()
Overrides

createAttachmentCallable()

public UnaryCallable<CreateAttachmentRequest,Operation> createAttachmentCallable()
Returns
Type Description
UnaryCallable<CreateAttachmentRequest,Operation>
Overrides

createAttachmentOperationCallable()

public OperationCallable<CreateAttachmentRequest,Attachment,OperationMetadata> createAttachmentOperationCallable()
Returns
Type Description
OperationCallable<CreateAttachmentRequest,Attachment,OperationMetadata>
Overrides

createRepositoryCallable()

public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Returns
Type Description
UnaryCallable<CreateRepositoryRequest,Operation>
Overrides

createRepositoryOperationCallable()

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

createRuleCallable()

public UnaryCallable<CreateRuleRequest,Rule> createRuleCallable()
Returns
Type Description
UnaryCallable<CreateRuleRequest,Rule>
Overrides

createTagCallable()

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

deleteAttachmentCallable()

public UnaryCallable<DeleteAttachmentRequest,Operation> deleteAttachmentCallable()
Returns
Type Description
UnaryCallable<DeleteAttachmentRequest,Operation>
Overrides

deleteAttachmentOperationCallable()

public OperationCallable<DeleteAttachmentRequest,Empty,OperationMetadata> deleteAttachmentOperationCallable()
Returns
Type Description
OperationCallable<DeleteAttachmentRequest,Empty,OperationMetadata>
Overrides

deleteFileCallable()

public UnaryCallable<DeleteFileRequest,Operation> deleteFileCallable()
Returns
Type Description
UnaryCallable<DeleteFileRequest,Operation>
Overrides

deleteFileOperationCallable()

public OperationCallable<DeleteFileRequest,Empty,OperationMetadata> deleteFileOperationCallable()
Returns
Type Description
OperationCallable<DeleteFileRequest,Empty,OperationMetadata>
Overrides

deletePackageCallable()

public UnaryCallable<DeletePackageRequest,Operation> deletePackageCallable()
Returns
Type Description
UnaryCallable<DeletePackageRequest,Operation>
Overrides

deletePackageOperationCallable()

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

deleteRepositoryCallable()

public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Returns
Type Description
UnaryCallable<DeleteRepositoryRequest,Operation>
Overrides

deleteRepositoryOperationCallable()

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

deleteRuleCallable()

public UnaryCallable<DeleteRuleRequest,Empty> deleteRuleCallable()
Returns
Type Description
UnaryCallable<DeleteRuleRequest,Empty>
Overrides

deleteTagCallable()

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

deleteVersionCallable()

public UnaryCallable<DeleteVersionRequest,Operation> deleteVersionCallable()
Returns
Type Description
UnaryCallable<DeleteVersionRequest,Operation>
Overrides

deleteVersionOperationCallable()

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

getAttachmentCallable()

public UnaryCallable<GetAttachmentRequest,Attachment> getAttachmentCallable()
Returns
Type Description
UnaryCallable<GetAttachmentRequest,Attachment>
Overrides

getDockerImageCallable()

public UnaryCallable<GetDockerImageRequest,DockerImage> getDockerImageCallable()
Returns
Type Description
UnaryCallable<GetDockerImageRequest,DockerImage>
Overrides

getFileCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getMavenArtifactCallable()

public UnaryCallable<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactCallable()
Returns
Type Description
UnaryCallable<GetMavenArtifactRequest,MavenArtifact>
Overrides

getNpmPackageCallable()

public UnaryCallable<GetNpmPackageRequest,NpmPackage> getNpmPackageCallable()
Returns
Type Description
UnaryCallable<GetNpmPackageRequest,NpmPackage>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getPackageCallable()

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

getProjectSettingsCallable()

public UnaryCallable<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsCallable()
Returns
Type Description
UnaryCallable<GetProjectSettingsRequest,ProjectSettings>
Overrides

getPythonPackageCallable()

public UnaryCallable<GetPythonPackageRequest,PythonPackage> getPythonPackageCallable()
Returns
Type Description
UnaryCallable<GetPythonPackageRequest,PythonPackage>
Overrides

getRepositoryCallable()

public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns
Type Description
UnaryCallable<GetRepositoryRequest,Repository>
Overrides

getRuleCallable()

public UnaryCallable<GetRuleRequest,Rule> getRuleCallable()
Returns
Type Description
UnaryCallable<GetRuleRequest,Rule>
Overrides

getTagCallable()

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

getVPCSCConfigCallable()

public UnaryCallable<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigCallable()
Returns
Type Description
UnaryCallable<GetVPCSCConfigRequest,VPCSCConfig>
Overrides

getVersionCallable()

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

importAptArtifactsCallable()

public UnaryCallable<ImportAptArtifactsRequest,Operation> importAptArtifactsCallable()
Returns
Type Description
UnaryCallable<ImportAptArtifactsRequest,Operation>
Overrides

importAptArtifactsOperationCallable()

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

importYumArtifactsCallable()

public UnaryCallable<ImportYumArtifactsRequest,Operation> importYumArtifactsCallable()
Returns
Type Description
UnaryCallable<ImportYumArtifactsRequest,Operation>
Overrides

importYumArtifactsOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAttachmentsCallable()

public UnaryCallable<ListAttachmentsRequest,ListAttachmentsResponse> listAttachmentsCallable()
Returns
Type Description
UnaryCallable<ListAttachmentsRequest,ListAttachmentsResponse>
Overrides

listAttachmentsPagedCallable()

public UnaryCallable<ListAttachmentsRequest,ArtifactRegistryClient.ListAttachmentsPagedResponse> listAttachmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListAttachmentsRequest,ListAttachmentsPagedResponse>
Overrides

listDockerImagesCallable()

public UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse> listDockerImagesCallable()
Returns
Type Description
UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse>
Overrides

listDockerImagesPagedCallable()

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

listFilesCallable()

public UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
Returns
Type Description
UnaryCallable<ListFilesRequest,ListFilesResponse>
Overrides

listFilesPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listMavenArtifactsCallable()

public UnaryCallable<ListMavenArtifactsRequest,ListMavenArtifactsResponse> listMavenArtifactsCallable()
Returns
Type Description
UnaryCallable<ListMavenArtifactsRequest,ListMavenArtifactsResponse>
Overrides

listMavenArtifactsPagedCallable()

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

listNpmPackagesCallable()

public UnaryCallable<ListNpmPackagesRequest,ListNpmPackagesResponse> listNpmPackagesCallable()
Returns
Type Description
UnaryCallable<ListNpmPackagesRequest,ListNpmPackagesResponse>
Overrides

listNpmPackagesPagedCallable()

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

listPackagesCallable()

public UnaryCallable<ListPackagesRequest,ListPackagesResponse> listPackagesCallable()
Returns
Type Description
UnaryCallable<ListPackagesRequest,ListPackagesResponse>
Overrides

listPackagesPagedCallable()

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

listPythonPackagesCallable()

public UnaryCallable<ListPythonPackagesRequest,ListPythonPackagesResponse> listPythonPackagesCallable()
Returns
Type Description
UnaryCallable<ListPythonPackagesRequest,ListPythonPackagesResponse>
Overrides

listPythonPackagesPagedCallable()

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

listRepositoriesCallable()

public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Returns
Type Description
UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse>
Overrides

listRepositoriesPagedCallable()

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

listRulesCallable()

public UnaryCallable<ListRulesRequest,ListRulesResponse> listRulesCallable()
Returns
Type Description
UnaryCallable<ListRulesRequest,ListRulesResponse>
Overrides

listRulesPagedCallable()

public UnaryCallable<ListRulesRequest,ArtifactRegistryClient.ListRulesPagedResponse> listRulesPagedCallable()
Returns
Type Description
UnaryCallable<ListRulesRequest,ListRulesPagedResponse>
Overrides

listTagsCallable()

public UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
Returns
Type Description
UnaryCallable<ListTagsRequest,ListTagsResponse>
Overrides

listTagsPagedCallable()

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

listVersionsCallable()

public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
Returns
Type Description
UnaryCallable<ListVersionsRequest,ListVersionsResponse>
Overrides

listVersionsPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateFileCallable()

public UnaryCallable<UpdateFileRequest,File> updateFileCallable()
Returns
Type Description
UnaryCallable<UpdateFileRequest,File>
Overrides

updatePackageCallable()

public UnaryCallable<UpdatePackageRequest,Package> updatePackageCallable()
Returns
Type Description
UnaryCallable<UpdatePackageRequest,Package>
Overrides

updateProjectSettingsCallable()

public UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsCallable()
Returns
Type Description
UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings>
Overrides

updateRepositoryCallable()

public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Returns
Type Description
UnaryCallable<UpdateRepositoryRequest,Repository>
Overrides

updateRuleCallable()

public UnaryCallable<UpdateRuleRequest,Rule> updateRuleCallable()
Returns
Type Description
UnaryCallable<UpdateRuleRequest,Rule>
Overrides

updateTagCallable()

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

updateVPCSCConfigCallable()

public UnaryCallable<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigCallable()
Returns
Type Description
UnaryCallable<UpdateVPCSCConfigRequest,VPCSCConfig>
Overrides

updateVersionCallable()

public UnaryCallable<UpdateVersionRequest,Version> updateVersionCallable()
Returns
Type Description
UnaryCallable<UpdateVersionRequest,Version>
Overrides