Class AppTopologyGrpc.AppTopologyStub (0.3.0)

public static final class AppTopologyGrpc.AppTopologyStub extends AbstractAsyncStub<AppTopologyGrpc.AppTopologyStub>

A stub to allow clients to do asynchronous rpc calls to service AppTopology.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AppTopologyGrpc.AppTopologyStub

Methods

build(Channel channel, CallOptions callOptions)

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

generateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest request, StreamObserver<GenerateDiscoveredResourcesTopologyResponse> responseObserver)

public void generateDiscoveredResourcesTopology(GenerateDiscoveredResourcesTopologyRequest request, StreamObserver<GenerateDiscoveredResourcesTopologyResponse> responseObserver)

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.

Parameters
Name Description
request GenerateDiscoveredResourcesTopologyRequest
responseObserver io.grpc.stub.StreamObserver<GenerateDiscoveredResourcesTopologyResponse>

getDomain(GetDomainRequest request, StreamObserver<Domain> responseObserver)

public void getDomain(GetDomainRequest request, StreamObserver<Domain> responseObserver)

Retrieves the specified topology domain.

Parameters
Name Description
request GetDomainRequest
responseObserver io.grpc.stub.StreamObserver<Domain>

getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)

public void getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)

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.

Parameters
Name Description
request GetSchemaRequest
responseObserver io.grpc.stub.StreamObserver<Schema>

listDomains(ListDomainsRequest request, StreamObserver<ListDomainsResponse> responseObserver)

public void listDomains(ListDomainsRequest request, StreamObserver<ListDomainsResponse> responseObserver)

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

Parameters
Name Description
request ListDomainsRequest
responseObserver io.grpc.stub.StreamObserver<ListDomainsResponse>