public static final class LedgerIdentityServiceGrpc.LedgerIdentityServiceStub extends io.grpc.stub.AbstractAsyncStub<LedgerIdentityServiceGrpc.LedgerIdentityServiceStub>
Allows clients to verify that the server they are communicating with exposes the ledger they wish to operate on. Note that every ledger has a unique ID.
| Modifier and Type | Method and Description | 
|---|---|
protected LedgerIdentityServiceGrpc.LedgerIdentityServiceStub | 
build(io.grpc.Channel channel,
     io.grpc.CallOptions callOptions)  | 
void | 
getLedgerIdentity(LedgerIdentityServiceOuterClass.GetLedgerIdentityRequest request,
                 io.grpc.stub.StreamObserver<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse> responseObserver)
 Clients may call this RPC to return the identifier of the ledger they are connected to. 
 | 
protected LedgerIdentityServiceGrpc.LedgerIdentityServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<LedgerIdentityServiceGrpc.LedgerIdentityServiceStub>public void getLedgerIdentity(LedgerIdentityServiceOuterClass.GetLedgerIdentityRequest request, io.grpc.stub.StreamObserver<LedgerIdentityServiceOuterClass.GetLedgerIdentityResponse> responseObserver)
Clients may call this RPC to return the identifier of the ledger they are connected to. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation