Class ApiHubDependenciesGrpc.ApiHubDependenciesFutureStub (0.2.0)

public static final class ApiHubDependenciesGrpc.ApiHubDependenciesFutureStub extends AbstractFutureStub<ApiHubDependenciesGrpc.ApiHubDependenciesFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > ApiHubDependenciesGrpc.ApiHubDependenciesFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ApiHubDependenciesGrpc.ApiHubDependenciesFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ApiHubDependenciesGrpc.ApiHubDependenciesFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDependency(CreateDependencyRequest request)

public ListenableFuture<Dependency> createDependency(CreateDependencyRequest request)

Create a dependency between two entities in the API hub.

Parameter
Name Description
request CreateDependencyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Dependency>

deleteDependency(DeleteDependencyRequest request)

public ListenableFuture<Empty> deleteDependency(DeleteDependencyRequest request)

Delete the dependency resource.

Parameter
Name Description
request DeleteDependencyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getDependency(GetDependencyRequest request)

public ListenableFuture<Dependency> getDependency(GetDependencyRequest request)

Get details about a dependency resource in the API hub.

Parameter
Name Description
request GetDependencyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Dependency>

listDependencies(ListDependenciesRequest request)

public ListenableFuture<ListDependenciesResponse> listDependencies(ListDependenciesRequest request)

List dependencies based on the provided filter and pagination parameters.

Parameter
Name Description
request ListDependenciesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDependenciesResponse>

updateDependency(UpdateDependencyRequest request)

public ListenableFuture<Dependency> updateDependency(UpdateDependencyRequest request)

Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated:

  • description
Parameter
Name Description
request UpdateDependencyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Dependency>