com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CRIssuedDeviceStateServiceClient Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/cr_issued_device_state_service.proto")
public class CRIssuedDeviceStateServiceClient implements CRIssuedDeviceStateService, MutinyClient {
private final MutinyCRIssuedDeviceStateServiceGrpc.MutinyCRIssuedDeviceStateServiceStub stub;
public CRIssuedDeviceStateServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyCRIssuedDeviceStateServiceGrpc.newMutinyStub(channel));
}
private CRIssuedDeviceStateServiceClient(MutinyCRIssuedDeviceStateServiceGrpc.MutinyCRIssuedDeviceStateServiceStub stub) {
this.stub = stub;
}
public CRIssuedDeviceStateServiceClient newInstanceWithStub(MutinyCRIssuedDeviceStateServiceGrpc.MutinyCRIssuedDeviceStateServiceStub stub) {
return new CRIssuedDeviceStateServiceClient(stub);
}
@Override
public MutinyCRIssuedDeviceStateServiceGrpc.MutinyCRIssuedDeviceStateServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni initiate(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest request) {
return stub.initiate(request);
}
@Override
public io.smallrye.mutiny.Uni retrieve(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest request) {
return stub.retrieve(request);
}
@Override
public io.smallrye.mutiny.Uni update(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest request) {
return stub.update(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy