Class AppTopologyGrpc.AppTopologyFutureStub (0.3.0)

public static final class AppTopologyGrpc.AppTopologyFutureStub extends AbstractFutureStub<AppTopologyGrpc.AppTopologyFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AppTopology.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AppTopologyGrpc.AppTopologyFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

generateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest request)

public ListenableFuture<GenerateDiscoveredResourcesTopologyResponse> generateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest request)

Generate the topology for all resources in the given project. If the project represents an app boundary, the topology is generated for all resources in the boundary.

Parameter
Name Description
request GenerateDiscoveredResourcesTopologyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateDiscoveredResourcesTopologyResponse>

getDomain(GetDomainRequest request)

public ListenableFuture<Domain> getDomain(GetDomainRequest request)

Retrieves the specified topology domain.

Parameter
Name Description
request GetDomainRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Domain>

getSchema(GetSchemaRequest request)

public ListenableFuture<Schema> getSchema(GetSchemaRequest request)

Retrieves the schema for the specified topology domain. The schema defines the NodeTypes and EdgeTypes that are supported in GenerateDiscoveredResourcesTopology requests and responses for a given domain.

Parameter
Name Description
request GetSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Schema>

listDomains(ListDomainsRequest request)

public ListenableFuture<ListDomainsResponse> listDomains(ListDomainsRequest request)

Lists the topology domains available in a specific location. Only global location is supported.

Parameter
Name Description
request ListDomainsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDomainsResponse>