Class AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub>
com.google.ads.googleads.v22.services.AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub
- Enclosing class:
- AssetGenerationServiceGrpc
public static final class AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) generateImages(GenerateImagesRequest request) Uses generative AI to generate images that can be used as assets in a campaign.generateText(GenerateTextRequest request) Uses generative AI to generate text that can be used as assets in a campaign.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AssetGenerationServiceGrpc.AssetGenerationServiceBlockingV2Stub>
-
generateText
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
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]()
-