com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BQInternalNotificationServiceGrpc Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.42.1)",
comments = "Source: v10/api/bq_internal_notification_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class BQInternalNotificationServiceGrpc {
private BQInternalNotificationServiceGrpc() {}
public static final String SERVICE_NAME = "com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BQInternalNotificationService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getCaptureInternalNotificationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CaptureInternalNotification",
requestType = com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest.class,
responseType = com.redhat.mercury.issueddevicetracking.v10.CaptureInternalNotificationResponseOuterClass.CaptureInternalNotificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCaptureInternalNotificationMethod() {
io.grpc.MethodDescriptor getCaptureInternalNotificationMethod;
if ((getCaptureInternalNotificationMethod = BQInternalNotificationServiceGrpc.getCaptureInternalNotificationMethod) == null) {
synchronized (BQInternalNotificationServiceGrpc.class) {
if ((getCaptureInternalNotificationMethod = BQInternalNotificationServiceGrpc.getCaptureInternalNotificationMethod) == null) {
BQInternalNotificationServiceGrpc.getCaptureInternalNotificationMethod = getCaptureInternalNotificationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CaptureInternalNotification"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.issueddevicetracking.v10.CaptureInternalNotificationResponseOuterClass.CaptureInternalNotificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new BQInternalNotificationServiceMethodDescriptorSupplier("CaptureInternalNotification"))
.build();
}
}
}
return getCaptureInternalNotificationMethod;
}
private static volatile io.grpc.MethodDescriptor getRetrieveInternalNotificationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RetrieveInternalNotification",
requestType = com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest.class,
responseType = com.redhat.mercury.issueddevicetracking.v10.RetrieveInternalNotificationResponseOuterClass.RetrieveInternalNotificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRetrieveInternalNotificationMethod() {
io.grpc.MethodDescriptor getRetrieveInternalNotificationMethod;
if ((getRetrieveInternalNotificationMethod = BQInternalNotificationServiceGrpc.getRetrieveInternalNotificationMethod) == null) {
synchronized (BQInternalNotificationServiceGrpc.class) {
if ((getRetrieveInternalNotificationMethod = BQInternalNotificationServiceGrpc.getRetrieveInternalNotificationMethod) == null) {
BQInternalNotificationServiceGrpc.getRetrieveInternalNotificationMethod = getRetrieveInternalNotificationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveInternalNotification"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.issueddevicetracking.v10.RetrieveInternalNotificationResponseOuterClass.RetrieveInternalNotificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new BQInternalNotificationServiceMethodDescriptorSupplier("RetrieveInternalNotification"))
.build();
}
}
}
return getRetrieveInternalNotificationMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateInternalNotificationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateInternalNotification",
requestType = com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest.class,
responseType = com.redhat.mercury.issueddevicetracking.v10.UpdateInternalNotificationResponseOuterClass.UpdateInternalNotificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateInternalNotificationMethod() {
io.grpc.MethodDescriptor getUpdateInternalNotificationMethod;
if ((getUpdateInternalNotificationMethod = BQInternalNotificationServiceGrpc.getUpdateInternalNotificationMethod) == null) {
synchronized (BQInternalNotificationServiceGrpc.class) {
if ((getUpdateInternalNotificationMethod = BQInternalNotificationServiceGrpc.getUpdateInternalNotificationMethod) == null) {
BQInternalNotificationServiceGrpc.getUpdateInternalNotificationMethod = getUpdateInternalNotificationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInternalNotification"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.issueddevicetracking.v10.UpdateInternalNotificationResponseOuterClass.UpdateInternalNotificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new BQInternalNotificationServiceMethodDescriptorSupplier("UpdateInternalNotification"))
.build();
}
}
}
return getUpdateInternalNotificationMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static BQInternalNotificationServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQInternalNotificationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInternalNotificationServiceStub(channel, callOptions);
}
};
return BQInternalNotificationServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static BQInternalNotificationServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQInternalNotificationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInternalNotificationServiceBlockingStub(channel, callOptions);
}
};
return BQInternalNotificationServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static BQInternalNotificationServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQInternalNotificationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInternalNotificationServiceFutureStub(channel, callOptions);
}
};
return BQInternalNotificationServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class BQInternalNotificationServiceImplBase implements io.grpc.BindableService {
/**
*/
public void captureInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCaptureInternalNotificationMethod(), responseObserver);
}
/**
*/
public void retrieveInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveInternalNotificationMethod(), responseObserver);
}
/**
*/
public void updateInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInternalNotificationMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCaptureInternalNotificationMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest,
com.redhat.mercury.issueddevicetracking.v10.CaptureInternalNotificationResponseOuterClass.CaptureInternalNotificationResponse>(
this, METHODID_CAPTURE_INTERNAL_NOTIFICATION)))
.addMethod(
getRetrieveInternalNotificationMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest,
com.redhat.mercury.issueddevicetracking.v10.RetrieveInternalNotificationResponseOuterClass.RetrieveInternalNotificationResponse>(
this, METHODID_RETRIEVE_INTERNAL_NOTIFICATION)))
.addMethod(
getUpdateInternalNotificationMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest,
com.redhat.mercury.issueddevicetracking.v10.UpdateInternalNotificationResponseOuterClass.UpdateInternalNotificationResponse>(
this, METHODID_UPDATE_INTERNAL_NOTIFICATION)))
.build();
}
}
/**
*/
public static final class BQInternalNotificationServiceStub extends io.grpc.stub.AbstractAsyncStub {
private BQInternalNotificationServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQInternalNotificationServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInternalNotificationServiceStub(channel, callOptions);
}
/**
*/
public void captureInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCaptureInternalNotificationMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void retrieveInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRetrieveInternalNotificationMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateInternalNotificationMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class BQInternalNotificationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private BQInternalNotificationServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQInternalNotificationServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInternalNotificationServiceBlockingStub(channel, callOptions);
}
/**
*/
public com.redhat.mercury.issueddevicetracking.v10.CaptureInternalNotificationResponseOuterClass.CaptureInternalNotificationResponse captureInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCaptureInternalNotificationMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.issueddevicetracking.v10.RetrieveInternalNotificationResponseOuterClass.RetrieveInternalNotificationResponse retrieveInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRetrieveInternalNotificationMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.issueddevicetracking.v10.UpdateInternalNotificationResponseOuterClass.UpdateInternalNotificationResponse updateInternalNotification(com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateInternalNotificationMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class BQInternalNotificationServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private BQInternalNotificationServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQInternalNotificationServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInternalNotificationServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture captureInternalNotification(
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCaptureInternalNotificationMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture retrieveInternalNotification(
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRetrieveInternalNotificationMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateInternalNotification(
com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateInternalNotificationMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CAPTURE_INTERNAL_NOTIFICATION = 0;
private static final int METHODID_RETRIEVE_INTERNAL_NOTIFICATION = 1;
private static final int METHODID_UPDATE_INTERNAL_NOTIFICATION = 2;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final BQInternalNotificationServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(BQInternalNotificationServiceImplBase serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_CAPTURE_INTERNAL_NOTIFICATION:
serviceImpl.captureInternalNotification((com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.CaptureInternalNotificationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RETRIEVE_INTERNAL_NOTIFICATION:
serviceImpl.retrieveInternalNotification((com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.RetrieveInternalNotificationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_INTERNAL_NOTIFICATION:
serviceImpl.updateInternalNotification((com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.UpdateInternalNotificationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(
io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class BQInternalNotificationServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
BQInternalNotificationServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.redhat.mercury.issueddevicetracking.v10.api.bqinternalnotificationservice.BqInternalNotificationService.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("BQInternalNotificationService");
}
}
private static final class BQInternalNotificationServiceFileDescriptorSupplier
extends BQInternalNotificationServiceBaseDescriptorSupplier {
BQInternalNotificationServiceFileDescriptorSupplier() {}
}
private static final class BQInternalNotificationServiceMethodDescriptorSupplier
extends BQInternalNotificationServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
BQInternalNotificationServiceMethodDescriptorSupplier(String methodName) {
this.methodName = methodName;
}
@java.lang.Override
public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
return getServiceDescriptor().findMethodByName(methodName);
}
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (BQInternalNotificationServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new BQInternalNotificationServiceFileDescriptorSupplier())
.addMethod(getCaptureInternalNotificationMethod())
.addMethod(getRetrieveInternalNotificationMethod())
.addMethod(getUpdateInternalNotificationMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy