com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CRIssuedDeviceStateServiceBean Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice;
import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/cr_issued_device_state_service.proto")
public class CRIssuedDeviceStateServiceBean extends MutinyCRIssuedDeviceStateServiceGrpc.CRIssuedDeviceStateServiceImplBase implements BindableService, MutinyBean {
private final CRIssuedDeviceStateService delegate;
CRIssuedDeviceStateServiceBean(@GrpcService CRIssuedDeviceStateService delegate) {
this.delegate = delegate;
}
@Override
public io.smallrye.mutiny.Uni initiate(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.InitiateRequest request) {
try {
return delegate.initiate(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni retrieve(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.RetrieveRequest request) {
try {
return delegate.retrieve(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni update(com.redhat.mercury.issueddevicetracking.v10.api.crissueddevicestateservice.CrIssuedDeviceStateService.UpdateRequest request) {
try {
return delegate.update(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy