All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BQInternalNotificationServiceClient Maven / Gradle / Ivy

The newest version!
package com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice;

import java.util.function.BiFunction;

import io.quarkus.grpc.runtime.MutinyClient;

@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_internal_notification_service.proto")
public class BQInternalNotificationServiceClient implements BQInternalNotificationService, MutinyClient {

    private final MutinyBQInternalNotificationServiceGrpc.MutinyBQInternalNotificationServiceStub stub;

    public BQInternalNotificationServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
       this.stub = stubConfigurator.apply(name,MutinyBQInternalNotificationServiceGrpc.newMutinyStub(channel));
    }

    private BQInternalNotificationServiceClient(MutinyBQInternalNotificationServiceGrpc.MutinyBQInternalNotificationServiceStub stub) {
       this.stub = stub;
    }

    public BQInternalNotificationServiceClient newInstanceWithStub(MutinyBQInternalNotificationServiceGrpc.MutinyBQInternalNotificationServiceStub stub) {
        return new BQInternalNotificationServiceClient(stub);
    }

    @Override
    public MutinyBQInternalNotificationServiceGrpc.MutinyBQInternalNotificationServiceStub getStub() {
       return stub;
    }

    @Override
    public io.smallrye.mutiny.Uni captureInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest request) {
       return stub.captureInternalNotification(request);
    }
    @Override
    public io.smallrye.mutiny.Uni retrieveInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest request) {
       return stub.retrieveInternalNotification(request);
    }
    @Override
    public io.smallrye.mutiny.Uni updateInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest request) {
       return stub.updateInternalNotification(request);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy