Class DefaultPrimer


  • public class DefaultPrimer
    extends Primer
    Implements Primer by running classloading and OAuth flows asynchronously.
    • Method Detail

      • primeGrpcAsync

        public void primeGrpcAsync()
        Description copied from class: Primer
        Primes the gRPC layer asynchronously.
        Specified by:
        primeGrpcAsync in class Primer
      • primeProtobufAsync

        public void primeProtobufAsync()
        Description copied from class: Primer
        Primes the protobuf layer asynchronously.
        Specified by:
        primeProtobufAsync in class Primer
      • primeCredentialsAsync

        public void primeCredentialsAsync​(com.google.auth.Credentials credentials)
        Description copied from class: Primer
        Primes the credentials, e.g. by preemptively loading an access token.
        Specified by:
        primeCredentialsAsync in class Primer
        Parameters:
        credentials - the credentials to prime.