com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CRFinancialStatementAssessmentServiceGrpc Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.42.1)",
comments = "Source: v10/api/cr_financial_statement_assessment_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class CRFinancialStatementAssessmentServiceGrpc {
private CRFinancialStatementAssessmentServiceGrpc() {}
public static final String SERVICE_NAME = "com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CRFinancialStatementAssessmentService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getEvaluateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Evaluate",
requestType = com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest.class,
responseType = com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getEvaluateMethod() {
io.grpc.MethodDescriptor getEvaluateMethod;
if ((getEvaluateMethod = CRFinancialStatementAssessmentServiceGrpc.getEvaluateMethod) == null) {
synchronized (CRFinancialStatementAssessmentServiceGrpc.class) {
if ((getEvaluateMethod = CRFinancialStatementAssessmentServiceGrpc.getEvaluateMethod) == null) {
CRFinancialStatementAssessmentServiceGrpc.getEvaluateMethod = getEvaluateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Evaluate"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.getDefaultInstance()))
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceMethodDescriptorSupplier("Evaluate"))
.build();
}
}
}
return getEvaluateMethod;
}
private static volatile io.grpc.MethodDescriptor getExecuteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Execute",
requestType = com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest.class,
responseType = com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getExecuteMethod() {
io.grpc.MethodDescriptor getExecuteMethod;
if ((getExecuteMethod = CRFinancialStatementAssessmentServiceGrpc.getExecuteMethod) == null) {
synchronized (CRFinancialStatementAssessmentServiceGrpc.class) {
if ((getExecuteMethod = CRFinancialStatementAssessmentServiceGrpc.getExecuteMethod) == null) {
CRFinancialStatementAssessmentServiceGrpc.getExecuteMethod = getExecuteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Execute"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.getDefaultInstance()))
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceMethodDescriptorSupplier("Execute"))
.build();
}
}
}
return getExecuteMethod;
}
private static volatile io.grpc.MethodDescriptor getGrantMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Grant",
requestType = com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest.class,
responseType = com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGrantMethod() {
io.grpc.MethodDescriptor getGrantMethod;
if ((getGrantMethod = CRFinancialStatementAssessmentServiceGrpc.getGrantMethod) == null) {
synchronized (CRFinancialStatementAssessmentServiceGrpc.class) {
if ((getGrantMethod = CRFinancialStatementAssessmentServiceGrpc.getGrantMethod) == null) {
CRFinancialStatementAssessmentServiceGrpc.getGrantMethod = getGrantMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Grant"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.getDefaultInstance()))
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceMethodDescriptorSupplier("Grant"))
.build();
}
}
}
return getGrantMethod;
}
private static volatile io.grpc.MethodDescriptor getNotifyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Notify",
requestType = com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest.class,
responseType = com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getNotifyMethod() {
io.grpc.MethodDescriptor getNotifyMethod;
if ((getNotifyMethod = CRFinancialStatementAssessmentServiceGrpc.getNotifyMethod) == null) {
synchronized (CRFinancialStatementAssessmentServiceGrpc.class) {
if ((getNotifyMethod = CRFinancialStatementAssessmentServiceGrpc.getNotifyMethod) == null) {
CRFinancialStatementAssessmentServiceGrpc.getNotifyMethod = getNotifyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Notify"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.getDefaultInstance()))
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceMethodDescriptorSupplier("Notify"))
.build();
}
}
}
return getNotifyMethod;
}
private static volatile io.grpc.MethodDescriptor getRequestMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Request",
requestType = com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest.class,
responseType = com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRequestMethod() {
io.grpc.MethodDescriptor getRequestMethod;
if ((getRequestMethod = CRFinancialStatementAssessmentServiceGrpc.getRequestMethod) == null) {
synchronized (CRFinancialStatementAssessmentServiceGrpc.class) {
if ((getRequestMethod = CRFinancialStatementAssessmentServiceGrpc.getRequestMethod) == null) {
CRFinancialStatementAssessmentServiceGrpc.getRequestMethod = getRequestMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Request"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.getDefaultInstance()))
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceMethodDescriptorSupplier("Request"))
.build();
}
}
}
return getRequestMethod;
}
private static volatile io.grpc.MethodDescriptor getRetrieveMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Retrieve",
requestType = com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest.class,
responseType = com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRetrieveMethod() {
io.grpc.MethodDescriptor getRetrieveMethod;
if ((getRetrieveMethod = CRFinancialStatementAssessmentServiceGrpc.getRetrieveMethod) == null) {
synchronized (CRFinancialStatementAssessmentServiceGrpc.class) {
if ((getRetrieveMethod = CRFinancialStatementAssessmentServiceGrpc.getRetrieveMethod) == null) {
CRFinancialStatementAssessmentServiceGrpc.getRetrieveMethod = getRetrieveMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Retrieve"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment.getDefaultInstance()))
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceMethodDescriptorSupplier("Retrieve"))
.build();
}
}
}
return getRetrieveMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static CRFinancialStatementAssessmentServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CRFinancialStatementAssessmentServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRFinancialStatementAssessmentServiceStub(channel, callOptions);
}
};
return CRFinancialStatementAssessmentServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static CRFinancialStatementAssessmentServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CRFinancialStatementAssessmentServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRFinancialStatementAssessmentServiceBlockingStub(channel, callOptions);
}
};
return CRFinancialStatementAssessmentServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static CRFinancialStatementAssessmentServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CRFinancialStatementAssessmentServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRFinancialStatementAssessmentServiceFutureStub(channel, callOptions);
}
};
return CRFinancialStatementAssessmentServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class CRFinancialStatementAssessmentServiceImplBase implements io.grpc.BindableService {
/**
*/
public void evaluate(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEvaluateMethod(), responseObserver);
}
/**
*/
public void execute(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteMethod(), responseObserver);
}
/**
*/
public void grant(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGrantMethod(), responseObserver);
}
/**
*/
public void notify(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNotifyMethod(), responseObserver);
}
/**
*/
public void request(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestMethod(), responseObserver);
}
/**
*/
public void retrieve(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getEvaluateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest,
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment>(
this, METHODID_EVALUATE)))
.addMethod(
getExecuteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest,
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment>(
this, METHODID_EXECUTE)))
.addMethod(
getGrantMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest,
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment>(
this, METHODID_GRANT)))
.addMethod(
getNotifyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest,
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment>(
this, METHODID_NOTIFY)))
.addMethod(
getRequestMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest,
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment>(
this, METHODID_REQUEST)))
.addMethod(
getRetrieveMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest,
com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment>(
this, METHODID_RETRIEVE)))
.build();
}
}
/**
*/
public static final class CRFinancialStatementAssessmentServiceStub extends io.grpc.stub.AbstractAsyncStub {
private CRFinancialStatementAssessmentServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CRFinancialStatementAssessmentServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRFinancialStatementAssessmentServiceStub(channel, callOptions);
}
/**
*/
public void evaluate(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getEvaluateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void execute(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getExecuteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void grant(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGrantMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void notify(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getNotifyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void request(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRequestMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void retrieve(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRetrieveMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class CRFinancialStatementAssessmentServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private CRFinancialStatementAssessmentServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CRFinancialStatementAssessmentServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRFinancialStatementAssessmentServiceBlockingStub(channel, callOptions);
}
/**
*/
public com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment evaluate(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getEvaluateMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment execute(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getExecuteMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment grant(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGrantMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment notify(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getNotifyMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment request(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRequestMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.financialstatementassessment.v10.FinancialStatementAssessmentOuterClass.FinancialStatementAssessment retrieve(com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRetrieveMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class CRFinancialStatementAssessmentServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private CRFinancialStatementAssessmentServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CRFinancialStatementAssessmentServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRFinancialStatementAssessmentServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture evaluate(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getEvaluateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture execute(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getExecuteMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture grant(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGrantMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture notify(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getNotifyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture request(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRequestMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture retrieve(
com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRetrieveMethod(), getCallOptions()), request);
}
}
private static final int METHODID_EVALUATE = 0;
private static final int METHODID_EXECUTE = 1;
private static final int METHODID_GRANT = 2;
private static final int METHODID_NOTIFY = 3;
private static final int METHODID_REQUEST = 4;
private static final int METHODID_RETRIEVE = 5;
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 CRFinancialStatementAssessmentServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(CRFinancialStatementAssessmentServiceImplBase 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_EVALUATE:
serviceImpl.evaluate((com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.EvaluateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_EXECUTE:
serviceImpl.execute((com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.ExecuteRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GRANT:
serviceImpl.grant((com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.GrantRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_NOTIFY:
serviceImpl.notify((com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.NotifyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REQUEST:
serviceImpl.request((com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RequestRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RETRIEVE:
serviceImpl.retrieve((com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.RetrieveRequest) 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 CRFinancialStatementAssessmentServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
CRFinancialStatementAssessmentServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.redhat.mercury.financialstatementassessment.v10.api.crfinancialstatementassessmentservice.CrFinancialStatementAssessmentService.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("CRFinancialStatementAssessmentService");
}
}
private static final class CRFinancialStatementAssessmentServiceFileDescriptorSupplier
extends CRFinancialStatementAssessmentServiceBaseDescriptorSupplier {
CRFinancialStatementAssessmentServiceFileDescriptorSupplier() {}
}
private static final class CRFinancialStatementAssessmentServiceMethodDescriptorSupplier
extends CRFinancialStatementAssessmentServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
CRFinancialStatementAssessmentServiceMethodDescriptorSupplier(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 (CRFinancialStatementAssessmentServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new CRFinancialStatementAssessmentServiceFileDescriptorSupplier())
.addMethod(getEvaluateMethod())
.addMethod(getExecuteMethod())
.addMethod(getGrantMethod())
.addMethod(getNotifyMethod())
.addMethod(getRequestMethod())
.addMethod(getRetrieveMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy