com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CRProspectCampaignSpecificationServiceGrpc Maven / Gradle / Ivy
package com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.42.1)",
comments = "Source: v10/api/cr_prospect_campaign_specification_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class CRProspectCampaignSpecificationServiceGrpc {
private CRProspectCampaignSpecificationServiceGrpc() {}
public static final String SERVICE_NAME = "com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CRProspectCampaignSpecificationService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getCaptureMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Capture",
requestType = com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest.class,
responseType = com.redhat.mercury.prospectcampaigndesign.v10.CaptureProspectCampaignSpecificationResponseOuterClass.CaptureProspectCampaignSpecificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCaptureMethod() {
io.grpc.MethodDescriptor getCaptureMethod;
if ((getCaptureMethod = CRProspectCampaignSpecificationServiceGrpc.getCaptureMethod) == null) {
synchronized (CRProspectCampaignSpecificationServiceGrpc.class) {
if ((getCaptureMethod = CRProspectCampaignSpecificationServiceGrpc.getCaptureMethod) == null) {
CRProspectCampaignSpecificationServiceGrpc.getCaptureMethod = getCaptureMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Capture"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.CaptureProspectCampaignSpecificationResponseOuterClass.CaptureProspectCampaignSpecificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceMethodDescriptorSupplier("Capture"))
.build();
}
}
}
return getCaptureMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Create",
requestType = com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest.class,
responseType = com.redhat.mercury.prospectcampaigndesign.v10.CreateProspectCampaignSpecificationResponseOuterClass.CreateProspectCampaignSpecificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateMethod() {
io.grpc.MethodDescriptor getCreateMethod;
if ((getCreateMethod = CRProspectCampaignSpecificationServiceGrpc.getCreateMethod) == null) {
synchronized (CRProspectCampaignSpecificationServiceGrpc.class) {
if ((getCreateMethod = CRProspectCampaignSpecificationServiceGrpc.getCreateMethod) == null) {
CRProspectCampaignSpecificationServiceGrpc.getCreateMethod = getCreateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Create"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.CreateProspectCampaignSpecificationResponseOuterClass.CreateProspectCampaignSpecificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
private static volatile io.grpc.MethodDescriptor getExecuteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Execute",
requestType = com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest.class,
responseType = com.redhat.mercury.prospectcampaigndesign.v10.ExecuteProspectCampaignSpecificationResponseOuterClass.ExecuteProspectCampaignSpecificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getExecuteMethod() {
io.grpc.MethodDescriptor getExecuteMethod;
if ((getExecuteMethod = CRProspectCampaignSpecificationServiceGrpc.getExecuteMethod) == null) {
synchronized (CRProspectCampaignSpecificationServiceGrpc.class) {
if ((getExecuteMethod = CRProspectCampaignSpecificationServiceGrpc.getExecuteMethod) == null) {
CRProspectCampaignSpecificationServiceGrpc.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.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.ExecuteProspectCampaignSpecificationResponseOuterClass.ExecuteProspectCampaignSpecificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceMethodDescriptorSupplier("Execute"))
.build();
}
}
}
return getExecuteMethod;
}
private static volatile io.grpc.MethodDescriptor getRequestMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Request",
requestType = com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest.class,
responseType = com.redhat.mercury.prospectcampaigndesign.v10.RequestProspectCampaignSpecificationResponseOuterClass.RequestProspectCampaignSpecificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRequestMethod() {
io.grpc.MethodDescriptor getRequestMethod;
if ((getRequestMethod = CRProspectCampaignSpecificationServiceGrpc.getRequestMethod) == null) {
synchronized (CRProspectCampaignSpecificationServiceGrpc.class) {
if ((getRequestMethod = CRProspectCampaignSpecificationServiceGrpc.getRequestMethod) == null) {
CRProspectCampaignSpecificationServiceGrpc.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.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.RequestProspectCampaignSpecificationResponseOuterClass.RequestProspectCampaignSpecificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceMethodDescriptorSupplier("Request"))
.build();
}
}
}
return getRequestMethod;
}
private static volatile io.grpc.MethodDescriptor getRetrieveMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Retrieve",
requestType = com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest.class,
responseType = com.redhat.mercury.prospectcampaigndesign.v10.RetrieveProspectCampaignSpecificationResponseOuterClass.RetrieveProspectCampaignSpecificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRetrieveMethod() {
io.grpc.MethodDescriptor getRetrieveMethod;
if ((getRetrieveMethod = CRProspectCampaignSpecificationServiceGrpc.getRetrieveMethod) == null) {
synchronized (CRProspectCampaignSpecificationServiceGrpc.class) {
if ((getRetrieveMethod = CRProspectCampaignSpecificationServiceGrpc.getRetrieveMethod) == null) {
CRProspectCampaignSpecificationServiceGrpc.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.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.RetrieveProspectCampaignSpecificationResponseOuterClass.RetrieveProspectCampaignSpecificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceMethodDescriptorSupplier("Retrieve"))
.build();
}
}
}
return getRetrieveMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Update",
requestType = com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest.class,
responseType = com.redhat.mercury.prospectcampaigndesign.v10.UpdateProspectCampaignSpecificationResponseOuterClass.UpdateProspectCampaignSpecificationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateMethod() {
io.grpc.MethodDescriptor getUpdateMethod;
if ((getUpdateMethod = CRProspectCampaignSpecificationServiceGrpc.getUpdateMethod) == null) {
synchronized (CRProspectCampaignSpecificationServiceGrpc.class) {
if ((getUpdateMethod = CRProspectCampaignSpecificationServiceGrpc.getUpdateMethod) == null) {
CRProspectCampaignSpecificationServiceGrpc.getUpdateMethod = getUpdateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Update"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.prospectcampaigndesign.v10.UpdateProspectCampaignSpecificationResponseOuterClass.UpdateProspectCampaignSpecificationResponse.getDefaultInstance()))
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static CRProspectCampaignSpecificationServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CRProspectCampaignSpecificationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRProspectCampaignSpecificationServiceStub(channel, callOptions);
}
};
return CRProspectCampaignSpecificationServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static CRProspectCampaignSpecificationServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CRProspectCampaignSpecificationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRProspectCampaignSpecificationServiceBlockingStub(channel, callOptions);
}
};
return CRProspectCampaignSpecificationServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static CRProspectCampaignSpecificationServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CRProspectCampaignSpecificationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRProspectCampaignSpecificationServiceFutureStub(channel, callOptions);
}
};
return CRProspectCampaignSpecificationServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class CRProspectCampaignSpecificationServiceImplBase implements io.grpc.BindableService {
/**
*/
public void capture(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCaptureMethod(), responseObserver);
}
/**
*/
public void create(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*/
public void execute(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteMethod(), responseObserver);
}
/**
*/
public void request(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestMethod(), responseObserver);
}
/**
*/
public void retrieve(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveMethod(), responseObserver);
}
/**
*/
public void update(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCaptureMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest,
com.redhat.mercury.prospectcampaigndesign.v10.CaptureProspectCampaignSpecificationResponseOuterClass.CaptureProspectCampaignSpecificationResponse>(
this, METHODID_CAPTURE)))
.addMethod(
getCreateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest,
com.redhat.mercury.prospectcampaigndesign.v10.CreateProspectCampaignSpecificationResponseOuterClass.CreateProspectCampaignSpecificationResponse>(
this, METHODID_CREATE)))
.addMethod(
getExecuteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest,
com.redhat.mercury.prospectcampaigndesign.v10.ExecuteProspectCampaignSpecificationResponseOuterClass.ExecuteProspectCampaignSpecificationResponse>(
this, METHODID_EXECUTE)))
.addMethod(
getRequestMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest,
com.redhat.mercury.prospectcampaigndesign.v10.RequestProspectCampaignSpecificationResponseOuterClass.RequestProspectCampaignSpecificationResponse>(
this, METHODID_REQUEST)))
.addMethod(
getRetrieveMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest,
com.redhat.mercury.prospectcampaigndesign.v10.RetrieveProspectCampaignSpecificationResponseOuterClass.RetrieveProspectCampaignSpecificationResponse>(
this, METHODID_RETRIEVE)))
.addMethod(
getUpdateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest,
com.redhat.mercury.prospectcampaigndesign.v10.UpdateProspectCampaignSpecificationResponseOuterClass.UpdateProspectCampaignSpecificationResponse>(
this, METHODID_UPDATE)))
.build();
}
}
/**
*/
public static final class CRProspectCampaignSpecificationServiceStub extends io.grpc.stub.AbstractAsyncStub {
private CRProspectCampaignSpecificationServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CRProspectCampaignSpecificationServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRProspectCampaignSpecificationServiceStub(channel, callOptions);
}
/**
*/
public void capture(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCaptureMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void create(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void execute(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getExecuteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void request(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRequestMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void retrieve(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRetrieveMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void update(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class CRProspectCampaignSpecificationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private CRProspectCampaignSpecificationServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CRProspectCampaignSpecificationServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRProspectCampaignSpecificationServiceBlockingStub(channel, callOptions);
}
/**
*/
public com.redhat.mercury.prospectcampaigndesign.v10.CaptureProspectCampaignSpecificationResponseOuterClass.CaptureProspectCampaignSpecificationResponse capture(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCaptureMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.prospectcampaigndesign.v10.CreateProspectCampaignSpecificationResponseOuterClass.CreateProspectCampaignSpecificationResponse create(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.prospectcampaigndesign.v10.ExecuteProspectCampaignSpecificationResponseOuterClass.ExecuteProspectCampaignSpecificationResponse execute(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getExecuteMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.prospectcampaigndesign.v10.RequestProspectCampaignSpecificationResponseOuterClass.RequestProspectCampaignSpecificationResponse request(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRequestMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.prospectcampaigndesign.v10.RetrieveProspectCampaignSpecificationResponseOuterClass.RetrieveProspectCampaignSpecificationResponse retrieve(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRetrieveMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.prospectcampaigndesign.v10.UpdateProspectCampaignSpecificationResponseOuterClass.UpdateProspectCampaignSpecificationResponse update(com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class CRProspectCampaignSpecificationServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private CRProspectCampaignSpecificationServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CRProspectCampaignSpecificationServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CRProspectCampaignSpecificationServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture capture(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCaptureMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture create(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture execute(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getExecuteMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture request(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRequestMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture retrieve(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRetrieveMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture update(
com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CAPTURE = 0;
private static final int METHODID_CREATE = 1;
private static final int METHODID_EXECUTE = 2;
private static final int METHODID_REQUEST = 3;
private static final int METHODID_RETRIEVE = 4;
private static final int METHODID_UPDATE = 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 CRProspectCampaignSpecificationServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(CRProspectCampaignSpecificationServiceImplBase 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:
serviceImpl.capture((com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CaptureRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE:
serviceImpl.create((com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.CreateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_EXECUTE:
serviceImpl.execute((com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.ExecuteRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REQUEST:
serviceImpl.request((com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RequestRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RETRIEVE:
serviceImpl.retrieve((com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.RetrieveRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.UpdateRequest) 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 CRProspectCampaignSpecificationServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
CRProspectCampaignSpecificationServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.redhat.mercury.prospectcampaigndesign.v10.api.crprospectcampaignspecificationservice.CrProspectCampaignSpecificationService.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("CRProspectCampaignSpecificationService");
}
}
private static final class CRProspectCampaignSpecificationServiceFileDescriptorSupplier
extends CRProspectCampaignSpecificationServiceBaseDescriptorSupplier {
CRProspectCampaignSpecificationServiceFileDescriptorSupplier() {}
}
private static final class CRProspectCampaignSpecificationServiceMethodDescriptorSupplier
extends CRProspectCampaignSpecificationServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
CRProspectCampaignSpecificationServiceMethodDescriptorSupplier(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 (CRProspectCampaignSpecificationServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new CRProspectCampaignSpecificationServiceFileDescriptorSupplier())
.addMethod(getCaptureMethod())
.addMethod(getCreateMethod())
.addMethod(getExecuteMethod())
.addMethod(getRequestMethod())
.addMethod(getRetrieveMethod())
.addMethod(getUpdateMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy