Class ClientConfigGrpc.ClientConfigStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ClientConfigGrpc.ClientConfigStub>
com.buildless.service.v1.ClientConfigGrpc.ClientConfigStub
Enclosing class:
ClientConfigGrpc

public static final class ClientConfigGrpc.ClientConfigStub extends io.grpc.stub.AbstractAsyncStub<ClientConfigGrpc.ClientConfigStub>
A stub to allow clients to do asynchronous rpc calls to service ClientConfig.
 Defines the API surface for methods which are provided to Buildless clients, SDKs, and tools. This service is used
 for things like checking configurations & credentials, performing login flows, and client-side routing and balancing.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    clientConfig(CacheConfigRequest request, io.grpc.stub.StreamObserver<CacheConfigResponse> responseObserver)
    ## Cache Configuration Retrieve configuration which describes the current service instance.
    void
    credentialsActivate(ClientSession request, io.grpc.stub.StreamObserver<ClientSessionTicket> responseObserver)
    ## Activate Credentials Executed from a CLI or other native build client, once a user has logged-in.
    void
    credentialsCheck(CredentialCheckRequest request, io.grpc.stub.StreamObserver<CredentialCheckResponse> responseObserver)
    ## Credential Check Check a suite of end-user credentials for validity; this method is used from clients, SDKs, and other end-user agents.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected ClientConfigGrpc.ClientConfigStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ClientConfigGrpc.ClientConfigStub>
    • clientConfig

      public void clientConfig(CacheConfigRequest request, io.grpc.stub.StreamObserver<CacheConfigResponse> responseObserver)
       ## Cache Configuration
       Retrieve configuration which describes the current service instance.
       This method reveals whether the authenticated user is talking to a local or remote endpoint, and offers initial client configuration.
       
    • credentialsCheck

      public void credentialsCheck(CredentialCheckRequest request, io.grpc.stub.StreamObserver<CredentialCheckResponse> responseObserver)
       ## Credential Check
       Check a suite of end-user credentials for validity; this method is used from clients, SDKs, and other end-user agents.
       
    • credentialsActivate

      public void credentialsActivate(ClientSession request, io.grpc.stub.StreamObserver<ClientSessionTicket> responseObserver)
       ## Activate Credentials
       Executed from a CLI or other native build client, once a user has logged-in. If the user has access to multiple
       tenant contexts, the response presents them so the user may choose their default (as needed). API keys and other
       authorization material is returned here as well.
       The API key returned is the user's "default API key." This identifies the user account for regular cache traffic;
       the tenant ID may additionally be affixed to cache requests to scope to a specific tenant.