Class RegistryGrpc.RegistryBlockingStub (0.1.1)

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

Methods

build(Channel channel, CallOptions callOptions)

protected RegistryGrpc.RegistryBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
RegistryGrpc.RegistryBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApi(CreateApiRequest request)

public Api createApi(CreateApiRequest request)

CreateApi creates a specified API.

Parameter
NameDescription
requestCreateApiRequest
Returns
TypeDescription
Api

createApiDeployment(CreateApiDeploymentRequest request)

public ApiDeployment createApiDeployment(CreateApiDeploymentRequest request)

CreateApiDeployment creates a specified deployment.

Parameter
NameDescription
requestCreateApiDeploymentRequest
Returns
TypeDescription
ApiDeployment

createApiSpec(CreateApiSpecRequest request)

public ApiSpec createApiSpec(CreateApiSpecRequest request)

CreateApiSpec creates a specified spec.

Parameter
NameDescription
requestCreateApiSpecRequest
Returns
TypeDescription
ApiSpec

createApiVersion(CreateApiVersionRequest request)

public ApiVersion createApiVersion(CreateApiVersionRequest request)

CreateApiVersion creates a specified version.

Parameter
NameDescription
requestCreateApiVersionRequest
Returns
TypeDescription
ApiVersion

createArtifact(CreateArtifactRequest request)

public Artifact createArtifact(CreateArtifactRequest request)

CreateArtifact creates a specified artifact.

Parameter
NameDescription
requestCreateArtifactRequest
Returns
TypeDescription
Artifact

deleteApi(DeleteApiRequest request)

public Empty deleteApi(DeleteApiRequest request)

DeleteApi removes a specified API and all of the resources that it owns.

Parameter
NameDescription
requestDeleteApiRequest
Returns
TypeDescription
Empty

deleteApiDeployment(DeleteApiDeploymentRequest request)

public Empty deleteApiDeployment(DeleteApiDeploymentRequest request)

DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).

Parameter
NameDescription
requestDeleteApiDeploymentRequest
Returns
TypeDescription
Empty

deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request)

public ApiDeployment deleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request)

DeleteApiDeploymentRevision deletes a revision of a deployment.

Parameter
NameDescription
requestDeleteApiDeploymentRevisionRequest
Returns
TypeDescription
ApiDeployment

deleteApiSpec(DeleteApiSpecRequest request)

public Empty deleteApiSpec(DeleteApiSpecRequest request)

DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).

Parameter
NameDescription
requestDeleteApiSpecRequest
Returns
TypeDescription
Empty

deleteApiSpecRevision(DeleteApiSpecRevisionRequest request)

public ApiSpec deleteApiSpecRevision(DeleteApiSpecRevisionRequest request)

DeleteApiSpecRevision deletes a revision of a spec.

Parameter
NameDescription
requestDeleteApiSpecRevisionRequest
Returns
TypeDescription
ApiSpec

deleteApiVersion(DeleteApiVersionRequest request)

public Empty deleteApiVersion(DeleteApiVersionRequest request)

DeleteApiVersion removes a specified version and all of the resources that it owns.

Parameter
NameDescription
requestDeleteApiVersionRequest
Returns
TypeDescription
Empty

deleteArtifact(DeleteArtifactRequest request)

public Empty deleteArtifact(DeleteArtifactRequest request)

DeleteArtifact removes a specified artifact.

Parameter
NameDescription
requestDeleteArtifactRequest
Returns
TypeDescription
Empty

getApi(GetApiRequest request)

public Api getApi(GetApiRequest request)

GetApi returns a specified API.

Parameter
NameDescription
requestGetApiRequest
Returns
TypeDescription
Api

getApiDeployment(GetApiDeploymentRequest request)

public ApiDeployment getApiDeployment(GetApiDeploymentRequest request)

GetApiDeployment returns a specified deployment.

Parameter
NameDescription
requestGetApiDeploymentRequest
Returns
TypeDescription
ApiDeployment

getApiSpec(GetApiSpecRequest request)

public ApiSpec getApiSpec(GetApiSpecRequest request)

GetApiSpec returns a specified spec.

Parameter
NameDescription
requestGetApiSpecRequest
Returns
TypeDescription
ApiSpec

getApiSpecContents(GetApiSpecContentsRequest request)

public 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
NameDescription
requestGetApiSpecContentsRequest
Returns
TypeDescription
com.google.api.HttpBody

getApiVersion(GetApiVersionRequest request)

public ApiVersion getApiVersion(GetApiVersionRequest request)

GetApiVersion returns a specified version.

Parameter
NameDescription
requestGetApiVersionRequest
Returns
TypeDescription
ApiVersion

getArtifact(GetArtifactRequest request)

public Artifact getArtifact(GetArtifactRequest request)

