Skip to content
Permalink
Browse files

Updated generated code.

  • Loading branch information...
Ralph Gasser
Ralph Gasser committed Oct 9, 2019
1 parent 212deac commit 30ccb04a173bbd8d8ab20144b7010c8dfcf1459d
@@ -24,18 +24,18 @@

private CottonDDLGrpc() {}

public static final String SERVICE_NAME = "CottonDDL";
public static final String SERVICE_NAME = "ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL";

// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static final io.grpc.MethodDescriptor<com.google.protobuf.Empty,
public static final io.grpc.MethodDescriptor<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty,
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema> METHOD_LIST_SCHEMAS =
io.grpc.MethodDescriptor.<com.google.protobuf.Empty, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema>newBuilder()
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "ListSchemas"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "ListSchemas"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema.getDefaultInstance()))
.setSchemaDescriptor(new CottonDDLMethodDescriptorSupplier("ListSchemas"))
@@ -46,7 +46,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "CreateSchema"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "CreateSchema"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -59,7 +59,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "DropSchema"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "DropSchema"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -72,7 +72,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "ListEntities"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "ListEntities"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -85,7 +85,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.CreateEntityMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "CreateEntity"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "CreateEntity"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.CreateEntityMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -98,7 +98,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "DropEntity"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "DropEntity"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -111,7 +111,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.CreateIndexMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "CreateIndex"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "CreateIndex"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.CreateIndexMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -124,7 +124,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.DropIndexMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "DropIndex"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "DropIndex"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.DropIndexMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -137,7 +137,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.RebuildIndexMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "RebuildIndex"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "RebuildIndex"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.RebuildIndexMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -150,7 +150,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "OptimizeEntity"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "OptimizeEntity"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -163,7 +163,7 @@ private CottonDDLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDDL", "TruncateEntity"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDDL", "TruncateEntity"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Entity.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -203,7 +203,7 @@ public static CottonDDLFutureStub newFutureStub(
* Handling DB schemas.
* </pre>
*/
public void listSchemas(com.google.protobuf.Empty request,
public void listSchemas(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request,
io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema> responseObserver) {
asyncUnimplementedUnaryCall(METHOD_LIST_SCHEMAS, responseObserver);
}
@@ -290,7 +290,7 @@ public void truncateEntity(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Ent
METHOD_LIST_SCHEMAS,
asyncServerStreamingCall(
new MethodHandlers<
com.google.protobuf.Empty,
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty,
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema>(
this, METHODID_LIST_SCHEMAS)))
.addMethod(
@@ -390,7 +390,7 @@ protected CottonDDLStub build(io.grpc.Channel channel,
* Handling DB schemas.
* </pre>
*/
public void listSchemas(com.google.protobuf.Empty request,
public void listSchemas(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request,
io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema> responseObserver) {
asyncServerStreamingCall(
getChannel().newCall(METHOD_LIST_SCHEMAS, getCallOptions()), request, responseObserver);
@@ -507,7 +507,7 @@ protected CottonDDLBlockingStub build(io.grpc.Channel channel,
* </pre>
*/
public java.util.Iterator<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema> listSchemas(
com.google.protobuf.Empty request) {
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request) {
return blockingServerStreamingCall(
getChannel(), METHOD_LIST_SCHEMAS, getCallOptions(), request);
}
@@ -714,7 +714,7 @@ protected CottonDDLFutureStub build(io.grpc.Channel channel,
public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
case METHODID_LIST_SCHEMAS:
serviceImpl.listSchemas((com.google.protobuf.Empty) request,
serviceImpl.listSchemas((ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty) request,
(io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Schema>) responseObserver);
break;
case METHODID_CREATE_SCHEMA:
@@ -24,7 +24,7 @@

private CottonDMLGrpc() {}

public static final String SERVICE_NAME = "CottonDML";
public static final String SERVICE_NAME = "ch.unibas.dmi.dbis.cottontail.grpc.CottonDML";

// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@@ -33,7 +33,7 @@ private CottonDMLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.InsertMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.InsertStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDML", "Insert"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDML", "Insert"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.InsertMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -46,7 +46,7 @@ private CottonDMLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.InsertMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.InsertStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
.setFullMethodName(generateFullMethodName(
"CottonDML", "InsertStream"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDML", "InsertStream"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.InsertMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -24,7 +24,7 @@

private CottonDQLGrpc() {}

public static final String SERVICE_NAME = "CottonDQL";
public static final String SERVICE_NAME = "ch.unibas.dmi.dbis.cottontail.grpc.CottonDQL";

// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@@ -33,7 +33,7 @@ private CottonDQLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.QueryMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.QueryResponseMessage>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(
"CottonDQL", "Query"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDQL", "Query"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.QueryMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
@@ -46,22 +46,22 @@ private CottonDQLGrpc() {}
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.BatchedQueryMessage, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.QueryResponseMessage>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(
"CottonDQL", "BatchedQuery"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDQL", "BatchedQuery"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.BatchedQueryMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.QueryResponseMessage.getDefaultInstance()))
.setSchemaDescriptor(new CottonDQLMethodDescriptorSupplier("BatchedQuery"))
.build();
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static final io.grpc.MethodDescriptor<com.google.protobuf.Empty,
public static final io.grpc.MethodDescriptor<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty,
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus> METHOD_PING =
io.grpc.MethodDescriptor.<com.google.protobuf.Empty, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
io.grpc.MethodDescriptor.<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty, ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"CottonDQL", "Ping"))
"ch.unibas.dmi.dbis.cottontail.grpc.CottonDQL", "Ping"))
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus.getDefaultInstance()))
.setSchemaDescriptor(new CottonDQLMethodDescriptorSupplier("Ping"))
@@ -110,7 +110,7 @@ public void batchedQuery(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Batch

/**
*/
public void ping(com.google.protobuf.Empty request,
public void ping(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request,
io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus> responseObserver) {
asyncUnimplementedUnaryCall(METHOD_PING, responseObserver);
}
@@ -135,7 +135,7 @@ public void ping(com.google.protobuf.Empty request,
METHOD_PING,
asyncUnaryCall(
new MethodHandlers<
com.google.protobuf.Empty,
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty,
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>(
this, METHODID_PING)))
.build();
@@ -178,7 +178,7 @@ public void batchedQuery(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Batch

/**
*/
public void ping(com.google.protobuf.Empty request,
public void ping(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request,
io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus> responseObserver) {
asyncUnaryCall(
getChannel().newCall(METHOD_PING, getCallOptions()), request, responseObserver);
@@ -221,7 +221,7 @@ protected CottonDQLBlockingStub build(io.grpc.Channel channel,

/**
*/
public ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus ping(com.google.protobuf.Empty request) {
public ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus ping(ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request) {
return blockingUnaryCall(
getChannel(), METHOD_PING, getCallOptions(), request);
}
@@ -248,7 +248,7 @@ protected CottonDQLFutureStub build(io.grpc.Channel channel,
/**
*/
public com.google.common.util.concurrent.ListenableFuture<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus> ping(
com.google.protobuf.Empty request) {
ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty request) {
return futureUnaryCall(
getChannel().newCall(METHOD_PING, getCallOptions()), request);
}
@@ -284,7 +284,7 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
(io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.QueryResponseMessage>) responseObserver);
break;
case METHODID_PING:
serviceImpl.ping((com.google.protobuf.Empty) request,
serviceImpl.ping((ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.Empty) request,
(io.grpc.stub.StreamObserver<ch.unibas.dmi.dbis.cottontail.grpc.CottontailGrpc.SuccessStatus>) responseObserver);
break;
default:

0 comments on commit 30ccb04

Please sign in to comment.
You can’t perform that action at this time.