Class AssetGenerationServiceGrpc.AssetGenerationServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AssetGenerationServiceGrpc.AssetGenerationServiceStub>
com.google.ads.googleads.v22.services.AssetGenerationServiceGrpc.AssetGenerationServiceStub
Enclosing class:
AssetGenerationServiceGrpc

public static final class AssetGenerationServiceGrpc.AssetGenerationServiceStub extends io.grpc.stub.AbstractAsyncStub<AssetGenerationServiceGrpc.AssetGenerationServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AssetGenerationService.
 Service for generating new assets with generative AI.
 
  • 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

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    generateImages(GenerateImagesRequest request, io.grpc.stub.StreamObserver<GenerateImagesResponse> responseObserver)
    Uses generative AI to generate images that can be used as assets in a campaign.
    void
    generateText(GenerateTextRequest request, io.grpc.stub.StreamObserver<GenerateTextResponse> responseObserver)
    Uses generative AI to generate text that can be used as assets in a campaign.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected AssetGenerationServiceGrpc.AssetGenerationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AssetGenerationServiceGrpc.AssetGenerationServiceStub>
    • generateText

      public void generateText(GenerateTextRequest request, io.grpc.stub.StreamObserver<GenerateTextResponse> responseObserver)
       Uses generative AI to generate text that can be used as assets in a
       campaign.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [AssetGenerationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • generateImages

      public void generateImages(GenerateImagesRequest request, io.grpc.stub.StreamObserver<GenerateImagesResponse> responseObserver)
       Uses generative AI to generate images that can be used as assets in a
       campaign.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [AssetGenerationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()