Class RegistryGrpc.RegistryStub

  • Enclosing class:
    RegistryGrpc

    public static final class RegistryGrpc.RegistryStub
    extends io.grpc.stub.AbstractAsyncStub<RegistryGrpc.RegistryStub>
    A stub to allow clients to do asynchronous rpc calls to service Registry.
     The Registry service allows teams to manage descriptions of APIs.
     
    • Method Detail

      • getApi

        public void getApi​(GetApiRequest request,
                           io.grpc.stub.StreamObserver<Api> responseObserver)
         Returns a specified API.
         
      • createApi

        public void createApi​(CreateApiRequest request,
                              io.grpc.stub.StreamObserver<Api> responseObserver)
         Creates a specified API.
         
      • updateApi

        public void updateApi​(UpdateApiRequest request,
                              io.grpc.stub.StreamObserver<Api> responseObserver)
         Used to modify a specified API.
         
      • deleteApi

        public void deleteApi​(DeleteApiRequest request,
                              io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Removes a specified API and all of the resources that it
         owns.
         
      • getApiVersion

        public void getApiVersion​(GetApiVersionRequest request,
                                  io.grpc.stub.StreamObserver<ApiVersion> responseObserver)
         Returns a specified version.
         
      • createApiVersion

        public void createApiVersion​(CreateApiVersionRequest request,
                                     io.grpc.stub.StreamObserver<ApiVersion> responseObserver)
         Creates a specified version.
         
      • updateApiVersion

        public void updateApiVersion​(UpdateApiVersionRequest request,
                                     io.grpc.stub.StreamObserver<ApiVersion> responseObserver)
         Used to modify a specified version.
         
      • deleteApiVersion

        public void deleteApiVersion​(DeleteApiVersionRequest request,
                                     io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Removes a specified version and all of the resources that
         it owns.
         
      • getApiSpec

        public void getApiSpec​(GetApiSpecRequest request,
                               io.grpc.stub.StreamObserver<ApiSpec> responseObserver)
         Returns a specified spec.
         
      • getApiSpecContents

        public void getApiSpecContents​(GetApiSpecContentsRequest request,
                                       io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         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).
         
      • createApiSpec

        public void createApiSpec​(CreateApiSpecRequest request,
                                  io.grpc.stub.StreamObserver<ApiSpec> responseObserver)
         Creates a specified spec.
         
      • updateApiSpec

        public void updateApiSpec​(UpdateApiSpecRequest request,
                                  io.grpc.stub.StreamObserver<ApiSpec> responseObserver)
         Used to modify a specified spec.
         
      • deleteApiSpec

        public void deleteApiSpec​(DeleteApiSpecRequest request,
                                  io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Removes a specified spec, all revisions, and all child
         resources (e.g., artifacts).
         
      • tagApiSpecRevision

        public void tagApiSpecRevision​(TagApiSpecRevisionRequest request,
                                       io.grpc.stub.StreamObserver<ApiSpec> responseObserver)
         Adds a tag to a specified revision of a spec.
         
      • listApiSpecRevisions

        public void listApiSpecRevisions​(ListApiSpecRevisionsRequest request,
                                         io.grpc.stub.StreamObserver<ListApiSpecRevisionsResponse> responseObserver)
         Lists all revisions of a spec.
         Revisions are returned in descending order of revision creation time.
         
      • rollbackApiSpec

        public void rollbackApiSpec​(RollbackApiSpecRequest request,
                                    io.grpc.stub.StreamObserver<ApiSpec> responseObserver)
         Sets the current revision to a specified prior revision.
         Note that this creates a new revision with a new revision ID.
         
      • deleteApiSpecRevision

        public void deleteApiSpecRevision​(DeleteApiSpecRevisionRequest request,
                                          io.grpc.stub.StreamObserver<ApiSpec> responseObserver)
         Deletes a revision of a spec.
         
      • getApiDeployment

        public void getApiDeployment​(GetApiDeploymentRequest request,
                                     io.grpc.stub.StreamObserver<ApiDeployment> responseObserver)
         Returns a specified deployment.
         
      • updateApiDeployment

        public void updateApiDeployment​(UpdateApiDeploymentRequest request,
                                        io.grpc.stub.StreamObserver<ApiDeployment> responseObserver)
         Used to modify a specified deployment.
         
      • deleteApiDeployment

        public void deleteApiDeployment​(DeleteApiDeploymentRequest request,
                                        io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Removes a specified deployment, all revisions, and all
         child resources (e.g., artifacts).
         
      • tagApiDeploymentRevision

        public void tagApiDeploymentRevision​(TagApiDeploymentRevisionRequest request,
                                             io.grpc.stub.StreamObserver<ApiDeployment> responseObserver)
         Adds a tag to a specified revision of a
         deployment.
         
      • rollbackApiDeployment

        public void rollbackApiDeployment​(RollbackApiDeploymentRequest request,
                                          io.grpc.stub.StreamObserver<ApiDeployment> responseObserver)
         Sets the current revision to a specified prior
         revision. Note that this creates a new revision with a new revision ID.
         
      • getArtifact

        public void getArtifact​(GetArtifactRequest request,
                                io.grpc.stub.StreamObserver<Artifact> responseObserver)
         Returns a specified artifact.
         
      • getArtifactContents

        public void getArtifactContents​(GetArtifactContentsRequest request,
                                        io.grpc.stub.StreamObserver<com.google.api.HttpBody> responseObserver)
         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).
         
      • createArtifact

        public void createArtifact​(CreateArtifactRequest request,
                                   io.grpc.stub.StreamObserver<Artifact> responseObserver)
         Creates a specified artifact.
         
      • replaceArtifact

        public void replaceArtifact​(ReplaceArtifactRequest request,
                                    io.grpc.stub.StreamObserver<Artifact> responseObserver)
         Used to replace a specified artifact.
         
      • deleteArtifact

        public void deleteArtifact​(DeleteArtifactRequest request,
                                   io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Removes a specified artifact.