Send feedback
Class HttpJsonRegistryStub (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.0 keyboard_arrow_down
public class HttpJsonRegistryStub extends RegistryStub
REST stub implementation for the Registry service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegistryStub create ( ClientContext clientContext )
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegistryStub create ( ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
Parameters
Returns
Exceptions
create(RegistryStubSettings settings)
public static final HttpJsonRegistryStub create ( RegistryStubSettings settings )
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors ()
Returns
Constructors
HttpJsonRegistryStub(RegistryStubSettings settings, ClientContext clientContext)
protected HttpJsonRegistryStub ( RegistryStubSettings settings , ClientContext clientContext )
Constructs an instance of HttpJsonRegistryStub, 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
HttpJsonRegistryStub(RegistryStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegistryStub ( RegistryStubSettings settings , ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
Constructs an instance of HttpJsonRegistryStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
Parameters
Returns
Exceptions
close()
public final void close ()
Overrides
createApiCallable()
public UnaryCallable<CreateApiRequest , Api > createApiCallable ()
Returns
Overrides
createApiDeploymentCallable()
public UnaryCallable<CreateApiDeploymentRequest , ApiDeployment > createApiDeploymentCallable ()
Returns
Overrides
createApiSpecCallable()
public UnaryCallable<CreateApiSpecRequest , ApiSpec > createApiSpecCallable ()
Returns
Overrides
createApiVersionCallable()
public UnaryCallable<CreateApiVersionRequest , ApiVersion > createApiVersionCallable ()
Returns
Overrides
createArtifactCallable()
public UnaryCallable<CreateArtifactRequest , Artifact > createArtifactCallable ()
Returns
Overrides
deleteApiCallable()
public UnaryCallable<DeleteApiRequest , Empty > deleteApiCallable ()
Returns
Overrides
deleteApiDeploymentCallable()
public UnaryCallable<DeleteApiDeploymentRequest , Empty > deleteApiDeploymentCallable ()
Returns
Overrides
deleteApiDeploymentRevisionCallable()
public UnaryCallable<DeleteApiDeploymentRevisionRequest , ApiDeployment > deleteApiDeploymentRevisionCallable ()
Returns
Overrides
deleteApiSpecCallable()
public UnaryCallable<DeleteApiSpecRequest , Empty > deleteApiSpecCallable ()
Returns
Overrides
deleteApiSpecRevisionCallable()
public UnaryCallable<DeleteApiSpecRevisionRequest , ApiSpec > deleteApiSpecRevisionCallable ()
Returns
Overrides
deleteApiVersionCallable()
public UnaryCallable<DeleteApiVersionRequest , Empty > deleteApiVersionCallable ()
Returns
Overrides
deleteArtifactCallable()
public UnaryCallable<DeleteArtifactRequest , Empty > deleteArtifactCallable ()
Returns
Overrides
getApiCallable()
public UnaryCallable<GetApiRequest , Api > getApiCallable ()
Returns
Overrides
getApiDeploymentCallable()
public UnaryCallable<GetApiDeploymentRequest , ApiDeployment > getApiDeploymentCallable ()
Returns
Overrides
getApiSpecCallable()
public UnaryCallable<GetApiSpecRequest , ApiSpec > getApiSpecCallable ()
Returns
Overrides
getApiSpecContentsCallable()
public UnaryCallable<GetApiSpecContentsRequest , HttpBody > getApiSpecContentsCallable ()
Returns
Overrides
getApiVersionCallable()
public UnaryCallable<GetApiVersionRequest , ApiVersion > getApiVersionCallable ()
Returns
Overrides
getArtifactCallable()
public UnaryCallable<GetArtifactRequest , Artifact > getArtifactCallable ()
Returns
Overrides
getArtifactContentsCallable()
public UnaryCallable<GetArtifactContentsRequest , HttpBody > getArtifactContentsCallable ()
Returns
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
isShutdown()
public boolean isShutdown ()
Returns
isTerminated()
public boolean isTerminated ()
Returns
listApiDeploymentRevisionsCallable()
public UnaryCallable<ListApiDeploymentRevisionsRequest , ListApiDeploymentRevisionsResponse > listApiDeploymentRevisionsCallable ()
Returns
Overrides
listApiDeploymentRevisionsPagedCallable()
public UnaryCallable<ListApiDeploymentRevisionsRequest , RegistryClient . ListApiDeploymentRevisionsPagedResponse > listApiDeploymentRevisionsPagedCallable ()
Returns
Overrides
listApiDeploymentsCallable()
public UnaryCallable<ListApiDeploymentsRequest , ListApiDeploymentsResponse > listApiDeploymentsCallable ()
Returns
Overrides
listApiDeploymentsPagedCallable()
public UnaryCallable<ListApiDeploymentsRequest , RegistryClient . ListApiDeploymentsPagedResponse > listApiDeploymentsPagedCallable ()
Returns
Overrides
listApiSpecRevisionsCallable()
public UnaryCallable<ListApiSpecRevisionsRequest , ListApiSpecRevisionsResponse > listApiSpecRevisionsCallable ()
Returns
Overrides
listApiSpecRevisionsPagedCallable()
public UnaryCallable<ListApiSpecRevisionsRequest , RegistryClient . ListApiSpecRevisionsPagedResponse > listApiSpecRevisionsPagedCallable ()
Returns
Overrides
listApiSpecsCallable()
public UnaryCallable<ListApiSpecsRequest , ListApiSpecsResponse > listApiSpecsCallable ()
Returns
Overrides
listApiSpecsPagedCallable()
public UnaryCallable<ListApiSpecsRequest , RegistryClient . ListApiSpecsPagedResponse > listApiSpecsPagedCallable ()
Returns
Overrides
listApiVersionsCallable()
public UnaryCallable<ListApiVersionsRequest , ListApiVersionsResponse > listApiVersionsCallable ()
Returns
Overrides
listApiVersionsPagedCallable()
public UnaryCallable<ListApiVersionsRequest , RegistryClient . ListApiVersionsPagedResponse > listApiVersionsPagedCallable ()
Returns
Overrides
listApisCallable()
public UnaryCallable<ListApisRequest , ListApisResponse > listApisCallable ()
Returns
Overrides
listApisPagedCallable()
public UnaryCallable<ListApisRequest , RegistryClient . ListApisPagedResponse > listApisPagedCallable ()
Returns
Overrides
listArtifactsCallable()
public UnaryCallable<ListArtifactsRequest , ListArtifactsResponse > listArtifactsCallable ()
Returns
Overrides
listArtifactsPagedCallable()
public UnaryCallable<ListArtifactsRequest , RegistryClient . ListArtifactsPagedResponse > listArtifactsPagedCallable ()
Returns
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 , RegistryClient . ListLocationsPagedResponse > listLocationsPagedCallable ()
Returns
Overrides
replaceArtifactCallable()
public UnaryCallable<ReplaceArtifactRequest , Artifact > replaceArtifactCallable ()
Returns
Overrides
rollbackApiDeploymentCallable()
public UnaryCallable<RollbackApiDeploymentRequest , ApiDeployment > rollbackApiDeploymentCallable ()
Returns
Overrides
rollbackApiSpecCallable()
public UnaryCallable<RollbackApiSpecRequest , ApiSpec > rollbackApiSpecCallable ()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest , Policy > setIamPolicyCallable ()
Returns
Type Description UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
tagApiDeploymentRevisionCallable()
public UnaryCallable<TagApiDeploymentRevisionRequest , ApiDeployment > tagApiDeploymentRevisionCallable ()
Returns
Overrides
tagApiSpecRevisionCallable()
public UnaryCallable<TagApiSpecRevisionRequest , ApiSpec > tagApiSpecRevisionCallable ()
Returns
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsCallable ()
Returns
Type Description UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
updateApiCallable()
public UnaryCallable<UpdateApiRequest , Api > updateApiCallable ()
Returns
Overrides
updateApiDeploymentCallable()
public UnaryCallable<UpdateApiDeploymentRequest , ApiDeployment > updateApiDeploymentCallable ()
Returns
Overrides
updateApiSpecCallable()
public UnaryCallable<UpdateApiSpecRequest , ApiSpec > updateApiSpecCallable ()
Returns
Overrides
updateApiVersionCallable()
public UnaryCallable<UpdateApiVersionRequest , ApiVersion > updateApiVersionCallable ()
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-28 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-28 UTC."],[],[]]