Class AssetServiceGrpc.AssetServiceStub

  • Enclosing class:
    AssetServiceGrpc

    public static final class AssetServiceGrpc.AssetServiceStub
    extends io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
     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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected AssetServiceGrpc.AssetServiceStub 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, 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

      • 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]()