public static final class ApiHubDependenciesGrpc.ApiHubDependenciesStub extends AbstractAsyncStub<ApiHubDependenciesGrpc.ApiHubDependenciesStub>
A stub to allow clients to do asynchronous rpc calls to service ApiHubDependencies.
This service provides methods for various operations related to a Dependency in the API hub.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ApiHubDependenciesGrpc.ApiHubDependenciesStubMethods
build(Channel channel, CallOptions callOptions)
protected ApiHubDependenciesGrpc.ApiHubDependenciesStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ApiHubDependenciesGrpc.ApiHubDependenciesStub |
createDependency(CreateDependencyRequest request, StreamObserver<Dependency> responseObserver)
public void createDependency(CreateDependencyRequest request, StreamObserver<Dependency> responseObserver)
Create a dependency between two entities in the API hub.
Parameters | |
---|---|
Name | Description |
request |
CreateDependencyRequest |
responseObserver |
io.grpc.stub.StreamObserver<Dependency> |
deleteDependency(DeleteDependencyRequest request, StreamObserver<Empty> responseObserver)
public void deleteDependency(DeleteDependencyRequest request, StreamObserver<Empty> responseObserver)
Delete the dependency resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteDependencyRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getDependency(GetDependencyRequest request, StreamObserver<Dependency> responseObserver)
public void getDependency(GetDependencyRequest request, StreamObserver<Dependency> responseObserver)
Get details about a dependency resource in the API hub.
Parameters | |
---|---|
Name | Description |
request |
GetDependencyRequest |
responseObserver |
io.grpc.stub.StreamObserver<Dependency> |
listDependencies(ListDependenciesRequest request, StreamObserver<ListDependenciesResponse> responseObserver)
public void listDependencies(ListDependenciesRequest request, StreamObserver<ListDependenciesResponse> responseObserver)
List dependencies based on the provided filter and pagination parameters.
Parameters | |
---|---|
Name | Description |
request |
ListDependenciesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListDependenciesResponse> |
updateDependency(UpdateDependencyRequest request, StreamObserver<Dependency> responseObserver)
public void updateDependency(UpdateDependencyRequest request, StreamObserver<Dependency> responseObserver)
Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated:
- description
Parameters | |
---|---|
Name | Description |
request |
UpdateDependencyRequest |
responseObserver |
io.grpc.stub.StreamObserver<Dependency> |