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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected RegistryGrpc.RegistryBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createApi(CreateApiRequest request) Creates a specified API.Creates a specified deployment.createApiSpec(CreateApiSpecRequest request) Creates a specified spec.createApiVersion(CreateApiVersionRequest request) Creates a specified version.createArtifact(CreateArtifactRequest request) Creates a specified artifact.com.google.protobuf.EmptydeleteApi(DeleteApiRequest request) Removes a specified API and all of the resources that it owns.com.google.protobuf.EmptyRemoves a specified deployment, all revisions, and all child resources (e.g., artifacts).Deletes a revision of a deployment.com.google.protobuf.EmptydeleteApiSpec(DeleteApiSpecRequest request) Removes a specified spec, all revisions, and all child resources (e.g., artifacts).Deletes a revision of a spec.com.google.protobuf.EmptydeleteApiVersion(DeleteApiVersionRequest request) Removes a specified version and all of the resources that it owns.com.google.protobuf.EmptydeleteArtifact(DeleteArtifactRequest request) Removes a specified artifact.getApi(GetApiRequest request) Returns a specified API.getApiDeployment(GetApiDeploymentRequest request) Returns a specified deployment.getApiSpec(GetApiSpecRequest request) Returns a specified spec.Returns the contents of a specified spec.getApiVersion(GetApiVersionRequest request) Returns a specified version.getArtifact(GetArtifactRequest request) Returns a specified artifact.Returns the contents of a specified artifact.Lists all revisions of a deployment.Returns matching deployments.listApis(ListApisRequest request) Returns matching APIs.Lists all revisions of a spec.listApiSpecs(ListApiSpecsRequest request) Returns matching specs.listApiVersions(ListApiVersionsRequest request) Returns matching versions.listArtifacts(ListArtifactsRequest request) Returns matching artifacts.replaceArtifact(ReplaceArtifactRequest request) Used to replace a specified artifact.Sets the current revision to a specified prior revision.rollbackApiSpec(RollbackApiSpecRequest request) Sets the current revision to a specified prior revision.Adds a tag to a specified revision of a deployment.Adds a tag to a specified revision of a spec.updateApi(UpdateApiRequest request) Used to modify a specified API.Used to modify a specified deployment.updateApiSpec(UpdateApiSpecRequest request) Used to modify a specified spec.updateApiVersion(UpdateApiVersionRequest request) Used to modify a specified version.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RegistryGrpc.RegistryBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RegistryGrpc.RegistryBlockingV2Stub>
-
listApis
Returns matching APIs.
- Throws:
io.grpc.StatusException
-
getApi
Returns a specified API.
- Throws:
io.grpc.StatusException
-
createApi
Creates a specified API.
- Throws:
io.grpc.StatusException
-
updateApi
Used to modify a specified API.
- Throws:
io.grpc.StatusException
-
deleteApi
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
Returns a specified version.
- Throws:
io.grpc.StatusException
-
createApiVersion
Creates a specified version.
- Throws:
io.grpc.StatusException
-
updateApiVersion
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
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
Creates a specified spec.
- Throws:
io.grpc.StatusException
-
updateApiSpec
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
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
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
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
Creates a specified artifact.
- Throws:
io.grpc.StatusException
-
replaceArtifact
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
-