Class AdServiceGrpc.AdServiceBlockingStub

    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected AdServiceGrpc.AdServiceBlockingStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      Ad getAd​(GetAdRequest request)
      Returns the requested ad in full detail.
      MutateAdsResponse mutateAds​(MutateAdsRequest request)
      Updates ads.
      • Methods inherited from class io.grpc.stub.AbstractBlockingStub

        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 Detail

      • getAd

        public Ad getAd​(GetAdRequest request)
         Returns the requested ad in full detail.
         List of thrown errors:
           [AuthenticationError]()
           [AuthorizationError]()
           [HeaderError]()
           [InternalError]()
           [QuotaError]()
           [RequestError]()
         
      • mutateAds

        public MutateAdsResponse mutateAds​(MutateAdsRequest request)
         Updates ads. Operation statuses are returned. Updating ads is not supported
         for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd.
         List of thrown errors:
           [AdCustomizerError]()
           [AdError]()
           [AdSharingError]()
           [AdxError]()
           [AssetError]()
           [AssetLinkError]()
           [AuthenticationError]()
           [AuthorizationError]()
           [CollectionSizeError]()
           [DatabaseError]()
           [DateError]()
           [DistinctError]()
           [FeedAttributeReferenceError]()
           [FieldError]()
           [FieldMaskError]()
           [FunctionError]()
           [FunctionParsingError]()
           [HeaderError]()
           [IdError]()
           [ImageError]()
           [InternalError]()
           [ListOperationError]()
           [MediaBundleError]()
           [MediaFileError]()
           [MutateError]()
           [NewResourceCreationError]()
           [NotEmptyError]()
           [NullError]()
           [OperatorError]()
           [PolicyFindingError]()
           [PolicyViolationError]()
           [QuotaError]()
           [RangeError]()
           [RequestError]()
           [SizeLimitError]()
           [StringFormatError]()
           [StringLengthError]()
           [UrlFieldError]()