Send feedback
Class HttpJsonArtifactRegistryStub (1.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.0 keyboard_arrow_down
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<GetLocationRequest , Location > getLocationCallable ()
Returns
Type Description UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
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<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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]