public class GrpcApiHubStub extends ApiHubStub
gRPC stub implementation for the ApiHub service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcApiHubStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcApiHubStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ApiHubStubSettings settings)
public static final GrpcApiHubStub create(ApiHubStubSettings settings)
Constructors
GrpcApiHubStub(ApiHubStubSettings settings, ClientContext clientContext)
protected GrpcApiHubStub(ApiHubStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcApiHubStub, 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.
GrpcApiHubStub(ApiHubStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcApiHubStub(ApiHubStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcApiHubStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createApiCallable()
public UnaryCallable<CreateApiRequest,Api> createApiCallable()
Overrides
createAttributeCallable()
public UnaryCallable<CreateAttributeRequest,Attribute> createAttributeCallable()
Overrides
createDeploymentCallable()
public UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()
Overrides
createExternalApiCallable()
public UnaryCallable<CreateExternalApiRequest,ExternalApi> createExternalApiCallable()
Overrides
createSpecCallable()
public UnaryCallable<CreateSpecRequest,Spec> createSpecCallable()
Overrides
createVersionCallable()
public UnaryCallable<CreateVersionRequest,Version> createVersionCallable()
Overrides
deleteApiCallable()
public UnaryCallable<DeleteApiRequest,Empty> deleteApiCallable()
Overrides
deleteAttributeCallable()
public UnaryCallable<DeleteAttributeRequest,Empty> deleteAttributeCallable()
Overrides
deleteDeploymentCallable()
public UnaryCallable<DeleteDeploymentRequest,Empty> deleteDeploymentCallable()
Overrides
deleteExternalApiCallable()
public UnaryCallable<DeleteExternalApiRequest,Empty> deleteExternalApiCallable()
Overrides
deleteSpecCallable()
public UnaryCallable<DeleteSpecRequest,Empty> deleteSpecCallable()
Overrides
deleteVersionCallable()
public UnaryCallable<DeleteVersionRequest,Empty> deleteVersionCallable()
Overrides
getApiCallable()
public UnaryCallable<GetApiRequest,Api> getApiCallable()
Overrides
getApiOperationCallable()
public UnaryCallable<GetApiOperationRequest,ApiOperation> getApiOperationCallable()
Overrides
getAttributeCallable()
public UnaryCallable<GetAttributeRequest,Attribute> getAttributeCallable()
Overrides
getDefinitionCallable()
public UnaryCallable<GetDefinitionRequest,Definition> getDefinitionCallable()
Overrides
getDeploymentCallable()
public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Overrides
getExternalApiCallable()
public UnaryCallable<GetExternalApiRequest,ExternalApi> getExternalApiCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getSpecCallable()
public UnaryCallable<GetSpecRequest,Spec> getSpecCallable()
Overrides
getSpecContentsCallable()
public UnaryCallable<GetSpecContentsRequest,SpecContents> getSpecContentsCallable()
Overrides
getVersionCallable()
public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listApiOperationsCallable()
public UnaryCallable<ListApiOperationsRequest,ListApiOperationsResponse> listApiOperationsCallable()
Overrides
listApiOperationsPagedCallable()
public UnaryCallable<ListApiOperationsRequest,ApiHubClient.ListApiOperationsPagedResponse> listApiOperationsPagedCallable()
Overrides
listApisCallable()
public UnaryCallable<ListApisRequest,ListApisResponse> listApisCallable()
Overrides
listApisPagedCallable()
public UnaryCallable<ListApisRequest,ApiHubClient.ListApisPagedResponse> listApisPagedCallable()
Overrides
listAttributesCallable()
public UnaryCallable<ListAttributesRequest,ListAttributesResponse> listAttributesCallable()
Overrides
listAttributesPagedCallable()
public UnaryCallable<ListAttributesRequest,ApiHubClient.ListAttributesPagedResponse> listAttributesPagedCallable()
Overrides
listDeploymentsCallable()
public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Overrides
listDeploymentsPagedCallable()
public UnaryCallable<ListDeploymentsRequest,ApiHubClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
Overrides
listExternalApisCallable()
public UnaryCallable<ListExternalApisRequest,ListExternalApisResponse> listExternalApisCallable()
Overrides
listExternalApisPagedCallable()
public UnaryCallable<ListExternalApisRequest,ApiHubClient.ListExternalApisPagedResponse> listExternalApisPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ApiHubClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listSpecsCallable()
public UnaryCallable<ListSpecsRequest,ListSpecsResponse> listSpecsCallable()
Overrides
listSpecsPagedCallable()
public UnaryCallable<ListSpecsRequest,ApiHubClient.ListSpecsPagedResponse> listSpecsPagedCallable()
Overrides
listVersionsCallable()
public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
Overrides
listVersionsPagedCallable()
public UnaryCallable<ListVersionsRequest,ApiHubClient.ListVersionsPagedResponse> listVersionsPagedCallable()
Overrides
searchResourcesCallable()
public UnaryCallable<SearchResourcesRequest,SearchResourcesResponse> searchResourcesCallable()
Overrides
searchResourcesPagedCallable()
public UnaryCallable<SearchResourcesRequest,ApiHubClient.SearchResourcesPagedResponse> searchResourcesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateApiCallable()
public UnaryCallable<UpdateApiRequest,Api> updateApiCallable()
Overrides
updateAttributeCallable()
public UnaryCallable<UpdateAttributeRequest,Attribute> updateAttributeCallable()
Overrides
updateDeploymentCallable()
public UnaryCallable<UpdateDeploymentRequest,Deployment> updateDeploymentCallable()
Overrides
updateExternalApiCallable()
public UnaryCallable<UpdateExternalApiRequest,ExternalApi> updateExternalApiCallable()
Overrides
updateSpecCallable()
public UnaryCallable<UpdateSpecRequest,Spec> updateSpecCallable()
Overrides
updateVersionCallable()
public UnaryCallable<UpdateVersionRequest,Version> updateVersionCallable()
Overrides