- 1.53.0 (latest)
- 1.52.0
- 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 HttpJsonArtifactRegistryStub extends ArtifactRegistryStub
REST stub implementation for the ArtifactRegistry service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonArtifactRegistryStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonArtifactRegistryStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonArtifactRegistryStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonArtifactRegistryStub |
Type | Description |
IOException |
create(ArtifactRegistryStubSettings settings)
public static final HttpJsonArtifactRegistryStub create(ArtifactRegistryStubSettings settings)
Name | Description |
settings | ArtifactRegistryStubSettings |
Type | Description |
HttpJsonArtifactRegistryStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext)
protected HttpJsonArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonArtifactRegistryStub, 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 |
HttpJsonArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonArtifactRegistryStub(ArtifactRegistryStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonArtifactRegistryStub, 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 | HttpJsonStubCallableFactory |
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()
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> |
getDockerImageCallable()
public UnaryCallable<GetDockerImageRequest,DockerImage> getDockerImageCallable()
Type | Description |
UnaryCallable<GetDockerImageRequest,DockerImage> |
getFileCallable()
public UnaryCallable<GetFileRequest,File> getFileCallable()
Type | Description |
UnaryCallable<GetFileRequest,File> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getPackageCallable()
public UnaryCallable<GetPackageRequest,Package> getPackageCallable()
Type | Description |
UnaryCallable<GetPackageRequest,Package> |
getProjectSettingsCallable()
public UnaryCallable<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsCallable()
Type | Description |
UnaryCallable<GetProjectSettingsRequest,ProjectSettings> |
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> |
importAptArtifactsCallable()
public UnaryCallable<ImportAptArtifactsRequest,Operation> importAptArtifactsCallable()
Type | Description |
UnaryCallable<ImportAptArtifactsRequest,Operation> |
importAptArtifactsOperationCallable()
public OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationCallable()
Type | Description |
OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> |
importYumArtifactsCallable()
public UnaryCallable<ImportYumArtifactsRequest,Operation> importYumArtifactsCallable()
Type | Description |
UnaryCallable<ImportYumArtifactsRequest,Operation> |
importYumArtifactsOperationCallable()
public OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationCallable()
Type | Description |
OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listDockerImagesCallable()
public UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse> listDockerImagesCallable()
Type | Description |
UnaryCallable<ListDockerImagesRequest,ListDockerImagesResponse> |
listDockerImagesPagedCallable()
public UnaryCallable<ListDockerImagesRequest,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesPagedCallable()
Type | Description |
UnaryCallable<ListDockerImagesRequest,ListDockerImagesPagedResponse> |
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> |
updateProjectSettingsCallable()
public UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsCallable()
Type | Description |
UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> |
updateRepositoryCallable()
public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Type | Description |
UnaryCallable<UpdateRepositoryRequest,Repository> |
updateTagCallable()
public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Type | Description |
UnaryCallable<UpdateTagRequest,Tag> |