Interface Subscriber

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.google.api.core.ApiService

        com.google.api.core.ApiService.Listener, com.google.api.core.ApiService.State
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static Subscriber create​(SubscriberSettings settings)
      Create a new Pub/Sub Lite subscriber using the provided settings.
      • Methods inherited from interface com.google.api.core.ApiService

        addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
    • Method Detail

      • create

        static Subscriber create​(SubscriberSettings settings)
                          throws com.google.api.gax.rpc.ApiException
        Create a new Pub/Sub Lite subscriber using the provided settings.
        Throws:
        com.google.api.gax.rpc.ApiException