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