Class ProductLinkServiceGrpc.ProductLinkServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ProductLinkServiceGrpc.ProductLinkServiceStub>
com.google.ads.googleads.v18.services.ProductLinkServiceGrpc.ProductLinkServiceStub
Enclosing class:
ProductLinkServiceGrpc

public static final class ProductLinkServiceGrpc.ProductLinkServiceStub extends io.grpc.stub.AbstractAsyncStub<ProductLinkServiceGrpc.ProductLinkServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ProductLinkService.
 This service allows management of links between  a Google
 Ads customer and another product.
 
  • Method Details

    • build

      protected ProductLinkServiceGrpc.ProductLinkServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ProductLinkServiceGrpc.ProductLinkServiceStub>
    • createProductLink

      public void createProductLink(CreateProductLinkRequest request, io.grpc.stub.StreamObserver<CreateProductLinkResponse> responseObserver)
       Creates a product link.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [DatabaseError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()
       
    • removeProductLink

      public void removeProductLink(RemoveProductLinkRequest request, io.grpc.stub.StreamObserver<RemoveProductLinkResponse> responseObserver)
       Removes a product link.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldMaskError]()
         [HeaderError]()
         [InternalError]()
         [MutateError]()
         [QuotaError]()
         [RequestError]()