GetArtifact returns a specified artifact.

Parameter
NameDescription
requestGetArtifactRequest
Returns
TypeDescription
Artifact

getArtifactContents(GetArtifactContentsRequest request)

public 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
NameDescription
requestGetArtifactContentsRequest
Returns
TypeDescription
com.google.api.HttpBody

listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request)

public ListApiDeploymentRevisionsResponse listApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request)

ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

Parameter
NameDescription
requestListApiDeploymentRevisionsRequest
Returns
TypeDescription
ListApiDeploymentRevisionsResponse

listApiDeployments(ListApiDeploymentsRequest request)

public ListApiDeploymentsResponse listApiDeployments(ListApiDeploymentsRequest request)

ListApiDeployments returns matching deployments.

Parameter
NameDescription
requestListApiDeploymentsRequest
Returns
TypeDescription
ListApiDeploymentsResponse

listApiSpecRevisions(ListApiSpecRevisionsRequest request)

public ListApiSpecRevisionsResponse listApiSpecRevisions(ListApiSpecRevisionsRequest request)

ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

Parameter
NameDescription
requestListApiSpecRevisionsRequest
Returns
TypeDescription
ListApiSpecRevisionsResponse

listApiSpecs(ListApiSpecsRequest request)

public ListApiSpecsResponse listApiSpecs(ListApiSpecsRequest request)

ListApiSpecs returns matching specs.

Parameter
NameDescription
requestListApiSpecsRequest
Returns
TypeDescription
ListApiSpecsResponse

listApiVersions(ListApiVersionsRequest request)

public ListApiVersionsResponse listApiVersions(ListApiVersionsRequest request)

ListApiVersions returns matching versions.

Parameter
NameDescription
requestListApiVersionsRequest
Returns
TypeDescription
ListApiVersionsResponse

listApis(ListApisRequest request)

public ListApisResponse listApis(ListApisRequest request)

ListApis returns matching APIs.

Parameter
NameDescription
requestListApisRequest
Returns
TypeDescription
ListApisResponse

listArtifacts(ListArtifactsRequest request)

public ListArtifactsResponse listArtifacts(ListArtifactsRequest request)

ListArtifacts returns matching artifacts.

Parameter
NameDescription
requestListArtifactsRequest
Returns
TypeDescription
ListArtifactsResponse

replaceArtifact(ReplaceArtifactRequest request)

public Artifact replaceArtifact(ReplaceArtifactRequest request)

ReplaceArtifact can be used to replace a specified artifact.

Parameter
NameDescription
requestReplaceArtifactRequest
Returns
TypeDescription
Artifact

rollbackApiDeployment(RollbackApiDeploymentRequest request)

public 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
NameDescription
requestRollbackApiDeploymentRequest
Returns
TypeDescription
ApiDeployment

rollbackApiSpec(RollbackApiSpecRequest request)

public 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
NameDescription
requestRollbackApiSpecRequest
Returns
TypeDescription
ApiSpec

tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request)

public ApiDeployment tagApiDeploymentRevision(TagApiDeploymentRevisionRequest request)

TagApiDeploymentRevision adds a tag to a specified revision of a deployment.

Parameter
NameDescription
requestTagApiDeploymentRevisionRequest
Returns
TypeDescription
ApiDeployment

tagApiSpecRevision(TagApiSpecRevisionRequest request)

public ApiSpec tagApiSpecRevision(TagApiSpecRevisionRequest request)

TagApiSpecRevision adds a tag to a specified revision of a spec.

Parameter
NameDescription
requestTagApiSpecRevisionRequest
Returns
TypeDescription
ApiSpec

updateApi(UpdateApiRequest request)

public Api updateApi(UpdateApiRequest request)

UpdateApi can be used to modify a specified API.

Parameter
NameDescription
requestUpdateApiRequest
Returns
TypeDescription
Api

updateApiDeployment(UpdateApiDeploymentRequest request)

public ApiDeployment updateApiDeployment(UpdateApiDeploymentRequest request)

UpdateApiDeployment can be used to modify a specified deployment.

Parameter
NameDescription
requestUpdateApiDeploymentRequest
Returns
TypeDescription
ApiDeployment

updateApiSpec(UpdateApiSpecRequest request)

public ApiSpec updateApiSpec(UpdateApiSpecRequest request)

UpdateApiSpec can be used to modify a specified spec.

Parameter
NameDescription
requestUpdateApiSpecRequest
Returns
TypeDescription
ApiSpec

updateApiVersion(UpdateApiVersionRequest request)

public ApiVersion updateApiVersion(UpdateApiVersionRequest request)

UpdateApiVersion can be used to modify a specified version.

Parameter
NameDescription
requestUpdateApiVersionRequest
Returns
TypeDescription
ApiVersion