Class GrpcRegistryStub (0.23.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.23.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  GrpcRegistryStub   extends   RegistryStub  
  gRPC 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   GrpcRegistryStub   create ( ClientContext   clientContext )  
  
  
  
  create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
public   static   final   GrpcRegistryStub   create ( ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  
  
  
  create(RegistryStubSettings settings) 
  
    
public   static   final   GrpcRegistryStub   create ( RegistryStubSettings   settings )  
  
  
  
  Constructors
   
  GrpcRegistryStub(RegistryStubSettings settings, ClientContext clientContext) 
  
    
protected   GrpcRegistryStub ( RegistryStubSettings   settings ,   ClientContext   clientContext )  
  Constructs an instance of GrpcRegistryStub, 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.
GrpcRegistryStub(RegistryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) 
  
    
protected   GrpcRegistryStub ( RegistryStubSettings   settings ,   ClientContext   clientContext ,   GrpcStubCallableFactory   callableFactory )  
  Constructs an instance of GrpcRegistryStub, 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.
Methods
   
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  close() 
  
    
public   final   void   close ()  
  Overrides 
  
  createApiCallable() 
  
    
public   UnaryCallable<CreateApiRequest , Api >  createApiCallable ()  
  
  Overrides 
  
  createApiDeploymentCallable() 
  
    
public   UnaryCallable<CreateApiDeploymentRequest , ApiDeployment >  createApiDeploymentCallable ()  
  
  Overrides 
  
  createApiSpecCallable() 
  
    
public   UnaryCallable<CreateApiSpecRequest , ApiSpec >  createApiSpecCallable ()  
  
  Overrides 
  
  createApiVersionCallable() 
  
    
public   UnaryCallable<CreateApiVersionRequest , ApiVersion >  createApiVersionCallable ()  
  
  Overrides 
  
  createArtifactCallable() 
  
    
public   UnaryCallable<CreateArtifactRequest , Artifact >  createArtifactCallable ()  
  
  Overrides 
  
  deleteApiCallable() 
  
    
public   UnaryCallable<DeleteApiRequest , Empty >  deleteApiCallable ()  
  
  Overrides 
  
  deleteApiDeploymentCallable() 
  
    
public   UnaryCallable<DeleteApiDeploymentRequest , Empty >  deleteApiDeploymentCallable ()  
  
  Overrides 
  
  deleteApiDeploymentRevisionCallable() 
  
    
public   UnaryCallable<DeleteApiDeploymentRevisionRequest , ApiDeployment >  deleteApiDeploymentRevisionCallable ()  
  
  Overrides 
  
  deleteApiSpecCallable() 
  
    
public   UnaryCallable<DeleteApiSpecRequest , Empty >  deleteApiSpecCallable ()  
  
  Overrides 
  
  deleteApiSpecRevisionCallable() 
  
    
public   UnaryCallable<DeleteApiSpecRevisionRequest , ApiSpec >  deleteApiSpecRevisionCallable ()  
  
  Overrides 
  
  deleteApiVersionCallable() 
  
    
public   UnaryCallable<DeleteApiVersionRequest , Empty >  deleteApiVersionCallable ()  
  
  Overrides 
  
  deleteArtifactCallable() 
  
    
public   UnaryCallable<DeleteArtifactRequest , Empty >  deleteArtifactCallable ()  
  
  Overrides 
  
  getApiCallable() 
  
    
public   UnaryCallable<GetApiRequest , Api >  getApiCallable ()  
  
  Overrides 
  
  getApiDeploymentCallable() 
  
    
public   UnaryCallable<GetApiDeploymentRequest , ApiDeployment >  getApiDeploymentCallable ()  
  
  Overrides 
  
  getApiSpecCallable() 
  
    
public   UnaryCallable<GetApiSpecRequest , ApiSpec >  getApiSpecCallable ()  
  
  Overrides 
  
  getApiSpecContentsCallable() 
  
    
public   UnaryCallable<GetApiSpecContentsRequest , HttpBody >  getApiSpecContentsCallable ()  
  
  Overrides 
  
  getApiVersionCallable() 
  
    
public   UnaryCallable<GetApiVersionRequest , ApiVersion >  getApiVersionCallable ()  
  
  Overrides 
  
  getArtifactCallable() 
  
    
public   UnaryCallable<GetArtifactRequest , Artifact >  getArtifactCallable ()  
  
  Overrides 
  
  getArtifactContentsCallable() 
  
    
public   UnaryCallable<GetArtifactContentsRequest , HttpBody >  getArtifactContentsCallable ()  
  
  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 
  
  getOperationsStub() 
  
    
public   GrpcOperationsStub   getOperationsStub ()  
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  listApiDeploymentRevisionsCallable() 
  
    
public   UnaryCallable<ListApiDeploymentRevisionsRequest , ListApiDeploymentRevisionsResponse >  listApiDeploymentRevisionsCallable ()  
  
  Overrides 
  
  listApiDeploymentRevisionsPagedCallable() 
  
    
public   UnaryCallable<ListApiDeploymentRevisionsRequest , RegistryClient . ListApiDeploymentRevisionsPagedResponse >  listApiDeploymentRevisionsPagedCallable ()  
  
  Overrides 
  
  listApiDeploymentsCallable() 
  
    
public   UnaryCallable<ListApiDeploymentsRequest , ListApiDeploymentsResponse >  listApiDeploymentsCallable ()  
  
  Overrides 
  
  listApiDeploymentsPagedCallable() 
  
    
public   UnaryCallable<ListApiDeploymentsRequest , RegistryClient . ListApiDeploymentsPagedResponse >  listApiDeploymentsPagedCallable ()  
  
  Overrides 
  
  listApiSpecRevisionsCallable() 
  
    
public   UnaryCallable<ListApiSpecRevisionsRequest , ListApiSpecRevisionsResponse >  listApiSpecRevisionsCallable ()  
  
  Overrides 
  
  listApiSpecRevisionsPagedCallable() 
  
    
public   UnaryCallable<ListApiSpecRevisionsRequest , RegistryClient . ListApiSpecRevisionsPagedResponse >  listApiSpecRevisionsPagedCallable ()  
  
  Overrides 
  
  listApiSpecsCallable() 
  
    
public   UnaryCallable<ListApiSpecsRequest , ListApiSpecsResponse >  listApiSpecsCallable ()  
  
  Overrides 
  
  listApiSpecsPagedCallable() 
  
    
public   UnaryCallable<ListApiSpecsRequest , RegistryClient . ListApiSpecsPagedResponse >  listApiSpecsPagedCallable ()  
  
  Overrides 
  
  listApiVersionsCallable() 
  
    
public   UnaryCallable<ListApiVersionsRequest , ListApiVersionsResponse >  listApiVersionsCallable ()  
  
  Overrides 
  
  listApiVersionsPagedCallable() 
  
    
public   UnaryCallable<ListApiVersionsRequest , RegistryClient . ListApiVersionsPagedResponse >  listApiVersionsPagedCallable ()  
  
  Overrides 
  
  listApisCallable() 
  
    
public   UnaryCallable<ListApisRequest , ListApisResponse >  listApisCallable ()  
  
  Overrides 
  
  listApisPagedCallable() 
  
    
public   UnaryCallable<ListApisRequest , RegistryClient . ListApisPagedResponse >  listApisPagedCallable ()  
  
  Overrides 
  
  listArtifactsCallable() 
  
    
public   UnaryCallable<ListArtifactsRequest , ListArtifactsResponse >  listArtifactsCallable ()  
  
  Overrides 
  
  listArtifactsPagedCallable() 
  
    
public   UnaryCallable<ListArtifactsRequest , RegistryClient . ListArtifactsPagedResponse >  listArtifactsPagedCallable ()  
  
  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 ()  
  
  Overrides 
  
  replaceArtifactCallable() 
  
    
public   UnaryCallable<ReplaceArtifactRequest , Artifact >  replaceArtifactCallable ()  
  
  Overrides 
  
  rollbackApiDeploymentCallable() 
  
    
public   UnaryCallable<RollbackApiDeploymentRequest , ApiDeployment >  rollbackApiDeploymentCallable ()  
  
  Overrides 
  
  rollbackApiSpecCallable() 
  
    
public   UnaryCallable<RollbackApiSpecRequest , ApiSpec >  rollbackApiSpecCallable ()  
  
  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 ()  
  
  Overrides 
  
  tagApiSpecRevisionCallable() 
  
    
public   UnaryCallable<TagApiSpecRevisionRequest , ApiSpec >  tagApiSpecRevisionCallable ()  
  
  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 ()  
  
  Overrides 
  
  updateApiDeploymentCallable() 
  
    
public   UnaryCallable<UpdateApiDeploymentRequest , ApiDeployment >  updateApiDeploymentCallable ()  
  
  Overrides 
  
  updateApiSpecCallable() 
  
    
public   UnaryCallable<UpdateApiSpecRequest , ApiSpec >  updateApiSpecCallable ()  
  
  Overrides 
  
  updateApiVersionCallable() 
  
    
public   UnaryCallable<UpdateApiVersionRequest , ApiVersion >  updateApiVersionCallable ()  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]