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