Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BQInstrumentDefinitionServiceGrpc Maven / Gradle / Ivy
package com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.42.1)",
comments = "Source: v10/api/bq_instrument_definition_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class BQInstrumentDefinitionServiceGrpc {
private BQInstrumentDefinitionServiceGrpc() {}
public static final String SERVICE_NAME = "com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BQInstrumentDefinitionService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getRequestInstrumentDefinitionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RequestInstrumentDefinition",
requestType = com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest.class,
responseType = com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRequestInstrumentDefinitionMethod() {
io.grpc.MethodDescriptor getRequestInstrumentDefinitionMethod;
if ((getRequestInstrumentDefinitionMethod = BQInstrumentDefinitionServiceGrpc.getRequestInstrumentDefinitionMethod) == null) {
synchronized (BQInstrumentDefinitionServiceGrpc.class) {
if ((getRequestInstrumentDefinitionMethod = BQInstrumentDefinitionServiceGrpc.getRequestInstrumentDefinitionMethod) == null) {
BQInstrumentDefinitionServiceGrpc.getRequestInstrumentDefinitionMethod = getRequestInstrumentDefinitionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RequestInstrumentDefinition"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition.getDefaultInstance()))
.setSchemaDescriptor(new BQInstrumentDefinitionServiceMethodDescriptorSupplier("RequestInstrumentDefinition"))
.build();
}
}
}
return getRequestInstrumentDefinitionMethod;
}
private static volatile io.grpc.MethodDescriptor getRetrieveInstrumentDefinitionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RetrieveInstrumentDefinition",
requestType = com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest.class,
responseType = com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRetrieveInstrumentDefinitionMethod() {
io.grpc.MethodDescriptor getRetrieveInstrumentDefinitionMethod;
if ((getRetrieveInstrumentDefinitionMethod = BQInstrumentDefinitionServiceGrpc.getRetrieveInstrumentDefinitionMethod) == null) {
synchronized (BQInstrumentDefinitionServiceGrpc.class) {
if ((getRetrieveInstrumentDefinitionMethod = BQInstrumentDefinitionServiceGrpc.getRetrieveInstrumentDefinitionMethod) == null) {
BQInstrumentDefinitionServiceGrpc.getRetrieveInstrumentDefinitionMethod = getRetrieveInstrumentDefinitionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveInstrumentDefinition"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition.getDefaultInstance()))
.setSchemaDescriptor(new BQInstrumentDefinitionServiceMethodDescriptorSupplier("RetrieveInstrumentDefinition"))
.build();
}
}
}
return getRetrieveInstrumentDefinitionMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateInstrumentDefinitionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateInstrumentDefinition",
requestType = com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest.class,
responseType = com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateInstrumentDefinitionMethod() {
io.grpc.MethodDescriptor getUpdateInstrumentDefinitionMethod;
if ((getUpdateInstrumentDefinitionMethod = BQInstrumentDefinitionServiceGrpc.getUpdateInstrumentDefinitionMethod) == null) {
synchronized (BQInstrumentDefinitionServiceGrpc.class) {
if ((getUpdateInstrumentDefinitionMethod = BQInstrumentDefinitionServiceGrpc.getUpdateInstrumentDefinitionMethod) == null) {
BQInstrumentDefinitionServiceGrpc.getUpdateInstrumentDefinitionMethod = getUpdateInstrumentDefinitionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstrumentDefinition"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition.getDefaultInstance()))
.setSchemaDescriptor(new BQInstrumentDefinitionServiceMethodDescriptorSupplier("UpdateInstrumentDefinition"))
.build();
}
}
}
return getUpdateInstrumentDefinitionMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static BQInstrumentDefinitionServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQInstrumentDefinitionServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInstrumentDefinitionServiceStub(channel, callOptions);
}
};
return BQInstrumentDefinitionServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static BQInstrumentDefinitionServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQInstrumentDefinitionServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInstrumentDefinitionServiceBlockingStub(channel, callOptions);
}
};
return BQInstrumentDefinitionServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static BQInstrumentDefinitionServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public BQInstrumentDefinitionServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInstrumentDefinitionServiceFutureStub(channel, callOptions);
}
};
return BQInstrumentDefinitionServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class BQInstrumentDefinitionServiceImplBase implements io.grpc.BindableService {
/**
*/
public void requestInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestInstrumentDefinitionMethod(), responseObserver);
}
/**
*/
public void retrieveInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveInstrumentDefinitionMethod(), responseObserver);
}
/**
*/
public void updateInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstrumentDefinitionMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getRequestInstrumentDefinitionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest,
com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition>(
this, METHODID_REQUEST_INSTRUMENT_DEFINITION)))
.addMethod(
getRetrieveInstrumentDefinitionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest,
com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition>(
this, METHODID_RETRIEVE_INSTRUMENT_DEFINITION)))
.addMethod(
getUpdateInstrumentDefinitionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest,
com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition>(
this, METHODID_UPDATE_INSTRUMENT_DEFINITION)))
.build();
}
}
/**
*/
public static final class BQInstrumentDefinitionServiceStub extends io.grpc.stub.AbstractAsyncStub {
private BQInstrumentDefinitionServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQInstrumentDefinitionServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInstrumentDefinitionServiceStub(channel, callOptions);
}
/**
*/
public void requestInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRequestInstrumentDefinitionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void retrieveInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRetrieveInstrumentDefinitionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateInstrumentDefinitionMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class BQInstrumentDefinitionServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private BQInstrumentDefinitionServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQInstrumentDefinitionServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInstrumentDefinitionServiceBlockingStub(channel, callOptions);
}
/**
*/
public com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition requestInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRequestInstrumentDefinitionMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition retrieveInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRetrieveInstrumentDefinitionMethod(), getCallOptions(), request);
}
/**
*/
public com.redhat.mercury.ecmanddcm.v10.InstrumentDefinitionOuterClass.InstrumentDefinition updateInstrumentDefinition(com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateInstrumentDefinitionMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class BQInstrumentDefinitionServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private BQInstrumentDefinitionServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected BQInstrumentDefinitionServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new BQInstrumentDefinitionServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture requestInstrumentDefinition(
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRequestInstrumentDefinitionMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture retrieveInstrumentDefinition(
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRetrieveInstrumentDefinitionMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateInstrumentDefinition(
com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateInstrumentDefinitionMethod(), getCallOptions()), request);
}
}
private static final int METHODID_REQUEST_INSTRUMENT_DEFINITION = 0;
private static final int METHODID_RETRIEVE_INSTRUMENT_DEFINITION = 1;
private static final int METHODID_UPDATE_INSTRUMENT_DEFINITION = 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 BQInstrumentDefinitionServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(BQInstrumentDefinitionServiceImplBase 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_REQUEST_INSTRUMENT_DEFINITION:
serviceImpl.requestInstrumentDefinition((com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RequestInstrumentDefinitionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RETRIEVE_INSTRUMENT_DEFINITION:
serviceImpl.retrieveInstrumentDefinition((com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.RetrieveInstrumentDefinitionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_INSTRUMENT_DEFINITION:
serviceImpl.updateInstrumentDefinition((com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.UpdateInstrumentDefinitionRequest) 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 BQInstrumentDefinitionServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
BQInstrumentDefinitionServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.redhat.mercury.ecmanddcm.v10.api.bqinstrumentdefinitionservice.BqInstrumentDefinitionService.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("BQInstrumentDefinitionService");
}
}
private static final class BQInstrumentDefinitionServiceFileDescriptorSupplier
extends BQInstrumentDefinitionServiceBaseDescriptorSupplier {
BQInstrumentDefinitionServiceFileDescriptorSupplier() {}
}
private static final class BQInstrumentDefinitionServiceMethodDescriptorSupplier
extends BQInstrumentDefinitionServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
BQInstrumentDefinitionServiceMethodDescriptorSupplier(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 (BQInstrumentDefinitionServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new BQInstrumentDefinitionServiceFileDescriptorSupplier())
.addMethod(getRequestInstrumentDefinitionMethod())
.addMethod(getRetrieveInstrumentDefinitionMethod())
.addMethod(getUpdateInstrumentDefinitionMethod())
.build();
}
}
}
return result;
}
}