public static final class RegistryGrpc.RegistryFutureStub extends AbstractFutureStub<RegistryGrpc.RegistryFutureStub>
The Registry service allows teams to manage descriptions of APIs.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
RegistryGrpc.RegistryFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.RegistryFutureStub 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)
public ListenableFuture<Api> createApi(CreateApiRequest request)
CreateApi creates a specified API.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Api> | |
createApiDeployment(CreateApiDeploymentRequest request)
public ListenableFuture<ApiDeployment> createApiDeployment(CreateApiDeploymentRequest request)
CreateApiDeployment creates a specified deployment.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiDeployment> | |
createApiSpec(CreateApiSpecRequest request)
public ListenableFuture<ApiSpec> createApiSpec(CreateApiSpecRequest request)
CreateApiSpec creates a specified spec.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiSpec> | |
createApiVersion(CreateApiVersionRequest request)
public ListenableFuture<ApiVersion> createApiVersion(CreateApiVersionRequest request)
CreateApiVersion creates a specified version.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiVersion> | |
createArtifact(CreateArtifactRequest request)
public ListenableFuture<Artifact> createArtifact(CreateArtifactRequest request)
CreateArtifact creates a specified artifact.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Artifact> | |
deleteApi(DeleteApiRequest request)
public ListenableFuture<Empty> deleteApi(DeleteApiRequest request)
DeleteApi removes a specified API and all of the resources that it
owns.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteApiDeployment(DeleteApiDeploymentRequest request)
public ListenableFuture<Empty> deleteApiDeployment(DeleteApiDeploymentRequest request)
DeleteApiDeployment removes a specified deployment, all revisions, and all
child resources (e.g. artifacts).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request)
public ListenableFuture<ApiDeployment> deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request)
DeleteApiDeploymentRevision deletes a revision of a deployment.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiDeployment> | |
deleteApiSpec(DeleteApiSpecRequest request)
public ListenableFuture<Empty> deleteApiSpec(DeleteApiSpecRequest request)
DeleteApiSpec removes a specified spec, all revisions, and all child
resources (e.g. artifacts).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteApiSpecRevision(DeleteApiSpecRevisionRequest request)
public ListenableFuture<ApiSpec> deleteApiSpecRevision(DeleteApiSpecRevisionRequest request)
DeleteApiSpecRevision deletes a revision of a spec.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiSpec> | |
deleteApiVersion(DeleteApiVersionRequest request)
public ListenableFuture<Empty> deleteApiVersion(DeleteApiVersionRequest request)
DeleteApiVersion removes a specified version and all of the resources that
it owns.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
deleteArtifact(DeleteArtifactRequest request)
public ListenableFuture<Empty> deleteArtifact(DeleteArtifactRequest request)
DeleteArtifact removes a specified artifact.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
getApi(GetApiRequest request)
public ListenableFuture<Api> getApi(GetApiRequest request)
GetApi returns a specified API.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Api> | |
getApiDeployment(GetApiDeploymentRequest request)
public ListenableFuture<ApiDeployment> getApiDeployment(GetApiDeploymentRequest request)
GetApiDeployment returns a specified deployment.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiDeployment> | |
getApiSpec(GetApiSpecRequest request)
public ListenableFuture<ApiSpec> getApiSpec(GetApiSpecRequest request)
GetApiSpec returns a specified spec.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiSpec> | |
getApiSpecContents(GetApiSpecContentsRequest request)
public ListenableFuture<HttpBody> getApiSpecContents(GetApiSpecContentsRequest request)
GetApiSpecContents 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).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> | |
getApiVersion(GetApiVersionRequest request)
public ListenableFuture<ApiVersion> getApiVersion(GetApiVersionRequest request)
GetApiVersion returns a specified version.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiVersion> | |
getArtifact(GetArtifactRequest request)
public ListenableFuture<Artifact> getArtifact(GetArtifactRequest request)
GetArtifact returns a specified artifact.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Artifact> | |
getArtifactContents(GetArtifactContentsRequest request)
public ListenableFuture<HttpBody> getArtifactContents(GetArtifactContentsRequest request)
GetArtifactContents 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).
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.api.HttpBody> | |
listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request)
public ListenableFuture<ListApiDeploymentRevisionsResponse> listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request)
ListApiDeploymentRevisions lists all revisions of a deployment.
Revisions are returned in descending order of revision creation time.
Parameter
Returns
listApiDeployments(ListApiDeploymentsRequest request)
public ListenableFuture<ListApiDeploymentsResponse> listApiDeployments(ListApiDeploymentsRequest request)
ListApiDeployments returns matching deployments.
Parameter
Returns
listApiSpecRevisions(ListApiSpecRevisionsRequest request)
public ListenableFuture<ListApiSpecRevisionsResponse> listApiSpecRevisions(ListApiSpecRevisionsRequest request)
ListApiSpecRevisions lists all revisions of a spec.
Revisions are returned in descending order of revision creation time.
Parameter
Returns
listApiSpecs(ListApiSpecsRequest request)
public ListenableFuture<ListApiSpecsResponse> listApiSpecs(ListApiSpecsRequest request)
ListApiSpecs returns matching specs.
Parameter
Returns
listApiVersions(ListApiVersionsRequest request)
public ListenableFuture<ListApiVersionsResponse> listApiVersions(ListApiVersionsRequest request)
ListApiVersions returns matching versions.
Parameter
Returns
listApis(ListApisRequest request)
public ListenableFuture<ListApisResponse> listApis(ListApisRequest request)
ListApis returns matching APIs.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListApisResponse> | |
listArtifacts(ListArtifactsRequest request)
public ListenableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest request)
ListArtifacts returns matching artifacts.
Parameter
Returns
replaceArtifact(ReplaceArtifactRequest request)
public ListenableFuture<Artifact> replaceArtifact(ReplaceArtifactRequest request)
ReplaceArtifact can be used to replace a specified artifact.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Artifact> | |
rollbackApiDeployment(RollbackApiDeploymentRequest request)
public ListenableFuture<ApiDeployment> rollbackApiDeployment(RollbackApiDeploymentRequest request)
RollbackApiDeployment sets the current revision to a specified prior
revision. Note that this creates a new revision with a new revision ID.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiDeployment> | |
rollbackApiSpec(RollbackApiSpecRequest request)
public ListenableFuture<ApiSpec> rollbackApiSpec(RollbackApiSpecRequest request)
RollbackApiSpec sets the current revision to a specified prior revision.
Note that this creates a new revision with a new revision ID.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiSpec> | |
tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request)
public ListenableFuture<ApiDeployment> tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request)
TagApiDeploymentRevision adds a tag to a specified revision of a
deployment.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiDeployment> | |
tagApiSpecRevision(TagApiSpecRevisionRequest request)
public ListenableFuture<ApiSpec> tagApiSpecRevision(TagApiSpecRevisionRequest request)
TagApiSpecRevision adds a tag to a specified revision of a spec.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiSpec> | |
updateApi(UpdateApiRequest request)
public ListenableFuture<Api> updateApi(UpdateApiRequest request)
UpdateApi can be used to modify a specified API.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Api> | |
updateApiDeployment(UpdateApiDeploymentRequest request)
public ListenableFuture<ApiDeployment> updateApiDeployment(UpdateApiDeploymentRequest request)
UpdateApiDeployment can be used to modify a specified deployment.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiDeployment> | |
updateApiSpec(UpdateApiSpecRequest request)
public ListenableFuture<ApiSpec> updateApiSpec(UpdateApiSpecRequest request)
UpdateApiSpec can be used to modify a specified spec.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiSpec> | |
updateApiVersion(UpdateApiVersionRequest request)
public ListenableFuture<ApiVersion> updateApiVersion(UpdateApiVersionRequest request)
UpdateApiVersion can be used to modify a specified version.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ApiVersion> | |