- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.1
- 0.2.2
- 0.1.1
public class GrpcRegistryStub extends RegistryStub
gRPC stub implementation for the Registry service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcRegistryStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcRegistryStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRegistryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcRegistryStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(RegistryStubSettings settings)
public static final GrpcRegistryStub create(RegistryStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | RegistryStubSettings |
Returns | |
---|---|
Type | Description |
GrpcRegistryStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcRegistryStub(RegistryStubSettings settings, ClientContext clientContext)
protected GrpcRegistryStub(RegistryStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcRegistryStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings | RegistryStubSettings |
clientContext | ClientContext |
GrpcRegistryStub(RegistryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcRegistryStub(RegistryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRegistryStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings | RegistryStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createApiCallable()
public UnaryCallable<CreateApiRequest,Api> createApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApiRequest,Api> |
createApiDeploymentCallable()
public UnaryCallable<CreateApiDeploymentRequest,ApiDeployment> createApiDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApiDeploymentRequest,ApiDeployment> |
createApiSpecCallable()
public UnaryCallable<CreateApiSpecRequest,ApiSpec> createApiSpecCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApiSpecRequest,ApiSpec> |
createApiVersionCallable()
public UnaryCallable<CreateApiVersionRequest,ApiVersion> createApiVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApiVersionRequest,ApiVersion> |
createArtifactCallable()
public UnaryCallable<CreateArtifactRequest,Artifact> createArtifactCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateArtifactRequest,Artifact> |
deleteApiCallable()
public UnaryCallable<DeleteApiRequest,Empty> deleteApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiRequest,Empty> |
deleteApiDeploymentCallable()
public UnaryCallable<DeleteApiDeploymentRequest,Empty> deleteApiDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiDeploymentRequest,Empty> |
deleteApiDeploymentRevisionCallable()
public UnaryCallable<DeleteApiDeploymentRevisionRequest,ApiDeployment> deleteApiDeploymentRevisionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiDeploymentRevisionRequest,ApiDeployment> |
deleteApiSpecCallable()
public UnaryCallable<DeleteApiSpecRequest,Empty> deleteApiSpecCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiSpecRequest,Empty> |
deleteApiSpecRevisionCallable()
public UnaryCallable<DeleteApiSpecRevisionRequest,ApiSpec> deleteApiSpecRevisionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiSpecRevisionRequest,ApiSpec> |
deleteApiVersionCallable()
public UnaryCallable<DeleteApiVersionRequest,Empty> deleteApiVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiVersionRequest,Empty> |
deleteArtifactCallable()
public UnaryCallable<DeleteArtifactRequest,Empty> deleteArtifactCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteArtifactRequest,Empty> |
getApiCallable()
public UnaryCallable<GetApiRequest,Api> getApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiRequest,Api> |
getApiDeploymentCallable()
public UnaryCallable<GetApiDeploymentRequest,ApiDeployment> getApiDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiDeploymentRequest,ApiDeployment> |
getApiSpecCallable()
public UnaryCallable<GetApiSpecRequest,ApiSpec> getApiSpecCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiSpecRequest,ApiSpec> |
getApiSpecContentsCallable()
public UnaryCallable<GetApiSpecContentsRequest,HttpBody> getApiSpecContentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiSpecContentsRequest,com.google.api.HttpBody> |
getApiVersionCallable()
public UnaryCallable<GetApiVersionRequest,ApiVersion> getApiVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiVersionRequest,ApiVersion> |
getArtifactCallable()
public UnaryCallable<GetArtifactRequest,Artifact> getArtifactCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetArtifactRequest,Artifact> |
getArtifactContentsCallable()
public UnaryCallable<GetArtifactContentsRequest,HttpBody> getArtifactContentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetArtifactContentsRequest,com.google.api.HttpBody> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listApiDeploymentRevisionsCallable()
public UnaryCallable<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse> listApiDeploymentRevisionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse> |
listApiDeploymentRevisionsPagedCallable()
public UnaryCallable<ListApiDeploymentRevisionsRequest,RegistryClient.ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsPagedResponse> |
listApiDeploymentsCallable()
public UnaryCallable<ListApiDeploymentsRequest,ListApiDeploymentsResponse> listApiDeploymentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiDeploymentsRequest,ListApiDeploymentsResponse> |
listApiDeploymentsPagedCallable()
public UnaryCallable<ListApiDeploymentsRequest,RegistryClient.ListApiDeploymentsPagedResponse> listApiDeploymentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiDeploymentsRequest,ListApiDeploymentsPagedResponse> |
listApiSpecRevisionsCallable()
public UnaryCallable<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse> listApiSpecRevisionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse> |
listApiSpecRevisionsPagedCallable()
public UnaryCallable<ListApiSpecRevisionsRequest,RegistryClient.ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiSpecRevisionsRequest,ListApiSpecRevisionsPagedResponse> |
listApiSpecsCallable()
public UnaryCallable<ListApiSpecsRequest,ListApiSpecsResponse> listApiSpecsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiSpecsRequest,ListApiSpecsResponse> |
listApiSpecsPagedCallable()
public UnaryCallable<ListApiSpecsRequest,RegistryClient.ListApiSpecsPagedResponse> listApiSpecsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiSpecsRequest,ListApiSpecsPagedResponse> |
listApiVersionsCallable()
public UnaryCallable<ListApiVersionsRequest,ListApiVersionsResponse> listApiVersionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiVersionsRequest,ListApiVersionsResponse> |
listApiVersionsPagedCallable()
public UnaryCallable<ListApiVersionsRequest,RegistryClient.ListApiVersionsPagedResponse> listApiVersionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiVersionsRequest,ListApiVersionsPagedResponse> |
listApisCallable()
public UnaryCallable<ListApisRequest,ListApisResponse> listApisCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApisRequest,ListApisResponse> |
listApisPagedCallable()
public UnaryCallable<ListApisRequest,RegistryClient.ListApisPagedResponse> listApisPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApisRequest,ListApisPagedResponse> |
listArtifactsCallable()
public UnaryCallable<ListArtifactsRequest,ListArtifactsResponse> listArtifactsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListArtifactsRequest,ListArtifactsResponse> |
listArtifactsPagedCallable()
public UnaryCallable<ListArtifactsRequest,RegistryClient.ListArtifactsPagedResponse> listArtifactsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListArtifactsRequest,ListArtifactsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,RegistryClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
replaceArtifactCallable()
public UnaryCallable<ReplaceArtifactRequest,Artifact> replaceArtifactCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ReplaceArtifactRequest,Artifact> |
rollbackApiDeploymentCallable()
public UnaryCallable<RollbackApiDeploymentRequest,ApiDeployment> rollbackApiDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RollbackApiDeploymentRequest,ApiDeployment> |
rollbackApiSpecCallable()
public UnaryCallable<RollbackApiSpecRequest,ApiSpec> rollbackApiSpecCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RollbackApiSpecRequest,ApiSpec> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
tagApiDeploymentRevisionCallable()
public UnaryCallable<TagApiDeploymentRevisionRequest,ApiDeployment> tagApiDeploymentRevisionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TagApiDeploymentRevisionRequest,ApiDeployment> |
tagApiSpecRevisionCallable()
public UnaryCallable<TagApiSpecRevisionRequest,ApiSpec> tagApiSpecRevisionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TagApiSpecRevisionRequest,ApiSpec> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateApiCallable()
public UnaryCallable<UpdateApiRequest,Api> updateApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApiRequest,Api> |
updateApiDeploymentCallable()
public UnaryCallable<UpdateApiDeploymentRequest,ApiDeployment> updateApiDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApiDeploymentRequest,ApiDeployment> |
updateApiSpecCallable()
public UnaryCallable<UpdateApiSpecRequest,ApiSpec> updateApiSpecCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApiSpecRequest,ApiSpec> |
updateApiVersionCallable()
public UnaryCallable<UpdateApiVersionRequest,ApiVersion> updateApiVersionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApiVersionRequest,ApiVersion> |