public static final class RegistryGrpc.RegistryStub extends AbstractAsyncStub<RegistryGrpc.RegistryStub>
The Registry service allows teams to manage descriptions of APIs.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
RegistryGrpc.RegistryStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected RegistryGrpc.RegistryStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createApi(CreateApiRequest request, StreamObserver<Api> responseObserver)
public void createApi(CreateApiRequest request, StreamObserver<Api> responseObserver)
Parameters
createApiDeployment(CreateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void createApiDeployment(CreateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
Creates a specified deployment.
Parameters
createApiSpec(CreateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void createApiSpec(CreateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
Creates a specified spec.
Parameters
createApiVersion(CreateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
public void createApiVersion(CreateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
Creates a specified version.
Parameters
createArtifact(CreateArtifactRequest request, StreamObserver<Artifact> responseObserver)
public void createArtifact(CreateArtifactRequest request, StreamObserver<Artifact> responseObserver)
Creates a specified artifact.
Parameters
deleteApi(DeleteApiRequest request, StreamObserver<Empty> responseObserver)
public void deleteApi(DeleteApiRequest request, StreamObserver<Empty> responseObserver)
Removes a specified API and all of the resources that it
owns.
Parameters
deleteApiDeployment(DeleteApiDeploymentRequest request, StreamObserver<Empty> responseObserver)
public void deleteApiDeployment(DeleteApiDeploymentRequest request, StreamObserver<Empty> responseObserver)
Removes a specified deployment, all revisions, and all
child resources (e.g., artifacts).
Parameters
deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
public void deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
Deletes a revision of a deployment.
Parameters
deleteApiSpec(DeleteApiSpecRequest request, StreamObserver<Empty> responseObserver)
public void deleteApiSpec(DeleteApiSpecRequest request, StreamObserver<Empty> responseObserver)
Removes a specified spec, all revisions, and all child
resources (e.g., artifacts).
Parameters
deleteApiSpecRevision(DeleteApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
public void deleteApiSpecRevision(DeleteApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
Deletes a revision of a spec.
Parameters
deleteApiVersion(DeleteApiVersionRequest request, StreamObserver<Empty> responseObserver)
public void deleteApiVersion(DeleteApiVersionRequest request, StreamObserver<Empty> responseObserver)
Removes a specified version and all of the resources that
it owns.
Parameters
deleteArtifact(DeleteArtifactRequest request, StreamObserver<Empty> responseObserver)
public void deleteArtifact(DeleteArtifactRequest request, StreamObserver<Empty> responseObserver)
Removes a specified artifact.
Parameters
getApi(GetApiRequest request, StreamObserver<Api> responseObserver)
public void getApi(GetApiRequest request, StreamObserver<Api> responseObserver)
Parameters
Name | Description |
request | GetApiRequest
|
responseObserver | io.grpc.stub.StreamObserver<Api>
|
getApiDeployment(GetApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void getApiDeployment(GetApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
Returns a specified deployment.
Parameters
getApiSpec(GetApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void getApiSpec(GetApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
Returns a specified spec.
Parameters
getApiSpecContents(GetApiSpecContentsRequest request, StreamObserver<HttpBody> responseObserver)
public void getApiSpecContents(GetApiSpecContentsRequest request, StreamObserver<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).
Parameters
getApiVersion(GetApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
public void getApiVersion(GetApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
Returns a specified version.
Parameters
getArtifact(GetArtifactRequest request, StreamObserver<Artifact> responseObserver)
public void getArtifact(GetArtifactRequest request, StreamObserver<Artifact> responseObserver)
Returns a specified artifact.
Parameters
getArtifactContents(GetArtifactContentsRequest request, StreamObserver<HttpBody> responseObserver)
public void getArtifactContents(GetArtifactContentsRequest request, StreamObserver<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).
Parameters
listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request, StreamObserver<ListApiDeploymentRevisionsResponse> responseObserver)
public void listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request, StreamObserver<ListApiDeploymentRevisionsResponse> responseObserver)
Lists all revisions of a deployment.
Revisions are returned in descending order of revision creation time.
Parameters
listApiDeployments(ListApiDeploymentsRequest request, StreamObserver<ListApiDeploymentsResponse> responseObserver)
public void listApiDeployments(ListApiDeploymentsRequest request, StreamObserver<ListApiDeploymentsResponse> responseObserver)
Returns matching deployments.
Parameters
listApiSpecRevisions(ListApiSpecRevisionsRequest request, StreamObserver<ListApiSpecRevisionsResponse> responseObserver)
public void listApiSpecRevisions(ListApiSpecRevisionsRequest request, StreamObserver<ListApiSpecRevisionsResponse> responseObserver)
Lists all revisions of a spec.
Revisions are returned in descending order of revision creation time.
Parameters
listApiSpecs(ListApiSpecsRequest request, StreamObserver<ListApiSpecsResponse> responseObserver)
public void listApiSpecs(ListApiSpecsRequest request, StreamObserver<ListApiSpecsResponse> responseObserver)
Parameters
listApiVersions(ListApiVersionsRequest request, StreamObserver<ListApiVersionsResponse> responseObserver)
public void listApiVersions(ListApiVersionsRequest request, StreamObserver<ListApiVersionsResponse> responseObserver)
Returns matching versions.
Parameters
listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)
public void listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)
Parameters
listArtifacts(ListArtifactsRequest request, StreamObserver<ListArtifactsResponse> responseObserver)
public void listArtifacts(ListArtifactsRequest request, StreamObserver<ListArtifactsResponse> responseObserver)
Returns matching artifacts.
Parameters
replaceArtifact(ReplaceArtifactRequest request, StreamObserver<Artifact> responseObserver)
public void replaceArtifact(ReplaceArtifactRequest request, StreamObserver<Artifact> responseObserver)
Used to replace a specified artifact.
Parameters
rollbackApiDeployment(RollbackApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void rollbackApiDeployment(RollbackApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
Sets the current revision to a specified prior
revision. Note that this creates a new revision with a new revision ID.
Parameters
rollbackApiSpec(RollbackApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void rollbackApiSpec(RollbackApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
Sets the current revision to a specified prior revision.
Note that this creates a new revision with a new revision ID.
Parameters
tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
public void tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request, StreamObserver<ApiDeployment> responseObserver)
Adds a tag to a specified revision of a
deployment.
Parameters
tagApiSpecRevision(TagApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
public void tagApiSpecRevision(TagApiSpecRevisionRequest request, StreamObserver<ApiSpec> responseObserver)
Adds a tag to a specified revision of a spec.
Parameters
updateApi(UpdateApiRequest request, StreamObserver<Api> responseObserver)
public void updateApi(UpdateApiRequest request, StreamObserver<Api> responseObserver)
Used to modify a specified API.
Parameters
updateApiDeployment(UpdateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
public void updateApiDeployment(UpdateApiDeploymentRequest request, StreamObserver<ApiDeployment> responseObserver)
Used to modify a specified deployment.
Parameters
updateApiSpec(UpdateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
public void updateApiSpec(UpdateApiSpecRequest request, StreamObserver<ApiSpec> responseObserver)
Used to modify a specified spec.
Parameters
updateApiVersion(UpdateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
public void updateApiVersion(UpdateApiVersionRequest request, StreamObserver<ApiVersion> responseObserver)
Used to modify a specified version.
Parameters