com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BQWithdrawalsServiceGrpc Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.42.1)",
comments = "Source: v10/api/bq_withdrawals_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class BQWithdrawalsServiceGrpc {
private BQWithdrawalsServiceGrpc() {}
public static final String SERVICE_NAME = "com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BQWithdrawalsService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getInitiateWithdrawalsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "InitiateWithdrawals",
requestType = com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest.class,
responseType = com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getInitiateWithdrawalsMethod() {
io.grpc.MethodDescriptor getInitiateWithdrawalsMethod;
if ((getInitiateWithdrawalsMethod = BQWithdrawalsServiceGrpc.getInitiateWithdrawalsMethod) == null) {
synchronized (BQWithdrawalsServiceGrpc.class) {
if ((getInitiateWithdrawalsMethod = BQWithdrawalsServiceGrpc.getInitiateWithdrawalsMethod) == null) {
BQWithdrawalsServiceGrpc.getInitiateWithdrawalsMethod = getInitiateWithdrawalsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "InitiateWithdrawals"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals.getDefaultInstance()))
.setSchemaDescriptor(new BQWithdrawalsServiceMethodDescriptorSupplier("InitiateWithdrawals"))
.build();
}
}
}
return getInitiateWithdrawalsMethod;
}
private static volatile io.grpc.MethodDescriptor getRetrieveWithdrawalsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RetrieveWithdrawals",
requestType = com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest.class,
responseType = com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRetrieveWithdrawalsMethod() {
io.grpc.MethodDescriptor getRetrieveWithdrawalsMethod;
if ((getRetrieveWithdrawalsMethod = BQWithdrawalsServiceGrpc.getRetrieveWithdrawalsMethod) == null) {
synchronized (BQWithdrawalsServiceGrpc.class) {
if ((getRetrieveWithdrawalsMethod = BQWithdrawalsServiceGrpc.getRetrieveWithdrawalsMethod) == null) {
BQWithdrawalsServiceGrpc.getRetrieveWithdrawalsMethod = getRetrieveWithdrawalsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveWithdrawals"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals.getDefaultInstance()))
.setSchemaDescriptor(new BQWithdrawalsServiceMethodDescriptorSupplier("RetrieveWithdrawals"))
.build();
}
}
}
return getRetrieveWithdrawalsMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateWithdrawalsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateWithdrawals",
requestType = com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest.class,
responseType = com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateWithdrawalsMethod() {
io.grpc.MethodDescriptor getUpdateWithdrawalsMethod;
if ((getUpdateWithdrawalsMethod = BQWithdrawalsServiceGrpc.getUpdateWithdrawalsMethod) == null) {
synchronized (BQWithdrawalsServiceGrpc.class) {
if ((getUpdateWithdrawalsMethod = BQWithdrawalsServiceGrpc.getUpdateWithdrawalsMethod) == null) {
BQWithdrawalsServiceGrpc.getUpdateWithdrawalsMethod = getUpdateWithdrawalsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateWithdrawals"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals.getDefaultInstance()))
.setSchemaDescriptor(new BQWithdrawalsServiceMethodDescriptorSupplier("UpdateWithdrawals"))
.build();
}
}
}
return getUpdateWithdrawalsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static BQWithdrawalsServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQWithdrawalsServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQWithdrawalsServiceStub(channel, callOptions);
}
};
return BQWithdrawalsServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static BQWithdrawalsServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQWithdrawalsServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQWithdrawalsServiceBlockingStub(channel, callOptions);
}
};
return BQWithdrawalsServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static BQWithdrawalsServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQWithdrawalsServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQWithdrawalsServiceFutureStub(channel, callOptions);
}
};
return BQWithdrawalsServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class BQWithdrawalsServiceImplBase implements io.grpc.BindableService {
/**
*/
public void initiateWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitiateWithdrawalsMethod(), responseObserver);
}
/**
*/
public void retrieveWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveWithdrawalsMethod(), responseObserver);
}
/**
*/
public void updateWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateWithdrawalsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getInitiateWithdrawalsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest,
com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals>(
this, METHODID_INITIATE_WITHDRAWALS)))
.addMethod(
getRetrieveWithdrawalsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest,
com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals>(
this, METHODID_RETRIEVE_WITHDRAWALS)))
.addMethod(
getUpdateWithdrawalsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest,
com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals>(
this, METHODID_UPDATE_WITHDRAWALS)))
.build();
}
}
/**
*/
public static final class BQWithdrawalsServiceStub extends io.grpc.stub.AbstractAsyncStub {
private BQWithdrawalsServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQWithdrawalsServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQWithdrawalsServiceStub(channel, callOptions);
}
/**
*/
public void initiateWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getInitiateWithdrawalsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void retrieveWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRetrieveWithdrawalsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateWithdrawalsMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class BQWithdrawalsServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private BQWithdrawalsServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQWithdrawalsServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQWithdrawalsServiceBlockingStub(channel, callOptions);
}
/**
*/
public com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals initiateWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getInitiateWithdrawalsMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals retrieveWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRetrieveWithdrawalsMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.merchandisingloan.v10.WithdrawalsOuterClass.Withdrawals updateWithdrawals(com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateWithdrawalsMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class BQWithdrawalsServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private BQWithdrawalsServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQWithdrawalsServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQWithdrawalsServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture initiateWithdrawals(
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getInitiateWithdrawalsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture retrieveWithdrawals(
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRetrieveWithdrawalsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateWithdrawals(
com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateWithdrawalsMethod(), getCallOptions()), request);
}
}
private static final int METHODID_INITIATE_WITHDRAWALS = 0;
private static final int METHODID_RETRIEVE_WITHDRAWALS = 1;
private static final int METHODID_UPDATE_WITHDRAWALS = 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 BQWithdrawalsServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(BQWithdrawalsServiceImplBase 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_INITIATE_WITHDRAWALS:
serviceImpl.initiateWithdrawals((com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.InitiateWithdrawalsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RETRIEVE_WITHDRAWALS:
serviceImpl.retrieveWithdrawals((com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.RetrieveWithdrawalsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_WITHDRAWALS:
serviceImpl.updateWithdrawals((com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.UpdateWithdrawalsRequest) 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 BQWithdrawalsServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
BQWithdrawalsServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.redhat.mercury.merchandisingloan.v10.api.bqwithdrawalsservice.BqWithdrawalsService.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("BQWithdrawalsService");
}
}
private static final class BQWithdrawalsServiceFileDescriptorSupplier
extends BQWithdrawalsServiceBaseDescriptorSupplier {
BQWithdrawalsServiceFileDescriptorSupplier() {}
}
private static final class BQWithdrawalsServiceMethodDescriptorSupplier
extends BQWithdrawalsServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
BQWithdrawalsServiceMethodDescriptorSupplier(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 (BQWithdrawalsServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new BQWithdrawalsServiceFileDescriptorSupplier())
.addMethod(getInitiateWithdrawalsMethod())
.addMethod(getRetrieveWithdrawalsMethod())
.addMethod(getUpdateWithdrawalsMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy