Class AssetServiceGrpc.AssetServiceStub

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

public static final class AssetServiceGrpc.AssetServiceStub extends io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AssetService.
 Service to manage assets. Asset types can be created with AssetService are
 YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be
 created with Ad inline.
 
  • 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
    mutateAssets(MutateAssetsRequest request, io.grpc.stub.StreamObserver<MutateAssetsResponse> responseObserver)
    Creates assets.

    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 AssetServiceGrpc.AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceStub>
    • mutateAssets

      public void mutateAssets(MutateAssetsRequest request, io.grpc.stub.StreamObserver<MutateAssetsResponse> responseObserver)
       Creates assets. Operation statuses are returned.
       List of thrown errors:
         [AssetError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [CollectionSizeError]()
         [CurrencyCodeError]()
         [DatabaseError]()
         [DateError]()
         [DistinctError]()
         [FieldError]()
         [FieldMaskError]()
         [HeaderError]()
         [IdError]()
         [InternalError]()
         [ListOperationError]()
         [MediaUploadError]()
         [MutateError]()
         [NotAllowlistedError]()
         [NotEmptyError]()
         [OperatorError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
         [SizeLimitError]()
         [StringFormatError]()
         [StringLengthError]()
         [UrlFieldError]()
         [YoutubeVideoRegistrationError]()