Class RegistryGrpc.RegistryBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RegistryGrpc.RegistryBlockingV2Stub>
com.google.cloud.apigeeregistry.v1.RegistryGrpc.RegistryBlockingV2Stub
Enclosing class:
RegistryGrpc

public static final class RegistryGrpc.RegistryBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<RegistryGrpc.RegistryBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Registry.
 The Registry service allows teams to manage descriptions of APIs.
 
  • Method Details

    • build

      protected RegistryGrpc.RegistryBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<RegistryGrpc.RegistryBlockingV2Stub>
    • listApis

      public ListApisResponse listApis(ListApisRequest request) throws io.grpc.StatusException
       Returns matching APIs.
       
      Throws:
      io.grpc.StatusException
    • getApi

      public Api getApi(GetApiRequest request) throws io.grpc.StatusException
       Returns a specified API.
       
      Throws:
      io.grpc.StatusException
    • createApi

      public Api createApi(CreateApiRequest request) throws io.grpc.StatusException
       Creates a specified API.
       
      Throws:
      io.grpc.StatusException
    • updateApi

      public Api updateApi(UpdateApiRequest request) throws io.grpc.StatusException
       Used to modify a specified API.
       
      Throws:
      io.grpc.StatusException
    • deleteApi

      public com.google.protobuf.Empty deleteApi(DeleteApiRequest request) throws io.grpc.StatusException
       Removes a specified API and all of the resources that it
       owns.
       
      Throws:
      io.grpc.StatusException
    • listApiVersions

      public ListApiVersionsResponse listApiVersions(ListApiVersionsRequest request) throws io.grpc.StatusException
       Returns matching versions.
       
      Throws:
      io.grpc.StatusException
    • getApiVersion

      public ApiVersion getApiVersion(GetApiVersionRequest request) throws io.grpc.StatusException
       Returns a specified version.
       
      Throws:
      io.grpc.StatusException
    • createApiVersion

      public ApiVersion createApiVersion(CreateApiVersionRequest request) throws io.grpc.StatusException
       Creates a specified version.
       
      Throws:
      io.grpc.StatusException
    • updateApiVersion

      public ApiVersion updateApiVersion(UpdateApiVersionRequest request) throws io.grpc.StatusException
       Used to modify a specified version.
       
      Throws:
      io.grpc.StatusException
    • deleteApiVersion

      public com.google.protobuf.Empty deleteApiVersion(DeleteApiVersionRequest request) throws io.grpc.StatusException
       Removes a specified version and all of the resources that
       it owns.
       
      Throws:
      io.grpc.StatusException
    • listApiSpecs

      public ListApiSpecsResponse listApiSpecs(ListApiSpecsRequest request) throws io.grpc.StatusException
       Returns matching specs.
       
      Throws:
      io.grpc.StatusException
    • getApiSpec

      public ApiSpec getApiSpec(GetApiSpecRequest request) throws io.grpc.StatusException
       Returns a specified spec.
       
      Throws:
      io.grpc.StatusException
    • getApiSpecContents

      public HttpBody getApiSpecContents(GetApiSpecContentsRequest request) throws io.grpc.StatusException
       Returns the contents of a specified spec.
       If specs are stored with GZip compression, the default behavior
       is to return the spec uncompressed (the mime_type response field
       indicates the exact format returned).
       
      Throws:
      io.grpc.StatusException
    • createApiSpec

      public ApiSpec createApiSpec(CreateApiSpecRequest request) throws io.grpc.StatusException
       Creates a specified spec.
       
      Throws:
      io.grpc.StatusException
    • updateApiSpec

      public ApiSpec updateApiSpec(UpdateApiSpecRequest request) throws io.grpc.StatusException
       Used to modify a specified spec.
       
      Throws:
      io.grpc.StatusException
    • deleteApiSpec

      public com.google.protobuf.Empty deleteApiSpec(DeleteApiSpecRequest request) throws io.grpc.StatusException
       Removes a specified spec, all revisions, and all child
       resources (e.g., artifacts).
       
      Throws:
      io.grpc.StatusException
    • tagApiSpecRevision

      public ApiSpec tagApiSpecRevision(TagApiSpecRevisionRequest request) throws io.grpc.StatusException
       Adds a tag to a specified revision of a spec.
       
      Throws:
      io.grpc.StatusException
    • listApiSpecRevisions

      public ListApiSpecRevisionsResponse listApiSpecRevisions(ListApiSpecRevisionsRequest request) throws io.grpc.StatusException
       Lists all revisions of a spec.
       Revisions are returned in descending order of revision creation time.
       
      Throws:
      io.grpc.StatusException
    • rollbackApiSpec

      public ApiSpec rollbackApiSpec(RollbackApiSpecRequest request) throws io.grpc.StatusException
       Sets the current revision to a specified prior revision.
       Note that this creates a new revision with a new revision ID.
       
      Throws:
      io.grpc.StatusException
    • deleteApiSpecRevision

      public ApiSpec deleteApiSpecRevision(DeleteApiSpecRevisionRequest request) throws io.grpc.StatusException
       Deletes a revision of a spec.
       
      Throws:
      io.grpc.StatusException
    • listApiDeployments

      public ListApiDeploymentsResponse listApiDeployments(ListApiDeploymentsRequest request) throws io.grpc.StatusException
       Returns matching deployments.
       
      Throws:
      io.grpc.StatusException
    • getApiDeployment

      public ApiDeployment getApiDeployment(GetApiDeploymentRequest request) throws io.grpc.StatusException
       Returns a specified deployment.
       
      Throws:
      io.grpc.StatusException
    • createApiDeployment

      public ApiDeployment createApiDeployment(CreateApiDeploymentRequest request) throws io.grpc.StatusException
       Creates a specified deployment.
       
      Throws:
      io.grpc.StatusException
    • updateApiDeployment

      public ApiDeployment updateApiDeployment(UpdateApiDeploymentRequest request) throws io.grpc.StatusException
       Used to modify a specified deployment.
       
      Throws:
      io.grpc.StatusException
    • deleteApiDeployment

      public com.google.protobuf.Empty deleteApiDeployment(DeleteApiDeploymentRequest request) throws io.grpc.StatusException
       Removes a specified deployment, all revisions, and all
       child resources (e.g., artifacts).
       
      Throws:
      io.grpc.StatusException
    • tagApiDeploymentRevision

      public ApiDeployment tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request) throws io.grpc.StatusException
       Adds a tag to a specified revision of a
       deployment.
       
      Throws:
      io.grpc.StatusException
    • listApiDeploymentRevisions

      public ListApiDeploymentRevisionsResponse listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request) throws io.grpc.StatusException
       Lists all revisions of a deployment.
       Revisions are returned in descending order of revision creation time.
       
      Throws:
      io.grpc.StatusException
    • rollbackApiDeployment

      public ApiDeployment rollbackApiDeployment(RollbackApiDeploymentRequest request) throws io.grpc.StatusException
       Sets the current revision to a specified prior
       revision. Note that this creates a new revision with a new revision ID.
       
      Throws:
      io.grpc.StatusException
    • deleteApiDeploymentRevision

      public ApiDeployment deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request) throws io.grpc.StatusException
       Deletes a revision of a deployment.
       
      Throws:
      io.grpc.StatusException
    • listArtifacts

      public ListArtifactsResponse listArtifacts(ListArtifactsRequest request) throws io.grpc.StatusException
       Returns matching artifacts.
       
      Throws:
      io.grpc.StatusException
    • getArtifact

      public Artifact getArtifact(GetArtifactRequest request) throws io.grpc.StatusException
       Returns a specified artifact.
       
      Throws:
      io.grpc.StatusException
    • getArtifactContents

      public HttpBody getArtifactContents(GetArtifactContentsRequest request) throws io.grpc.StatusException
       Returns the contents of a specified artifact.
       If artifacts are stored with GZip compression, the default behavior
       is to return the artifact uncompressed (the mime_type response field
       indicates the exact format returned).
       
      Throws:
      io.grpc.StatusException
    • createArtifact

      public Artifact createArtifact(CreateArtifactRequest request) throws io.grpc.StatusException
       Creates a specified artifact.
       
      Throws:
      io.grpc.StatusException
    • replaceArtifact

      public Artifact replaceArtifact(ReplaceArtifactRequest request) throws io.grpc.StatusException
       Used to replace a specified artifact.
       
      Throws:
      io.grpc.StatusException
    • deleteArtifact

      public com.google.protobuf.Empty deleteArtifact(DeleteArtifactRequest request) throws io.grpc.StatusException
       Removes a specified artifact.
       
      Throws:
      io.grpc.StatusException