Class AdServiceStub

  • All Implemented Interfaces:
    com.google.api.gax.core.BackgroundResource, java.lang.AutoCloseable
    Direct Known Subclasses:
    GrpcAdServiceStub

    @Generated("by gapic-generator-java")
    public abstract class AdServiceStub
    extends java.lang.Object
    implements com.google.api.gax.core.BackgroundResource
    Base stub class for the AdService service API.

    This class is for advanced usage and reflects the underlying API directly.

    • Constructor Detail

      • AdServiceStub

        public AdServiceStub()
    • Method Detail

      • getAdCallable

        public com.google.api.gax.rpc.UnaryCallable<GetAdRequest,​Ad> getAdCallable()
      • close

        public abstract void close()
        Specified by:
        close in interface java.lang.AutoCloseable