- 1.50.0 (latest)
- 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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonArtifactRegistryStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonArtifactRegistryStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonArtifactRegistryStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ArtifactRegistryStubSettings settings)
public static final HttpJsonArtifactRegistryStub create(ArtifactRegistryStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ArtifactRegistryStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonArtifactRegistryStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
settings | ArtifactRegistryStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
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 |
close()
public final void close()
createRepositoryCallable()
public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRepositoryRequest,Operation> |
createRepositoryOperationCallable()
public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> |
createTagCallable()
public UnaryCallable<CreateTagRequest,Tag> createTagCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateTagRequest,Tag> |
deletePackageCallable()
public UnaryCallable<DeletePackageRequest,Operation> deletePackageCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePackageRequest,Operation> |
deletePackageOperationCallable()
public OperationCallable<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeletePackageRequest,Empty,OperationMetadata> |
deleteRepositoryCallable()
public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRepositoryRequest,Operation> |
deleteRepositoryOperationCallable()
public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> |
deleteTagCallable()
public UnaryCallable<DeleteTagRequest,Empty> deleteTagCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTagRequest,Empty> |
deleteVersionCallable()
public UnaryCallable<DeleteVersionRequest,Operation> deleteVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteVersionRequest,Operation> |
deleteVersionOperationCallable()
public OperationCallable<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteVersionRequest,Empty,OperationMetadata> |
getFileCallable()
public UnaryCallable<GetFileRequest,File> getFileCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFileRequest,File> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getPackageCallable()
public UnaryCallable<GetPackageRequest,Package> getPackageCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPackageRequest,Package> |
getProjectSettingsCallable()
public UnaryCallable<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetProjectSettingsRequest,ProjectSettings> |
getRepositoryCallable()
public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRepositoryRequest,Repository> |
getTagCallable()
public UnaryCallable<GetTagRequest,Tag> getTagCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTagRequest,Tag> |
getVersionCallable()
public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVersionRequest,Version> |
importAptArtifactsCallable()
public UnaryCallable<ImportAptArtifactsRequest,Operation> importAptArtifactsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportAptArtifactsRequest,Operation> |
importAptArtifactsOperationCallable()
public OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> |
importYumArtifactsCallable()
public UnaryCallable<ImportYumArtifactsRequest,Operation> importYumArtifactsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportYumArtifactsRequest,Operation> |
importYumArtifactsOperationCallable()
public OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listFilesCallable()
public UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFilesRequest,ListFilesResponse> |
listFilesPagedCallable()
public UnaryCallable<ListFilesRequest,ArtifactRegistryClient.ListFilesPagedResponse> listFilesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFilesRequest,ListFilesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listPackagesCallable()
public UnaryCallable<ListPackagesRequest,ListPackagesResponse> listPackagesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPackagesRequest,ListPackagesResponse> |
listPackagesPagedCallable()
public UnaryCallable<ListPackagesRequest,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPackagesRequest,ListPackagesPagedResponse> |
listRepositoriesCallable()
public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> |
listRepositoriesPagedCallable()
public UnaryCallable<ListRepositoriesRequest,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRepositoriesRequest,ListRepositoriesPagedResponse> |
listTagsCallable()
public UnaryCallable<ListTagsRequest,ListTagsResponse> listTagsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTagsRequest,ListTagsResponse> |
listTagsPagedCallable()
public UnaryCallable<ListTagsRequest,ArtifactRegistryClient.ListTagsPagedResponse> listTagsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTagsRequest,ListTagsPagedResponse> |
listVersionsCallable()
public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVersionsRequest,ListVersionsResponse> |
listVersionsPagedCallable()
public UnaryCallable<ListVersionsRequest,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVersionsRequest,ListVersionsPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
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()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateProjectSettingsCallable()
public UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateProjectSettingsRequest,ProjectSettings> |
updateRepositoryCallable()
public UnaryCallable<UpdateRepositoryRequest,Repository> updateRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRepositoryRequest,Repository> |
updateTagCallable()
public UnaryCallable<UpdateTagRequest,Tag> updateTagCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateTagRequest,Tag> |