Add register objects

Add finder service
This commit is contained in:
fg-admin 2023-01-25 11:35:50 +03:00
parent 3d0050e58a
commit 76ded144f3
30 changed files with 12893 additions and 12714 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,506 +0,0 @@
package org.listware.sdk.pbcmdb;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.9.1)",
comments = "Source: pbcmdb/service.proto")
public final class LinkServiceGrpc {
private LinkServiceGrpc() {}
public static final String SERVICE_NAME = "org.listware.sdk.pbcmdb.LinkService";
// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getCreateMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_CREATE = getCreateMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getCreateMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getCreateMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getCreateMethod;
if ((getCreateMethod = LinkServiceGrpc.getCreateMethod) == null) {
synchronized (LinkServiceGrpc.class) {
if ((getCreateMethod = LinkServiceGrpc.getCreateMethod) == null) {
LinkServiceGrpc.getCreateMethod = getCreateMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.LinkService", "Create"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new LinkServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getReadMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_READ = getReadMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getReadMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getReadMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getReadMethod;
if ((getReadMethod = LinkServiceGrpc.getReadMethod) == null) {
synchronized (LinkServiceGrpc.class) {
if ((getReadMethod = LinkServiceGrpc.getReadMethod) == null) {
LinkServiceGrpc.getReadMethod = getReadMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.LinkService", "Read"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new LinkServiceMethodDescriptorSupplier("Read"))
.build();
}
}
}
return getReadMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getUpdateMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_UPDATE = getUpdateMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod;
if ((getUpdateMethod = LinkServiceGrpc.getUpdateMethod) == null) {
synchronized (LinkServiceGrpc.class) {
if ((getUpdateMethod = LinkServiceGrpc.getUpdateMethod) == null) {
LinkServiceGrpc.getUpdateMethod = getUpdateMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.LinkService", "Update"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new LinkServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getRemoveMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_REMOVE = getRemoveMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod;
if ((getRemoveMethod = LinkServiceGrpc.getRemoveMethod) == null) {
synchronized (LinkServiceGrpc.class) {
if ((getRemoveMethod = LinkServiceGrpc.getRemoveMethod) == null) {
LinkServiceGrpc.getRemoveMethod = getRemoveMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.LinkService", "Remove"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new LinkServiceMethodDescriptorSupplier("Remove"))
.build();
}
}
}
return getRemoveMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static LinkServiceStub newStub(io.grpc.Channel channel) {
return new LinkServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static LinkServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new LinkServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static LinkServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new LinkServiceFutureStub(channel);
}
/**
*/
public static abstract class LinkServiceImplBase implements io.grpc.BindableService {
/**
*/
public void create(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*/
public void read(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getReadMethod(), responseObserver);
}
/**
*/
public void update(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*/
public void remove(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getRemoveMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_CREATE)))
.addMethod(
getReadMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_READ)))
.addMethod(
getUpdateMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_UPDATE)))
.addMethod(
getRemoveMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_REMOVE)))
.build();
}
}
/**
*/
public static final class LinkServiceStub extends io.grpc.stub.AbstractStub<LinkServiceStub> {
private LinkServiceStub(io.grpc.Channel channel) {
super(channel);
}
private LinkServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected LinkServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new LinkServiceStub(channel, callOptions);
}
/**
*/
public void create(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void read(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void update(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void remove(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRemoveMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class LinkServiceBlockingStub extends io.grpc.stub.AbstractStub<LinkServiceBlockingStub> {
private LinkServiceBlockingStub(io.grpc.Channel channel) {
super(channel);
}
private LinkServiceBlockingStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected LinkServiceBlockingStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new LinkServiceBlockingStub(channel, callOptions);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response create(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response read(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getReadMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response update(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response remove(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getRemoveMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class LinkServiceFutureStub extends io.grpc.stub.AbstractStub<LinkServiceFutureStub> {
private LinkServiceFutureStub(io.grpc.Channel channel) {
super(channel);
}
private LinkServiceFutureStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected LinkServiceFutureStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new LinkServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> create(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> read(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getReadMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> update(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> remove(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getRemoveMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE = 0;
private static final int METHODID_READ = 1;
private static final int METHODID_UPDATE = 2;
private static final int METHODID_REMOVE = 3;
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final LinkServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(LinkServiceImplBase 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<Resp> responseObserver) {
switch (methodId) {
case METHODID_CREATE:
serviceImpl.create((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_READ:
serviceImpl.read((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_REMOVE:
serviceImpl.remove((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver<Req> invoke(
io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class LinkServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
LinkServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return org.listware.sdk.pbcmdb.Service.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("LinkService");
}
}
private static final class LinkServiceFileDescriptorSupplier
extends LinkServiceBaseDescriptorSupplier {
LinkServiceFileDescriptorSupplier() {}
}
private static final class LinkServiceMethodDescriptorSupplier
extends LinkServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
LinkServiceMethodDescriptorSupplier(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 (LinkServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new LinkServiceFileDescriptorSupplier())
.addMethod(getCreateMethod())
.addMethod(getReadMethod())
.addMethod(getUpdateMethod())
.addMethod(getRemoveMethod())
.build();
}
}
}
return result;
}
}

View File

@ -1,506 +0,0 @@
package org.listware.sdk.pbcmdb;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.9.1)",
comments = "Source: pbcmdb/service.proto")
public final class ObjectServiceGrpc {
private ObjectServiceGrpc() {}
public static final String SERVICE_NAME = "org.listware.sdk.pbcmdb.ObjectService";
// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getCreateMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_CREATE = getCreateMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getCreateMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getCreateMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getCreateMethod;
if ((getCreateMethod = ObjectServiceGrpc.getCreateMethod) == null) {
synchronized (ObjectServiceGrpc.class) {
if ((getCreateMethod = ObjectServiceGrpc.getCreateMethod) == null) {
ObjectServiceGrpc.getCreateMethod = getCreateMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.ObjectService", "Create"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new ObjectServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getReadMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_READ = getReadMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getReadMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getReadMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getReadMethod;
if ((getReadMethod = ObjectServiceGrpc.getReadMethod) == null) {
synchronized (ObjectServiceGrpc.class) {
if ((getReadMethod = ObjectServiceGrpc.getReadMethod) == null) {
ObjectServiceGrpc.getReadMethod = getReadMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.ObjectService", "Read"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new ObjectServiceMethodDescriptorSupplier("Read"))
.build();
}
}
}
return getReadMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getUpdateMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_UPDATE = getUpdateMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod;
if ((getUpdateMethod = ObjectServiceGrpc.getUpdateMethod) == null) {
synchronized (ObjectServiceGrpc.class) {
if ((getUpdateMethod = ObjectServiceGrpc.getUpdateMethod) == null) {
ObjectServiceGrpc.getUpdateMethod = getUpdateMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.ObjectService", "Update"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new ObjectServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getRemoveMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_REMOVE = getRemoveMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod;
if ((getRemoveMethod = ObjectServiceGrpc.getRemoveMethod) == null) {
synchronized (ObjectServiceGrpc.class) {
if ((getRemoveMethod = ObjectServiceGrpc.getRemoveMethod) == null) {
ObjectServiceGrpc.getRemoveMethod = getRemoveMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.ObjectService", "Remove"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new ObjectServiceMethodDescriptorSupplier("Remove"))
.build();
}
}
}
return getRemoveMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static ObjectServiceStub newStub(io.grpc.Channel channel) {
return new ObjectServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static ObjectServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new ObjectServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static ObjectServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new ObjectServiceFutureStub(channel);
}
/**
*/
public static abstract class ObjectServiceImplBase implements io.grpc.BindableService {
/**
*/
public void create(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*/
public void read(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getReadMethod(), responseObserver);
}
/**
*/
public void update(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*/
public void remove(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getRemoveMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_CREATE)))
.addMethod(
getReadMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_READ)))
.addMethod(
getUpdateMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_UPDATE)))
.addMethod(
getRemoveMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_REMOVE)))
.build();
}
}
/**
*/
public static final class ObjectServiceStub extends io.grpc.stub.AbstractStub<ObjectServiceStub> {
private ObjectServiceStub(io.grpc.Channel channel) {
super(channel);
}
private ObjectServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ObjectServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new ObjectServiceStub(channel, callOptions);
}
/**
*/
public void create(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void read(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void update(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void remove(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRemoveMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class ObjectServiceBlockingStub extends io.grpc.stub.AbstractStub<ObjectServiceBlockingStub> {
private ObjectServiceBlockingStub(io.grpc.Channel channel) {
super(channel);
}
private ObjectServiceBlockingStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ObjectServiceBlockingStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new ObjectServiceBlockingStub(channel, callOptions);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response create(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response read(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getReadMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response update(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response remove(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getRemoveMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class ObjectServiceFutureStub extends io.grpc.stub.AbstractStub<ObjectServiceFutureStub> {
private ObjectServiceFutureStub(io.grpc.Channel channel) {
super(channel);
}
private ObjectServiceFutureStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ObjectServiceFutureStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new ObjectServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> create(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> read(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getReadMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> update(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> remove(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getRemoveMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE = 0;
private static final int METHODID_READ = 1;
private static final int METHODID_UPDATE = 2;
private static final int METHODID_REMOVE = 3;
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final ObjectServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(ObjectServiceImplBase 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<Resp> responseObserver) {
switch (methodId) {
case METHODID_CREATE:
serviceImpl.create((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_READ:
serviceImpl.read((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_REMOVE:
serviceImpl.remove((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver<Req> invoke(
io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class ObjectServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
ObjectServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return org.listware.sdk.pbcmdb.Service.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("ObjectService");
}
}
private static final class ObjectServiceFileDescriptorSupplier
extends ObjectServiceBaseDescriptorSupplier {
ObjectServiceFileDescriptorSupplier() {}
}
private static final class ObjectServiceMethodDescriptorSupplier
extends ObjectServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
ObjectServiceMethodDescriptorSupplier(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 (ObjectServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new ObjectServiceFileDescriptorSupplier())
.addMethod(getCreateMethod())
.addMethod(getReadMethod())
.addMethod(getUpdateMethod())
.addMethod(getRemoveMethod())
.build();
}
}
}
return result;
}
}

View File

@ -41,35 +41,9 @@ public final class Service {
".listware.sdk.pbcmdb.Request\032!.org.listw" + ".listware.sdk.pbcmdb.Request\032!.org.listw" +
"are.sdk.pbcmdb.Response\"\000\022O\n\006Remove\022 .or" + "are.sdk.pbcmdb.Response\"\000\022O\n\006Remove\022 .or" +
"g.listware.sdk.pbcmdb.Request\032!.org.list" + "g.listware.sdk.pbcmdb.Request\032!.org.list" +
"ware.sdk.pbcmdb.Response\"\0002\321\002\n\rObjectSer" + "ware.sdk.pbcmdb.Response\"\000BL\n\027org.listwa" +
"vice\022O\n\006Create\022 .org.listware.sdk.pbcmdb" + "re.sdk.pbcmdbB\007ServiceZ(git.fg-tech.ru/l" +
".Request\032!.org.listware.sdk.pbcmdb.Respo" + "istware/proto/sdk/pbcmdbb\006proto3"
"nse\"\000\022M\n\004Read\022 .org.listware.sdk.pbcmdb." +
"Request\032!.org.listware.sdk.pbcmdb.Respon" +
"se\"\000\022O\n\006Update\022 .org.listware.sdk.pbcmdb" +
".Request\032!.org.listware.sdk.pbcmdb.Respo" +
"nse\"\000\022O\n\006Remove\022 .org.listware.sdk.pbcmd" +
"b.Request\032!.org.listware.sdk.pbcmdb.Resp" +
"onse\"\0002\317\002\n\013TypeService\022O\n\006Create\022 .org.l" +
"istware.sdk.pbcmdb.Request\032!.org.listwar" +
"e.sdk.pbcmdb.Response\"\000\022M\n\004Read\022 .org.li" +
"stware.sdk.pbcmdb.Request\032!.org.listware" +
".sdk.pbcmdb.Response\"\000\022O\n\006Update\022 .org.l" +
"istware.sdk.pbcmdb.Request\032!.org.listwar" +
"e.sdk.pbcmdb.Response\"\000\022O\n\006Remove\022 .org." +
"listware.sdk.pbcmdb.Request\032!.org.listwa" +
"re.sdk.pbcmdb.Response\"\0002\317\002\n\013LinkService" +
"\022O\n\006Create\022 .org.listware.sdk.pbcmdb.Req" +
"uest\032!.org.listware.sdk.pbcmdb.Response\"" +
"\000\022M\n\004Read\022 .org.listware.sdk.pbcmdb.Requ" +
"est\032!.org.listware.sdk.pbcmdb.Response\"\000" +
"\022O\n\006Update\022 .org.listware.sdk.pbcmdb.Req" +
"uest\032!.org.listware.sdk.pbcmdb.Response\"" +
"\000\022O\n\006Remove\022 .org.listware.sdk.pbcmdb.Re" +
"quest\032!.org.listware.sdk.pbcmdb.Response" +
"\"\000BL\n\027org.listware.sdk.pbcmdbB\007ServiceZ(" +
"git.fg-tech.ru/listware/proto/sdk/pbcmdb" +
"b\006proto3"
}; };
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {

View File

@ -1,506 +0,0 @@
package org.listware.sdk.pbcmdb;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.9.1)",
comments = "Source: pbcmdb/service.proto")
public final class TypeServiceGrpc {
private TypeServiceGrpc() {}
public static final String SERVICE_NAME = "org.listware.sdk.pbcmdb.TypeService";
// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getCreateMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_CREATE = getCreateMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getCreateMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getCreateMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getCreateMethod;
if ((getCreateMethod = TypeServiceGrpc.getCreateMethod) == null) {
synchronized (TypeServiceGrpc.class) {
if ((getCreateMethod = TypeServiceGrpc.getCreateMethod) == null) {
TypeServiceGrpc.getCreateMethod = getCreateMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.TypeService", "Create"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new TypeServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getReadMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_READ = getReadMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getReadMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getReadMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getReadMethod;
if ((getReadMethod = TypeServiceGrpc.getReadMethod) == null) {
synchronized (TypeServiceGrpc.class) {
if ((getReadMethod = TypeServiceGrpc.getReadMethod) == null) {
TypeServiceGrpc.getReadMethod = getReadMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.TypeService", "Read"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new TypeServiceMethodDescriptorSupplier("Read"))
.build();
}
}
}
return getReadMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getUpdateMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_UPDATE = getUpdateMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getUpdateMethod;
if ((getUpdateMethod = TypeServiceGrpc.getUpdateMethod) == null) {
synchronized (TypeServiceGrpc.class) {
if ((getUpdateMethod = TypeServiceGrpc.getUpdateMethod) == null) {
TypeServiceGrpc.getUpdateMethod = getUpdateMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.TypeService", "Update"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new TypeServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getRemoveMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> METHOD_REMOVE = getRemoveMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response> getRemoveMethod;
if ((getRemoveMethod = TypeServiceGrpc.getRemoveMethod) == null) {
synchronized (TypeServiceGrpc.class) {
if ((getRemoveMethod = TypeServiceGrpc.getRemoveMethod) == null) {
TypeServiceGrpc.getRemoveMethod = getRemoveMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.Core.Request, org.listware.sdk.pbcmdb.Core.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.TypeService", "Remove"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.Core.Response.getDefaultInstance()))
.setSchemaDescriptor(new TypeServiceMethodDescriptorSupplier("Remove"))
.build();
}
}
}
return getRemoveMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static TypeServiceStub newStub(io.grpc.Channel channel) {
return new TypeServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static TypeServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new TypeServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static TypeServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new TypeServiceFutureStub(channel);
}
/**
*/
public static abstract class TypeServiceImplBase implements io.grpc.BindableService {
/**
*/
public void create(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*/
public void read(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getReadMethod(), responseObserver);
}
/**
*/
public void update(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*/
public void remove(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnimplementedUnaryCall(getRemoveMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_CREATE)))
.addMethod(
getReadMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_READ)))
.addMethod(
getUpdateMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_UPDATE)))
.addMethod(
getRemoveMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.Core.Request,
org.listware.sdk.pbcmdb.Core.Response>(
this, METHODID_REMOVE)))
.build();
}
}
/**
*/
public static final class TypeServiceStub extends io.grpc.stub.AbstractStub<TypeServiceStub> {
private TypeServiceStub(io.grpc.Channel channel) {
super(channel);
}
private TypeServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TypeServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new TypeServiceStub(channel, callOptions);
}
/**
*/
public void create(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void read(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getReadMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void update(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void remove(org.listware.sdk.pbcmdb.Core.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRemoveMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class TypeServiceBlockingStub extends io.grpc.stub.AbstractStub<TypeServiceBlockingStub> {
private TypeServiceBlockingStub(io.grpc.Channel channel) {
super(channel);
}
private TypeServiceBlockingStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TypeServiceBlockingStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new TypeServiceBlockingStub(channel, callOptions);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response create(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response read(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getReadMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response update(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*/
public org.listware.sdk.pbcmdb.Core.Response remove(org.listware.sdk.pbcmdb.Core.Request request) {
return blockingUnaryCall(
getChannel(), getRemoveMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class TypeServiceFutureStub extends io.grpc.stub.AbstractStub<TypeServiceFutureStub> {
private TypeServiceFutureStub(io.grpc.Channel channel) {
super(channel);
}
private TypeServiceFutureStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TypeServiceFutureStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new TypeServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> create(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> read(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getReadMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> update(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.Core.Response> remove(
org.listware.sdk.pbcmdb.Core.Request request) {
return futureUnaryCall(
getChannel().newCall(getRemoveMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE = 0;
private static final int METHODID_READ = 1;
private static final int METHODID_UPDATE = 2;
private static final int METHODID_REMOVE = 3;
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final TypeServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(TypeServiceImplBase 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<Resp> responseObserver) {
switch (methodId) {
case METHODID_CREATE:
serviceImpl.create((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_READ:
serviceImpl.read((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
case METHODID_REMOVE:
serviceImpl.remove((org.listware.sdk.pbcmdb.Core.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.Core.Response>) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver<Req> invoke(
io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class TypeServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
TypeServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return org.listware.sdk.pbcmdb.Service.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("TypeService");
}
}
private static final class TypeServiceFileDescriptorSupplier
extends TypeServiceBaseDescriptorSupplier {
TypeServiceFileDescriptorSupplier() {}
}
private static final class TypeServiceMethodDescriptorSupplier
extends TypeServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
TypeServiceMethodDescriptorSupplier(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 (TypeServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new TypeServiceFileDescriptorSupplier())
.addMethod(getCreateMethod())
.addMethod(getReadMethod())
.addMethod(getUpdateMethod())
.addMethod(getRemoveMethod())
.build();
}
}
}
return result;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,281 @@
package org.listware.sdk.pbcmdb.pbfinder;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.9.1)",
comments = "Source: pbcmdb/pbfinder/service.proto")
public final class FinderServiceGrpc {
private FinderServiceGrpc() {}
public static final String SERVICE_NAME = "org.listware.sdk.pbcmdb.pbfinder.FinderService";
// Static method descriptors that strictly reflect the proto.
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
@java.lang.Deprecated // Use {@link #getLinksMethod()} instead.
public static final io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.pbfinder.Finder.Request,
org.listware.sdk.pbcmdb.pbfinder.Finder.Response> METHOD_LINKS = getLinksMethod();
private static volatile io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.pbfinder.Finder.Request,
org.listware.sdk.pbcmdb.pbfinder.Finder.Response> getLinksMethod;
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public static io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.pbfinder.Finder.Request,
org.listware.sdk.pbcmdb.pbfinder.Finder.Response> getLinksMethod() {
io.grpc.MethodDescriptor<org.listware.sdk.pbcmdb.pbfinder.Finder.Request, org.listware.sdk.pbcmdb.pbfinder.Finder.Response> getLinksMethod;
if ((getLinksMethod = FinderServiceGrpc.getLinksMethod) == null) {
synchronized (FinderServiceGrpc.class) {
if ((getLinksMethod = FinderServiceGrpc.getLinksMethod) == null) {
FinderServiceGrpc.getLinksMethod = getLinksMethod =
io.grpc.MethodDescriptor.<org.listware.sdk.pbcmdb.pbfinder.Finder.Request, org.listware.sdk.pbcmdb.pbfinder.Finder.Response>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"org.listware.sdk.pbcmdb.pbfinder.FinderService", "Links"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.pbfinder.Finder.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.listware.sdk.pbcmdb.pbfinder.Finder.Response.getDefaultInstance()))
.setSchemaDescriptor(new FinderServiceMethodDescriptorSupplier("Links"))
.build();
}
}
}
return getLinksMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static FinderServiceStub newStub(io.grpc.Channel channel) {
return new FinderServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static FinderServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new FinderServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static FinderServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new FinderServiceFutureStub(channel);
}
/**
*/
public static abstract class FinderServiceImplBase implements io.grpc.BindableService {
/**
*/
public void links(org.listware.sdk.pbcmdb.pbfinder.Finder.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.pbfinder.Finder.Response> responseObserver) {
asyncUnimplementedUnaryCall(getLinksMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getLinksMethod(),
asyncUnaryCall(
new MethodHandlers<
org.listware.sdk.pbcmdb.pbfinder.Finder.Request,
org.listware.sdk.pbcmdb.pbfinder.Finder.Response>(
this, METHODID_LINKS)))
.build();
}
}
/**
*/
public static final class FinderServiceStub extends io.grpc.stub.AbstractStub<FinderServiceStub> {
private FinderServiceStub(io.grpc.Channel channel) {
super(channel);
}
private FinderServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected FinderServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new FinderServiceStub(channel, callOptions);
}
/**
*/
public void links(org.listware.sdk.pbcmdb.pbfinder.Finder.Request request,
io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.pbfinder.Finder.Response> responseObserver) {
asyncUnaryCall(
getChannel().newCall(getLinksMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class FinderServiceBlockingStub extends io.grpc.stub.AbstractStub<FinderServiceBlockingStub> {
private FinderServiceBlockingStub(io.grpc.Channel channel) {
super(channel);
}
private FinderServiceBlockingStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected FinderServiceBlockingStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new FinderServiceBlockingStub(channel, callOptions);
}
/**
*/
public org.listware.sdk.pbcmdb.pbfinder.Finder.Response links(org.listware.sdk.pbcmdb.pbfinder.Finder.Request request) {
return blockingUnaryCall(
getChannel(), getLinksMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class FinderServiceFutureStub extends io.grpc.stub.AbstractStub<FinderServiceFutureStub> {
private FinderServiceFutureStub(io.grpc.Channel channel) {
super(channel);
}
private FinderServiceFutureStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected FinderServiceFutureStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new FinderServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.listware.sdk.pbcmdb.pbfinder.Finder.Response> links(
org.listware.sdk.pbcmdb.pbfinder.Finder.Request request) {
return futureUnaryCall(
getChannel().newCall(getLinksMethod(), getCallOptions()), request);
}
}
private static final int METHODID_LINKS = 0;
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final FinderServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(FinderServiceImplBase 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<Resp> responseObserver) {
switch (methodId) {
case METHODID_LINKS:
serviceImpl.links((org.listware.sdk.pbcmdb.pbfinder.Finder.Request) request,
(io.grpc.stub.StreamObserver<org.listware.sdk.pbcmdb.pbfinder.Finder.Response>) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver<Req> invoke(
io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class FinderServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
FinderServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return org.listware.sdk.pbcmdb.pbfinder.Service.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("FinderService");
}
}
private static final class FinderServiceFileDescriptorSupplier
extends FinderServiceBaseDescriptorSupplier {
FinderServiceFileDescriptorSupplier() {}
}
private static final class FinderServiceMethodDescriptorSupplier
extends FinderServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
FinderServiceMethodDescriptorSupplier(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 (FinderServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new FinderServiceFileDescriptorSupplier())
.addMethod(getLinksMethod())
.build();
}
}
}
return result;
}
}

View File

@ -0,0 +1,52 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: pbcmdb/pbfinder/service.proto
package org.listware.sdk.pbcmdb.pbfinder;
public final class Service {
private Service() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\035pbcmdb/pbfinder/service.proto\022 org.lis" +
"tware.sdk.pbcmdb.pbfinder\032\036pbcmdb/pbfind" +
"er/pbfinder.proto2q\n\rFinderService\022`\n\005Li" +
"nks\022).org.listware.sdk.pbcmdb.pbfinder.R" +
"equest\032*.org.listware.sdk.pbcmdb.pbfinde" +
"r.Response\"\000B^\n org.listware.sdk.pbcmdb." +
"pbfinderB\007ServiceZ1git.fg-tech.ru/listwa" +
"re/proto/sdk/pbcmdb/pbfinderb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.listware.sdk.pbcmdb.pbfinder.Finder.getDescriptor(),
}, assigner);
org.listware.sdk.pbcmdb.pbfinder.Finder.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -3852,10 +3852,10 @@ public final class QDSL {
"\014\n\004name\030\003 \001(\t\022\014\n\004type\030\004 \001(\t\022\016\n\006object\030\005 " + "\014\n\004name\030\003 \001(\t\022\014\n\004type\030\004 \001(\t\022\016\n\006object\030\005 " +
"\001(\014\022\016\n\006linkId\030\006 \001(\t\022\014\n\004link\030\007 \001(\014\022\014\n\004pat" + "\001(\014\022\016\n\006linkId\030\006 \001(\t\022\014\n\004link\030\007 \001(\014\022\014\n\004pat" +
"h\030\010 \001(\014\"E\n\010Elements\0229\n\010Elements\030\001 \003(\0132\'." + "h\030\010 \001(\014\"E\n\010Elements\0229\n\010Elements\030\001 \003(\0132\'." +
"org.listware.sdk.pbcmdb.pbqdsl.ElementBX" + "org.listware.sdk.pbcmdb.pbqdsl.ElementBW" +
"\n\036org.listware.sdk.pbcmdb.pbqdslB\004QDSLZ0" + "\n\036org.listware.sdk.pbcmdb.pbqdslB\004QDSLZ/" +
"git.fg-tech.ru/flistware/proto/sdk/pbcmd" + "git.fg-tech.ru/listware/proto/sdk/pbcmdb" +
"b/pbqdslb\006proto3" "/pbqdslb\006proto3"
}; };
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.listware</groupId> <groupId>org.listware</groupId>
<artifactId>proto</artifactId> <artifactId>proto</artifactId>
<version>1.0</version> <version>1.1</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.google.protobuf</groupId> <groupId>com.google.protobuf</groupId>

View File

@ -1,6 +1,4 @@
/* Copyright 2022 Listware */ /* Copyright 2022 Listware */ syntax = "proto3";
syntax = "proto3";
package org.listware.sdk.pbcmdb; package org.listware.sdk.pbcmdb;
@ -19,11 +17,6 @@ enum Method {
DELETE_TRIGGER = 5; DELETE_TRIGGER = 5;
} }
message Trigger {
string type = 1;
pbtypes.FunctionType function_type = 2 [json_name = "function_type"];
}
message ObjectMessage { message ObjectMessage {
Method method = 1; Method method = 1;
string type = 2; string type = 2;
@ -51,31 +44,9 @@ message LinkMessage {
bytes payload = 5; bytes payload = 5;
} }
message RegisterTypeMessage { message Trigger {
string id = 1; string type = 1;
TypeMessage type_message = 2; pbtypes.FunctionType function_type = 2 [json_name = "function_type"];
}
message RegisterObjectMessage {
string id = 1;
ObjectMessage object_message = 2;
}
message RegisterLinkMessage {
string id = 1;
LinkMessage link_message = 2;
}
message RegisterFunctionMessage {
string id = 1;
pbtypes.FunctionMessage function_message = 2;
}
message RegisterMessage {
repeated RegisterTypeMessage type_messages = 1;
repeated RegisterObjectMessage object_messages = 2;
repeated RegisterLinkMessage link_messages = 3;
repeated RegisterFunctionMessage function_messages = 4;
} }
message Meta { message Meta {
@ -94,3 +65,36 @@ message Response {
Meta meta = 1; Meta meta = 1;
bytes payload = 2; bytes payload = 2;
} }
message RegisterTypeMessage {
string id = 1;
bool async = 2;
bool router = 3;
TypeMessage type_message = 4;
}
message RegisterObjectMessage {
string id = 1;
bool async = 2;
bool router = 3;
ObjectMessage object_message = 4;
}
message RegisterLinkMessage {
string id = 1;
bool async = 2;
LinkMessage link_message = 4;
}
message RegisterFunctionMessage {
string id = 1;
bool async = 2;
pbtypes.FunctionMessage function_message = 4;
}
message RegisterMessage {
repeated RegisterTypeMessage type_messages = 1;
repeated RegisterObjectMessage object_messages = 2;
repeated RegisterLinkMessage link_messages = 3;
repeated RegisterFunctionMessage function_messages = 4;
}

View File

@ -0,0 +1,21 @@
/* Copyright 2022 Listware */
syntax = "proto3";
package org.listware.sdk.pbcmdb.pbfinder;
option java_outer_classname = "Finder";
option java_package = "org.listware.sdk.pbcmdb.pbfinder";
option go_package = "git.fg-tech.ru/listware/proto/sdk/pbcmdb/pbfinder";
import "pbcmdb/pbcmdb.proto";
message Request {
string from = 1;
string to = 2;
string name = 3;
}
message Response {
repeated pbcmdb.Response Links = 1;
}

View File

@ -0,0 +1,15 @@
/* Copyright 2022 Listware */
syntax = "proto3";
package org.listware.sdk.pbcmdb.pbfinder;
option java_outer_classname = "Service";
option java_package = "org.listware.sdk.pbcmdb.pbfinder";
option go_package = "git.fg-tech.ru/listware/proto/sdk/pbcmdb/pbfinder";
import "pbcmdb/pbfinder/pbfinder.proto";
service FinderService {
rpc Links(Request) returns (Response) {}
}

View File

@ -6,7 +6,7 @@ package org.listware.sdk.pbcmdb.pbqdsl;
option java_outer_classname = "QDSL"; option java_outer_classname = "QDSL";
option java_package = "org.listware.sdk.pbcmdb.pbqdsl"; option java_package = "org.listware.sdk.pbcmdb.pbqdsl";
option go_package = "git.fg-tech.ru/flistware/proto/sdk/pbcmdb/pbqdsl"; option go_package = "git.fg-tech.ru/listware/proto/sdk/pbcmdb/pbqdsl";
message Options { message Options {
bool id = 1; bool id = 1;

View File

@ -23,24 +23,3 @@ service EdgeService {
rpc Update(Request) returns (Response) {} rpc Update(Request) returns (Response) {}
rpc Remove(Request) returns (Response) {} rpc Remove(Request) returns (Response) {}
} }
service ObjectService {
rpc Create(Request) returns (Response) {}
rpc Read(Request) returns (Response) {}
rpc Update(Request) returns (Response) {}
rpc Remove(Request) returns (Response) {}
}
service TypeService {
rpc Create(Request) returns (Response) {}
rpc Read(Request) returns (Response) {}
rpc Update(Request) returns (Response) {}
rpc Remove(Request) returns (Response) {}
}
service LinkService {
rpc Create(Request) returns (Response) {}
rpc Read(Request) returns (Response) {}
rpc Update(Request) returns (Response) {}
rpc Remove(Request) returns (Response) {}
}

View File

@ -9,12 +9,11 @@ option java_package = "org.listware.sdk";
option go_package = "git.fg-tech.ru/listware/proto/sdk/pbtypes"; option go_package = "git.fg-tech.ru/listware/proto/sdk/pbtypes";
import "google/protobuf/any.proto"; import "google/protobuf/any.proto";
import "pbtypes/pbresult.proto";
// Function - is a CMDB object which represent Flink's stateful function message FunctionType {
message Function { string namespace = 1;
FunctionType type = 1 [json_name="function_type"]; string type = 2;
string description = 2;
repeated FunctionParameter params = 3;
} }
message FunctionParameter { message FunctionParameter {
@ -23,36 +22,18 @@ message FunctionParameter {
google.protobuf.Any default = 3; google.protobuf.Any default = 3;
} }
message FunctionType { // Function - is a CMDB object which represent Flink's stateful function
string namespace = 1; message Function {
string type = 2; FunctionType type = 1 [json_name="function_type"];
} string description = 2;
repeated FunctionParameter params = 3;
message ReplyEgress {
string namespace = 1;
string topic = 2;
string id = 3;
}
message FunctionResult {
ReplyEgress reply_egress = 1;
bool complete = 2;
string error = 3;
} }
message FunctionContext { message FunctionContext {
FunctionType function_type = 1 [json_name="function_type"]; FunctionType function_type = 1 [json_name="function_type"];
string id = 2; string id = 2;
bytes value = 3; bytes value = 3;
FunctionContext callback = 4; ReplyResult reply_result = 4 [json_name="reply_result"];
string url = 5;
bytes context = 6;
ReplyEgress reply_egress = 7 [json_name="reply_egress"];
}
// FunctionTypeRoute - is a LinkMessage from cmdb.Type to Function
message FunctionTypeRoute {
bool grounded = 1;
} }
// FunctionRoute - is a LinkMessage from cmdb.Object to Function // FunctionRoute - is a LinkMessage from cmdb.Object to Function
@ -62,5 +43,6 @@ message FunctionRoute {
message FunctionMessage { message FunctionMessage {
string type = 1; string type = 1;
FunctionRoute route = 2; string mountpoint = 2;
FunctionRoute route = 3;
} }

View File

@ -0,0 +1,22 @@
/* Copyright 2022 Listware */
syntax = "proto3";
package org.listware.sdk.pbtypes;
option java_outer_classname = "Result";
option java_package = "org.listware.sdk";
option go_package = "git.fg-tech.ru/listware/proto/sdk/pbtypes";
message ReplyResult {
string namespace = 1;
string topic = 2;
string id = 3;
string key = 4;
}
message FunctionResult {
ReplyResult reply_egress = 1;
bool complete = 2;
repeated string errors = 3;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,238 @@
// Copyright 2022 Listware
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.7.1
// source: pbcmdb/pbfinder/pbfinder.proto
package pbfinder
import (
pbcmdb "git.fg-tech.ru/listware/proto/sdk/pbcmdb"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *Request) Reset() {
*x = Request{}
if protoimpl.UnsafeEnabled {
mi := &file_pbcmdb_pbfinder_pbfinder_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Request) ProtoMessage() {}
func (x *Request) ProtoReflect() protoreflect.Message {
mi := &file_pbcmdb_pbfinder_pbfinder_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Request.ProtoReflect.Descriptor instead.
func (*Request) Descriptor() ([]byte, []int) {
return file_pbcmdb_pbfinder_pbfinder_proto_rawDescGZIP(), []int{0}
}
func (x *Request) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
func (x *Request) GetTo() string {
if x != nil {
return x.To
}
return ""
}
func (x *Request) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Links []*pbcmdb.Response `protobuf:"bytes,1,rep,name=Links,proto3" json:"Links,omitempty"`
}
func (x *Response) Reset() {
*x = Response{}
if protoimpl.UnsafeEnabled {
mi := &file_pbcmdb_pbfinder_pbfinder_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Response) ProtoMessage() {}
func (x *Response) ProtoReflect() protoreflect.Message {
mi := &file_pbcmdb_pbfinder_pbfinder_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
func (*Response) Descriptor() ([]byte, []int) {
return file_pbcmdb_pbfinder_pbfinder_proto_rawDescGZIP(), []int{1}
}
func (x *Response) GetLinks() []*pbcmdb.Response {
if x != nil {
return x.Links
}
return nil
}
var File_pbcmdb_pbfinder_pbfinder_proto protoreflect.FileDescriptor
var file_pbcmdb_pbfinder_pbfinder_proto_rawDesc = []byte{
0x0a, 0x1e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65,
0x72, 0x2f, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73,
0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64,
0x65, 0x72, 0x1a, 0x13, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x63, 0x6d, 0x64,
0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x43, 0x0a, 0x08, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74,
0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x42,
0x5d, 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e,
0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x62, 0x66, 0x69, 0x6e,
0x64, 0x65, 0x72, 0x42, 0x06, 0x46, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x5a, 0x31, 0x67, 0x69, 0x74,
0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74,
0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70,
0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_pbcmdb_pbfinder_pbfinder_proto_rawDescOnce sync.Once
file_pbcmdb_pbfinder_pbfinder_proto_rawDescData = file_pbcmdb_pbfinder_pbfinder_proto_rawDesc
)
func file_pbcmdb_pbfinder_pbfinder_proto_rawDescGZIP() []byte {
file_pbcmdb_pbfinder_pbfinder_proto_rawDescOnce.Do(func() {
file_pbcmdb_pbfinder_pbfinder_proto_rawDescData = protoimpl.X.CompressGZIP(file_pbcmdb_pbfinder_pbfinder_proto_rawDescData)
})
return file_pbcmdb_pbfinder_pbfinder_proto_rawDescData
}
var file_pbcmdb_pbfinder_pbfinder_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_pbcmdb_pbfinder_pbfinder_proto_goTypes = []interface{}{
(*Request)(nil), // 0: org.listware.sdk.pbcmdb.pbfinder.Request
(*Response)(nil), // 1: org.listware.sdk.pbcmdb.pbfinder.Response
(*pbcmdb.Response)(nil), // 2: org.listware.sdk.pbcmdb.Response
}
var file_pbcmdb_pbfinder_pbfinder_proto_depIdxs = []int32{
2, // 0: org.listware.sdk.pbcmdb.pbfinder.Response.Links:type_name -> org.listware.sdk.pbcmdb.Response
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_pbcmdb_pbfinder_pbfinder_proto_init() }
func file_pbcmdb_pbfinder_pbfinder_proto_init() {
if File_pbcmdb_pbfinder_pbfinder_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_pbcmdb_pbfinder_pbfinder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Request); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pbcmdb_pbfinder_pbfinder_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pbcmdb_pbfinder_pbfinder_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_pbcmdb_pbfinder_pbfinder_proto_goTypes,
DependencyIndexes: file_pbcmdb_pbfinder_pbfinder_proto_depIdxs,
MessageInfos: file_pbcmdb_pbfinder_pbfinder_proto_msgTypes,
}.Build()
File_pbcmdb_pbfinder_pbfinder_proto = out.File
file_pbcmdb_pbfinder_pbfinder_proto_rawDesc = nil
file_pbcmdb_pbfinder_pbfinder_proto_goTypes = nil
file_pbcmdb_pbfinder_pbfinder_proto_depIdxs = nil
}

View File

@ -0,0 +1,86 @@
// Copyright 2022 Listware
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.7.1
// source: pbcmdb/pbfinder/service.proto
package pbfinder
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_pbcmdb_pbfinder_service_proto protoreflect.FileDescriptor
var file_pbcmdb_pbfinder_service_proto_rawDesc = []byte{
0x0a, 0x1d, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65,
0x72, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x20, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64,
0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65,
0x72, 0x1a, 0x1e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64,
0x65, 0x72, 0x2f, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x32, 0x71, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x12, 0x60, 0x0a, 0x05, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x29, 0x2e, 0x6f, 0x72,
0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70,
0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73,
0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62,
0x2e, 0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x42, 0x5e, 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74,
0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e,
0x70, 0x62, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72,
0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x66, 0x69,
0x6e, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_pbcmdb_pbfinder_service_proto_goTypes = []interface{}{
(*Request)(nil), // 0: org.listware.sdk.pbcmdb.pbfinder.Request
(*Response)(nil), // 1: org.listware.sdk.pbcmdb.pbfinder.Response
}
var file_pbcmdb_pbfinder_service_proto_depIdxs = []int32{
0, // 0: org.listware.sdk.pbcmdb.pbfinder.FinderService.Links:input_type -> org.listware.sdk.pbcmdb.pbfinder.Request
1, // 1: org.listware.sdk.pbcmdb.pbfinder.FinderService.Links:output_type -> org.listware.sdk.pbcmdb.pbfinder.Response
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_pbcmdb_pbfinder_service_proto_init() }
func file_pbcmdb_pbfinder_service_proto_init() {
if File_pbcmdb_pbfinder_service_proto != nil {
return
}
file_pbcmdb_pbfinder_pbfinder_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pbcmdb_pbfinder_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_pbcmdb_pbfinder_service_proto_goTypes,
DependencyIndexes: file_pbcmdb_pbfinder_service_proto_depIdxs,
}.Build()
File_pbcmdb_pbfinder_service_proto = out.File
file_pbcmdb_pbfinder_service_proto_rawDesc = nil
file_pbcmdb_pbfinder_service_proto_goTypes = nil
file_pbcmdb_pbfinder_service_proto_depIdxs = nil
}

View File

@ -0,0 +1,101 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
package pbfinder
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// FinderServiceClient is the client API for FinderService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type FinderServiceClient interface {
Links(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
type finderServiceClient struct {
cc grpc.ClientConnInterface
}
func NewFinderServiceClient(cc grpc.ClientConnInterface) FinderServiceClient {
return &finderServiceClient{cc}
}
func (c *finderServiceClient) Links(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.pbfinder.FinderService/Links", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// FinderServiceServer is the server API for FinderService service.
// All implementations must embed UnimplementedFinderServiceServer
// for forward compatibility
type FinderServiceServer interface {
Links(context.Context, *Request) (*Response, error)
mustEmbedUnimplementedFinderServiceServer()
}
// UnimplementedFinderServiceServer must be embedded to have forward compatible implementations.
type UnimplementedFinderServiceServer struct {
}
func (UnimplementedFinderServiceServer) Links(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Links not implemented")
}
func (UnimplementedFinderServiceServer) mustEmbedUnimplementedFinderServiceServer() {}
// UnsafeFinderServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to FinderServiceServer will
// result in compilation errors.
type UnsafeFinderServiceServer interface {
mustEmbedUnimplementedFinderServiceServer()
}
func RegisterFinderServiceServer(s grpc.ServiceRegistrar, srv FinderServiceServer) {
s.RegisterService(&FinderService_ServiceDesc, srv)
}
func _FinderService_Links_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(FinderServiceServer).Links(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.pbfinder.FinderService/Links",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(FinderServiceServer).Links(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
// FinderService_ServiceDesc is the grpc.ServiceDesc for FinderService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var FinderService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "org.listware.sdk.pbcmdb.pbfinder.FinderService",
HandlerType: (*FinderServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Links",
Handler: _FinderService_Links_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "pbcmdb/pbfinder/service.proto",
}

View File

@ -379,13 +379,13 @@ var file_pbcmdb_pbqdsl_pbqdsl_proto_rawDesc = []byte{
0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e,
0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x62, 0x71, 0x64, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x62, 0x71, 0x64, 0x73,
0x6c, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6c, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x45, 0x6c, 0x65, 0x6d, 0x65,
0x6e, 0x74, 0x73, 0x42, 0x58, 0x0a, 0x1e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x6e, 0x74, 0x73, 0x42, 0x57, 0x0a, 0x1e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77,
0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x70,
0x62, 0x71, 0x64, 0x73, 0x6c, 0x42, 0x04, 0x51, 0x44, 0x53, 0x4c, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x62, 0x71, 0x64, 0x73, 0x6c, 0x42, 0x04, 0x51, 0x44, 0x53, 0x4c, 0x5a, 0x2f, 0x67, 0x69, 0x74,
0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x66, 0x6c, 0x69, 0x73, 0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74,
0x74, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70,
0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x71, 0x64, 0x73, 0x6c, 0x62, 0x06, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2f, 0x70, 0x62, 0x71, 0x64, 0x73, 0x6c, 0x62, 0x06, 0x70, 0x72,
0x72, 0x6f, 0x74, 0x6f, 0x33, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (

View File

@ -9,7 +9,6 @@
package pbqdsl package pbqdsl
import ( import (
pbqdsl "git.fg-tech.ru/flistware/proto/sdk/pbcmdb/pbqdsl"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
@ -47,8 +46,8 @@ var file_pbcmdb_pbqdsl_service_proto_rawDesc = []byte{
} }
var file_pbcmdb_pbqdsl_service_proto_goTypes = []interface{}{ var file_pbcmdb_pbqdsl_service_proto_goTypes = []interface{}{
(*pbqdsl.Query)(nil), // 0: org.listware.sdk.pbcmdb.pbqdsl.Query (*Query)(nil), // 0: org.listware.sdk.pbcmdb.pbqdsl.Query
(*pbqdsl.Elements)(nil), // 1: org.listware.sdk.pbcmdb.pbqdsl.Elements (*Elements)(nil), // 1: org.listware.sdk.pbcmdb.pbqdsl.Elements
} }
var file_pbcmdb_pbqdsl_service_proto_depIdxs = []int32{ var file_pbcmdb_pbqdsl_service_proto_depIdxs = []int32{
0, // 0: org.listware.sdk.pbcmdb.pbqdsl.QdslService.Qdsl:input_type -> org.listware.sdk.pbcmdb.pbqdsl.Query 0, // 0: org.listware.sdk.pbcmdb.pbqdsl.QdslService.Qdsl:input_type -> org.listware.sdk.pbcmdb.pbqdsl.Query
@ -65,6 +64,7 @@ func file_pbcmdb_pbqdsl_service_proto_init() {
if File_pbcmdb_pbqdsl_service_proto != nil { if File_pbcmdb_pbqdsl_service_proto != nil {
return return
} }
file_pbcmdb_pbqdsl_pbqdsl_proto_init()
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -4,7 +4,6 @@ package pbqdsl
import ( import (
context "context" context "context"
pbqdsl "git.fg-tech.ru/flistware/proto/sdk/pbcmdb/pbqdsl"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
@ -19,7 +18,7 @@ const _ = grpc.SupportPackageIsVersion7
// //
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type QdslServiceClient interface { type QdslServiceClient interface {
Qdsl(ctx context.Context, in *pbqdsl.Query, opts ...grpc.CallOption) (*pbqdsl.Elements, error) Qdsl(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Elements, error)
} }
type qdslServiceClient struct { type qdslServiceClient struct {
@ -30,8 +29,8 @@ func NewQdslServiceClient(cc grpc.ClientConnInterface) QdslServiceClient {
return &qdslServiceClient{cc} return &qdslServiceClient{cc}
} }
func (c *qdslServiceClient) Qdsl(ctx context.Context, in *pbqdsl.Query, opts ...grpc.CallOption) (*pbqdsl.Elements, error) { func (c *qdslServiceClient) Qdsl(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Elements, error) {
out := new(pbqdsl.Elements) out := new(Elements)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.pbqdsl.QdslService/Qdsl", in, out, opts...) err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.pbqdsl.QdslService/Qdsl", in, out, opts...)
if err != nil { if err != nil {
return nil, err return nil, err
@ -43,7 +42,7 @@ func (c *qdslServiceClient) Qdsl(ctx context.Context, in *pbqdsl.Query, opts ...
// All implementations must embed UnimplementedQdslServiceServer // All implementations must embed UnimplementedQdslServiceServer
// for forward compatibility // for forward compatibility
type QdslServiceServer interface { type QdslServiceServer interface {
Qdsl(context.Context, *pbqdsl.Query) (*pbqdsl.Elements, error) Qdsl(context.Context, *Query) (*Elements, error)
mustEmbedUnimplementedQdslServiceServer() mustEmbedUnimplementedQdslServiceServer()
} }
@ -51,7 +50,7 @@ type QdslServiceServer interface {
type UnimplementedQdslServiceServer struct { type UnimplementedQdslServiceServer struct {
} }
func (UnimplementedQdslServiceServer) Qdsl(context.Context, *pbqdsl.Query) (*pbqdsl.Elements, error) { func (UnimplementedQdslServiceServer) Qdsl(context.Context, *Query) (*Elements, error) {
return nil, status.Errorf(codes.Unimplemented, "method Qdsl not implemented") return nil, status.Errorf(codes.Unimplemented, "method Qdsl not implemented")
} }
func (UnimplementedQdslServiceServer) mustEmbedUnimplementedQdslServiceServer() {} func (UnimplementedQdslServiceServer) mustEmbedUnimplementedQdslServiceServer() {}
@ -68,7 +67,7 @@ func RegisterQdslServiceServer(s grpc.ServiceRegistrar, srv QdslServiceServer) {
} }
func _QdslService_Qdsl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func _QdslService_Qdsl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(pbqdsl.Query) in := new(Query)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
} }
@ -80,7 +79,7 @@ func _QdslService_Qdsl_Handler(srv interface{}, ctx context.Context, dec func(in
FullMethod: "/org.listware.sdk.pbcmdb.pbqdsl.QdslService/Qdsl", FullMethod: "/org.listware.sdk.pbcmdb.pbqdsl.QdslService/Qdsl",
} }
handler := func(ctx context.Context, req interface{}) (interface{}, error) { handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QdslServiceServer).Qdsl(ctx, req.(*pbqdsl.Query)) return srv.(QdslServiceServer).Qdsl(ctx, req.(*Query))
} }
return interceptor(ctx, in, info, handler) return interceptor(ctx, in, info, handler)
} }

View File

@ -70,76 +70,12 @@ var file_pbcmdb_service_proto_rawDesc = []byte{
0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74,
0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0xd1, 0x02, 0x0a, 0x0d, 0x4f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x4c, 0x0a, 0x17, 0x6f, 0x72,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x06,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73,
0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62,
0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c,
0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d,
0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a,
0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74,
0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69,
0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64,
0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x06,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73,
0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62,
0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c,
0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d,
0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a,
0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69,
0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64,
0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63,
0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0xcf,
0x02, 0x0a, 0x0b, 0x54, 0x79, 0x70, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f,
0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c,
0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d,
0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62,
0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x4d, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69,
0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64,
0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63,
0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f,
0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c,
0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d,
0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62,
0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x4f, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63,
0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72,
0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70,
0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x42, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5a, 0x28,
0x32, 0xcf, 0x02, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c,
0x12, 0x4f, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x6b, 0x2f, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f,
0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x4d, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63,
0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f, 0x72,
0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70,
0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x4f, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62,
0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6f,
0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x12, 0x4f, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x20, 0x2e, 0x6f, 0x72,
0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70,
0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b,
0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x42, 0x4c, 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61,
0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62, 0x42, 0x07, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x67, 0x2d, 0x74,
0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x62, 0x63, 0x6d, 0x64, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var file_pbcmdb_service_proto_goTypes = []interface{}{ var file_pbcmdb_service_proto_goTypes = []interface{}{
@ -155,40 +91,16 @@ var file_pbcmdb_service_proto_depIdxs = []int32{
0, // 5: org.listware.sdk.pbcmdb.EdgeService.Read:input_type -> org.listware.sdk.pbcmdb.Request 0, // 5: org.listware.sdk.pbcmdb.EdgeService.Read:input_type -> org.listware.sdk.pbcmdb.Request
0, // 6: org.listware.sdk.pbcmdb.EdgeService.Update:input_type -> org.listware.sdk.pbcmdb.Request 0, // 6: org.listware.sdk.pbcmdb.EdgeService.Update:input_type -> org.listware.sdk.pbcmdb.Request
0, // 7: org.listware.sdk.pbcmdb.EdgeService.Remove:input_type -> org.listware.sdk.pbcmdb.Request 0, // 7: org.listware.sdk.pbcmdb.EdgeService.Remove:input_type -> org.listware.sdk.pbcmdb.Request
0, // 8: org.listware.sdk.pbcmdb.ObjectService.Create:input_type -> org.listware.sdk.pbcmdb.Request 1, // 8: org.listware.sdk.pbcmdb.VertexService.Create:output_type -> org.listware.sdk.pbcmdb.Response
0, // 9: org.listware.sdk.pbcmdb.ObjectService.Read:input_type -> org.listware.sdk.pbcmdb.Request 1, // 9: org.listware.sdk.pbcmdb.VertexService.Read:output_type -> org.listware.sdk.pbcmdb.Response
0, // 10: org.listware.sdk.pbcmdb.ObjectService.Update:input_type -> org.listware.sdk.pbcmdb.Request 1, // 10: org.listware.sdk.pbcmdb.VertexService.Update:output_type -> org.listware.sdk.pbcmdb.Response
0, // 11: org.listware.sdk.pbcmdb.ObjectService.Remove:input_type -> org.listware.sdk.pbcmdb.Request 1, // 11: org.listware.sdk.pbcmdb.VertexService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
0, // 12: org.listware.sdk.pbcmdb.TypeService.Create:input_type -> org.listware.sdk.pbcmdb.Request 1, // 12: org.listware.sdk.pbcmdb.EdgeService.Create:output_type -> org.listware.sdk.pbcmdb.Response
0, // 13: org.listware.sdk.pbcmdb.TypeService.Read:input_type -> org.listware.sdk.pbcmdb.Request 1, // 13: org.listware.sdk.pbcmdb.EdgeService.Read:output_type -> org.listware.sdk.pbcmdb.Response
0, // 14: org.listware.sdk.pbcmdb.TypeService.Update:input_type -> org.listware.sdk.pbcmdb.Request 1, // 14: org.listware.sdk.pbcmdb.EdgeService.Update:output_type -> org.listware.sdk.pbcmdb.Response
0, // 15: org.listware.sdk.pbcmdb.TypeService.Remove:input_type -> org.listware.sdk.pbcmdb.Request 1, // 15: org.listware.sdk.pbcmdb.EdgeService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
0, // 16: org.listware.sdk.pbcmdb.LinkService.Create:input_type -> org.listware.sdk.pbcmdb.Request 8, // [8:16] is the sub-list for method output_type
0, // 17: org.listware.sdk.pbcmdb.LinkService.Read:input_type -> org.listware.sdk.pbcmdb.Request 0, // [0:8] is the sub-list for method input_type
0, // 18: org.listware.sdk.pbcmdb.LinkService.Update:input_type -> org.listware.sdk.pbcmdb.Request
0, // 19: org.listware.sdk.pbcmdb.LinkService.Remove:input_type -> org.listware.sdk.pbcmdb.Request
1, // 20: org.listware.sdk.pbcmdb.VertexService.Create:output_type -> org.listware.sdk.pbcmdb.Response
1, // 21: org.listware.sdk.pbcmdb.VertexService.Read:output_type -> org.listware.sdk.pbcmdb.Response
1, // 22: org.listware.sdk.pbcmdb.VertexService.Update:output_type -> org.listware.sdk.pbcmdb.Response
1, // 23: org.listware.sdk.pbcmdb.VertexService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
1, // 24: org.listware.sdk.pbcmdb.EdgeService.Create:output_type -> org.listware.sdk.pbcmdb.Response
1, // 25: org.listware.sdk.pbcmdb.EdgeService.Read:output_type -> org.listware.sdk.pbcmdb.Response
1, // 26: org.listware.sdk.pbcmdb.EdgeService.Update:output_type -> org.listware.sdk.pbcmdb.Response
1, // 27: org.listware.sdk.pbcmdb.EdgeService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
1, // 28: org.listware.sdk.pbcmdb.ObjectService.Create:output_type -> org.listware.sdk.pbcmdb.Response
1, // 29: org.listware.sdk.pbcmdb.ObjectService.Read:output_type -> org.listware.sdk.pbcmdb.Response
1, // 30: org.listware.sdk.pbcmdb.ObjectService.Update:output_type -> org.listware.sdk.pbcmdb.Response
1, // 31: org.listware.sdk.pbcmdb.ObjectService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
1, // 32: org.listware.sdk.pbcmdb.TypeService.Create:output_type -> org.listware.sdk.pbcmdb.Response
1, // 33: org.listware.sdk.pbcmdb.TypeService.Read:output_type -> org.listware.sdk.pbcmdb.Response
1, // 34: org.listware.sdk.pbcmdb.TypeService.Update:output_type -> org.listware.sdk.pbcmdb.Response
1, // 35: org.listware.sdk.pbcmdb.TypeService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
1, // 36: org.listware.sdk.pbcmdb.LinkService.Create:output_type -> org.listware.sdk.pbcmdb.Response
1, // 37: org.listware.sdk.pbcmdb.LinkService.Read:output_type -> org.listware.sdk.pbcmdb.Response
1, // 38: org.listware.sdk.pbcmdb.LinkService.Update:output_type -> org.listware.sdk.pbcmdb.Response
1, // 39: org.listware.sdk.pbcmdb.LinkService.Remove:output_type -> org.listware.sdk.pbcmdb.Response
20, // [20:40] is the sub-list for method output_type
0, // [0:20] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name 0, // [0:0] is the sub-list for field type_name
@ -208,7 +120,7 @@ func file_pbcmdb_service_proto_init() {
NumEnums: 0, NumEnums: 0,
NumMessages: 0, NumMessages: 0,
NumExtensions: 0, NumExtensions: 0,
NumServices: 5, NumServices: 2,
}, },
GoTypes: file_pbcmdb_service_proto_goTypes, GoTypes: file_pbcmdb_service_proto_goTypes,
DependencyIndexes: file_pbcmdb_service_proto_depIdxs, DependencyIndexes: file_pbcmdb_service_proto_depIdxs,

View File

@ -401,585 +401,3 @@ var EdgeService_ServiceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{}, Streams: []grpc.StreamDesc{},
Metadata: "pbcmdb/service.proto", Metadata: "pbcmdb/service.proto",
} }
// ObjectServiceClient is the client API for ObjectService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type ObjectServiceClient interface {
Create(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Read(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Update(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Remove(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
type objectServiceClient struct {
cc grpc.ClientConnInterface
}
func NewObjectServiceClient(cc grpc.ClientConnInterface) ObjectServiceClient {
return &objectServiceClient{cc}
}
func (c *objectServiceClient) Create(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.ObjectService/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *objectServiceClient) Read(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.ObjectService/Read", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *objectServiceClient) Update(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.ObjectService/Update", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *objectServiceClient) Remove(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.ObjectService/Remove", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ObjectServiceServer is the server API for ObjectService service.
// All implementations must embed UnimplementedObjectServiceServer
// for forward compatibility
type ObjectServiceServer interface {
Create(context.Context, *Request) (*Response, error)
Read(context.Context, *Request) (*Response, error)
Update(context.Context, *Request) (*Response, error)
Remove(context.Context, *Request) (*Response, error)
mustEmbedUnimplementedObjectServiceServer()
}
// UnimplementedObjectServiceServer must be embedded to have forward compatible implementations.
type UnimplementedObjectServiceServer struct {
}
func (UnimplementedObjectServiceServer) Create(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (UnimplementedObjectServiceServer) Read(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Read not implemented")
}
func (UnimplementedObjectServiceServer) Update(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (UnimplementedObjectServiceServer) Remove(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented")
}
func (UnimplementedObjectServiceServer) mustEmbedUnimplementedObjectServiceServer() {}
// UnsafeObjectServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ObjectServiceServer will
// result in compilation errors.
type UnsafeObjectServiceServer interface {
mustEmbedUnimplementedObjectServiceServer()
}
func RegisterObjectServiceServer(s grpc.ServiceRegistrar, srv ObjectServiceServer) {
s.RegisterService(&ObjectService_ServiceDesc, srv)
}
func _ObjectService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectServiceServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.ObjectService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectServiceServer).Create(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _ObjectService_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectServiceServer).Read(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.ObjectService/Read",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectServiceServer).Read(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _ObjectService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectServiceServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.ObjectService/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectServiceServer).Update(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _ObjectService_Remove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectServiceServer).Remove(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.ObjectService/Remove",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectServiceServer).Remove(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
// ObjectService_ServiceDesc is the grpc.ServiceDesc for ObjectService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var ObjectService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "org.listware.sdk.pbcmdb.ObjectService",
HandlerType: (*ObjectServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _ObjectService_Create_Handler,
},
{
MethodName: "Read",
Handler: _ObjectService_Read_Handler,
},
{
MethodName: "Update",
Handler: _ObjectService_Update_Handler,
},
{
MethodName: "Remove",
Handler: _ObjectService_Remove_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "pbcmdb/service.proto",
}
// TypeServiceClient is the client API for TypeService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type TypeServiceClient interface {
Create(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Read(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Update(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Remove(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
type typeServiceClient struct {
cc grpc.ClientConnInterface
}
func NewTypeServiceClient(cc grpc.ClientConnInterface) TypeServiceClient {
return &typeServiceClient{cc}
}
func (c *typeServiceClient) Create(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.TypeService/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *typeServiceClient) Read(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.TypeService/Read", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *typeServiceClient) Update(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.TypeService/Update", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *typeServiceClient) Remove(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.TypeService/Remove", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// TypeServiceServer is the server API for TypeService service.
// All implementations must embed UnimplementedTypeServiceServer
// for forward compatibility
type TypeServiceServer interface {
Create(context.Context, *Request) (*Response, error)
Read(context.Context, *Request) (*Response, error)
Update(context.Context, *Request) (*Response, error)
Remove(context.Context, *Request) (*Response, error)
mustEmbedUnimplementedTypeServiceServer()
}
// UnimplementedTypeServiceServer must be embedded to have forward compatible implementations.
type UnimplementedTypeServiceServer struct {
}
func (UnimplementedTypeServiceServer) Create(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (UnimplementedTypeServiceServer) Read(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Read not implemented")
}
func (UnimplementedTypeServiceServer) Update(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (UnimplementedTypeServiceServer) Remove(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented")
}
func (UnimplementedTypeServiceServer) mustEmbedUnimplementedTypeServiceServer() {}
// UnsafeTypeServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to TypeServiceServer will
// result in compilation errors.
type UnsafeTypeServiceServer interface {
mustEmbedUnimplementedTypeServiceServer()
}
func RegisterTypeServiceServer(s grpc.ServiceRegistrar, srv TypeServiceServer) {
s.RegisterService(&TypeService_ServiceDesc, srv)
}
func _TypeService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(TypeServiceServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.TypeService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TypeServiceServer).Create(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _TypeService_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(TypeServiceServer).Read(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.TypeService/Read",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TypeServiceServer).Read(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _TypeService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(TypeServiceServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.TypeService/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TypeServiceServer).Update(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _TypeService_Remove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(TypeServiceServer).Remove(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.TypeService/Remove",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TypeServiceServer).Remove(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
// TypeService_ServiceDesc is the grpc.ServiceDesc for TypeService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var TypeService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "org.listware.sdk.pbcmdb.TypeService",
HandlerType: (*TypeServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _TypeService_Create_Handler,
},
{
MethodName: "Read",
Handler: _TypeService_Read_Handler,
},
{
MethodName: "Update",
Handler: _TypeService_Update_Handler,
},
{
MethodName: "Remove",
Handler: _TypeService_Remove_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "pbcmdb/service.proto",
}
// LinkServiceClient is the client API for LinkService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type LinkServiceClient interface {
Create(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Read(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Update(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
Remove(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
type linkServiceClient struct {
cc grpc.ClientConnInterface
}
func NewLinkServiceClient(cc grpc.ClientConnInterface) LinkServiceClient {
return &linkServiceClient{cc}
}
func (c *linkServiceClient) Create(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.LinkService/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *linkServiceClient) Read(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.LinkService/Read", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *linkServiceClient) Update(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.LinkService/Update", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *linkServiceClient) Remove(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
out := new(Response)
err := c.cc.Invoke(ctx, "/org.listware.sdk.pbcmdb.LinkService/Remove", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// LinkServiceServer is the server API for LinkService service.
// All implementations must embed UnimplementedLinkServiceServer
// for forward compatibility
type LinkServiceServer interface {
Create(context.Context, *Request) (*Response, error)
Read(context.Context, *Request) (*Response, error)
Update(context.Context, *Request) (*Response, error)
Remove(context.Context, *Request) (*Response, error)
mustEmbedUnimplementedLinkServiceServer()
}
// UnimplementedLinkServiceServer must be embedded to have forward compatible implementations.
type UnimplementedLinkServiceServer struct {
}
func (UnimplementedLinkServiceServer) Create(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (UnimplementedLinkServiceServer) Read(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Read not implemented")
}
func (UnimplementedLinkServiceServer) Update(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (UnimplementedLinkServiceServer) Remove(context.Context, *Request) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented")
}
func (UnimplementedLinkServiceServer) mustEmbedUnimplementedLinkServiceServer() {}
// UnsafeLinkServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to LinkServiceServer will
// result in compilation errors.
type UnsafeLinkServiceServer interface {
mustEmbedUnimplementedLinkServiceServer()
}
func RegisterLinkServiceServer(s grpc.ServiceRegistrar, srv LinkServiceServer) {
s.RegisterService(&LinkService_ServiceDesc, srv)
}
func _LinkService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(LinkServiceServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.LinkService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(LinkServiceServer).Create(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _LinkService_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(LinkServiceServer).Read(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.LinkService/Read",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(LinkServiceServer).Read(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _LinkService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(LinkServiceServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.LinkService/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(LinkServiceServer).Update(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
func _LinkService_Remove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(Request)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(LinkServiceServer).Remove(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/org.listware.sdk.pbcmdb.LinkService/Remove",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(LinkServiceServer).Remove(ctx, req.(*Request))
}
return interceptor(ctx, in, info, handler)
}
// LinkService_ServiceDesc is the grpc.ServiceDesc for LinkService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var LinkService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "org.listware.sdk.pbcmdb.LinkService",
HandlerType: (*LinkServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _LinkService_Create_Handler,
},
{
MethodName: "Read",
Handler: _LinkService_Read_Handler,
},
{
MethodName: "Update",
Handler: _LinkService_Update_Handler,
},
{
MethodName: "Remove",
Handler: _LinkService_Remove_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "pbcmdb/service.proto",
}

View File

@ -23,19 +23,17 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) )
// Function - is a CMDB object which represent Flink's stateful function type FunctionType struct {
type Function struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Type *FunctionType `protobuf:"bytes,1,opt,name=type,json=function_type,proto3" json:"type,omitempty"` Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Params []*FunctionParameter `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
} }
func (x *Function) Reset() { func (x *FunctionType) Reset() {
*x = Function{} *x = FunctionType{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[0] mi := &file_pbtypes_pbfunction_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -43,13 +41,13 @@ func (x *Function) Reset() {
} }
} }
func (x *Function) String() string { func (x *FunctionType) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
} }
func (*Function) ProtoMessage() {} func (*FunctionType) ProtoMessage() {}
func (x *Function) ProtoReflect() protoreflect.Message { func (x *FunctionType) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[0] mi := &file_pbtypes_pbfunction_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -61,30 +59,23 @@ func (x *Function) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use Function.ProtoReflect.Descriptor instead. // Deprecated: Use FunctionType.ProtoReflect.Descriptor instead.
func (*Function) Descriptor() ([]byte, []int) { func (*FunctionType) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{0} return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{0}
} }
func (x *Function) GetType() *FunctionType { func (x *FunctionType) GetNamespace() string {
if x != nil { if x != nil {
return x.Type return x.Namespace
}
return nil
}
func (x *Function) GetDescription() string {
if x != nil {
return x.Description
} }
return "" return ""
} }
func (x *Function) GetParams() []*FunctionParameter { func (x *FunctionType) GetType() string {
if x != nil { if x != nil {
return x.Params return x.Type
} }
return nil return ""
} }
type FunctionParameter struct { type FunctionParameter struct {
@ -150,17 +141,19 @@ func (x *FunctionParameter) GetDefault() *any.Any {
return nil return nil
} }
type FunctionType struct { // Function - is a CMDB object which represent Flink's stateful function
type Function struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Type *FunctionType `protobuf:"bytes,1,opt,name=type,json=function_type,proto3" json:"type,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Params []*FunctionParameter `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
} }
func (x *FunctionType) Reset() { func (x *Function) Reset() {
*x = FunctionType{} *x = Function{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[2] mi := &file_pbtypes_pbfunction_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -168,13 +161,13 @@ func (x *FunctionType) Reset() {
} }
} }
func (x *FunctionType) String() string { func (x *Function) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
} }
func (*FunctionType) ProtoMessage() {} func (*Function) ProtoMessage() {}
func (x *FunctionType) ProtoReflect() protoreflect.Message { func (x *Function) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[2] mi := &file_pbtypes_pbfunction_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -186,151 +179,32 @@ func (x *FunctionType) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use FunctionType.ProtoReflect.Descriptor instead. // Deprecated: Use Function.ProtoReflect.Descriptor instead.
func (*FunctionType) Descriptor() ([]byte, []int) { func (*Function) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{2} return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{2}
} }
func (x *FunctionType) GetNamespace() string { func (x *Function) GetType() *FunctionType {
if x != nil {
return x.Namespace
}
return ""
}
func (x *FunctionType) GetType() string {
if x != nil { if x != nil {
return x.Type return x.Type
} }
return ""
}
type ReplyEgress struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
}
func (x *ReplyEgress) Reset() {
*x = ReplyEgress{}
if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReplyEgress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReplyEgress) ProtoMessage() {}
func (x *ReplyEgress) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReplyEgress.ProtoReflect.Descriptor instead.
func (*ReplyEgress) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{3}
}
func (x *ReplyEgress) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *ReplyEgress) GetTopic() string {
if x != nil {
return x.Topic
}
return ""
}
func (x *ReplyEgress) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type FunctionResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReplyEgress *ReplyEgress `protobuf:"bytes,1,opt,name=reply_egress,json=replyEgress,proto3" json:"reply_egress,omitempty"`
Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *FunctionResult) Reset() {
*x = FunctionResult{}
if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FunctionResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FunctionResult) ProtoMessage() {}
func (x *FunctionResult) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FunctionResult.ProtoReflect.Descriptor instead.
func (*FunctionResult) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{4}
}
func (x *FunctionResult) GetReplyEgress() *ReplyEgress {
if x != nil {
return x.ReplyEgress
}
return nil return nil
} }
func (x *FunctionResult) GetComplete() bool { func (x *Function) GetDescription() string {
if x != nil { if x != nil {
return x.Complete return x.Description
}
return false
}
func (x *FunctionResult) GetError() string {
if x != nil {
return x.Error
} }
return "" return ""
} }
func (x *Function) GetParams() []*FunctionParameter {
if x != nil {
return x.Params
}
return nil
}
type FunctionContext struct { type FunctionContext struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -339,16 +213,13 @@ type FunctionContext struct {
FunctionType *FunctionType `protobuf:"bytes,1,opt,name=function_type,proto3" json:"function_type,omitempty"` FunctionType *FunctionType `protobuf:"bytes,1,opt,name=function_type,proto3" json:"function_type,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Callback *FunctionContext `protobuf:"bytes,4,opt,name=callback,proto3" json:"callback,omitempty"` ReplyResult *ReplyResult `protobuf:"bytes,4,opt,name=reply_result,proto3" json:"reply_result,omitempty"`
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
Context []byte `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
ReplyEgress *ReplyEgress `protobuf:"bytes,7,opt,name=reply_egress,proto3" json:"reply_egress,omitempty"`
} }
func (x *FunctionContext) Reset() { func (x *FunctionContext) Reset() {
*x = FunctionContext{} *x = FunctionContext{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[5] mi := &file_pbtypes_pbfunction_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -361,7 +232,7 @@ func (x *FunctionContext) String() string {
func (*FunctionContext) ProtoMessage() {} func (*FunctionContext) ProtoMessage() {}
func (x *FunctionContext) ProtoReflect() protoreflect.Message { func (x *FunctionContext) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[5] mi := &file_pbtypes_pbfunction_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -374,7 +245,7 @@ func (x *FunctionContext) ProtoReflect() protoreflect.Message {
// Deprecated: Use FunctionContext.ProtoReflect.Descriptor instead. // Deprecated: Use FunctionContext.ProtoReflect.Descriptor instead.
func (*FunctionContext) Descriptor() ([]byte, []int) { func (*FunctionContext) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{5} return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{3}
} }
func (x *FunctionContext) GetFunctionType() *FunctionType { func (x *FunctionContext) GetFunctionType() *FunctionType {
@ -398,82 +269,13 @@ func (x *FunctionContext) GetValue() []byte {
return nil return nil
} }
func (x *FunctionContext) GetCallback() *FunctionContext { func (x *FunctionContext) GetReplyResult() *ReplyResult {
if x != nil { if x != nil {
return x.Callback return x.ReplyResult
} }
return nil return nil
} }
func (x *FunctionContext) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *FunctionContext) GetContext() []byte {
if x != nil {
return x.Context
}
return nil
}
func (x *FunctionContext) GetReplyEgress() *ReplyEgress {
if x != nil {
return x.ReplyEgress
}
return nil
}
// FunctionTypeRoute - is a LinkMessage from cmdb.Type to Function
type FunctionTypeRoute struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Grounded bool `protobuf:"varint,1,opt,name=grounded,proto3" json:"grounded,omitempty"`
}
func (x *FunctionTypeRoute) Reset() {
*x = FunctionTypeRoute{}
if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FunctionTypeRoute) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FunctionTypeRoute) ProtoMessage() {}
func (x *FunctionTypeRoute) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FunctionTypeRoute.ProtoReflect.Descriptor instead.
func (*FunctionTypeRoute) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{6}
}
func (x *FunctionTypeRoute) GetGrounded() bool {
if x != nil {
return x.Grounded
}
return false
}
// FunctionRoute - is a LinkMessage from cmdb.Object to Function // FunctionRoute - is a LinkMessage from cmdb.Object to Function
type FunctionRoute struct { type FunctionRoute struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -486,7 +288,7 @@ type FunctionRoute struct {
func (x *FunctionRoute) Reset() { func (x *FunctionRoute) Reset() {
*x = FunctionRoute{} *x = FunctionRoute{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[7] mi := &file_pbtypes_pbfunction_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -499,7 +301,7 @@ func (x *FunctionRoute) String() string {
func (*FunctionRoute) ProtoMessage() {} func (*FunctionRoute) ProtoMessage() {}
func (x *FunctionRoute) ProtoReflect() protoreflect.Message { func (x *FunctionRoute) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[7] mi := &file_pbtypes_pbfunction_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -512,7 +314,7 @@ func (x *FunctionRoute) ProtoReflect() protoreflect.Message {
// Deprecated: Use FunctionRoute.ProtoReflect.Descriptor instead. // Deprecated: Use FunctionRoute.ProtoReflect.Descriptor instead.
func (*FunctionRoute) Descriptor() ([]byte, []int) { func (*FunctionRoute) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{7} return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{4}
} }
func (x *FunctionRoute) GetUrl() string { func (x *FunctionRoute) GetUrl() string {
@ -528,13 +330,14 @@ type FunctionMessage struct {
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Route *FunctionRoute `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` Mountpoint string `protobuf:"bytes,2,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
Route *FunctionRoute `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"`
} }
func (x *FunctionMessage) Reset() { func (x *FunctionMessage) Reset() {
*x = FunctionMessage{} *x = FunctionMessage{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbfunction_proto_msgTypes[8] mi := &file_pbtypes_pbfunction_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -547,7 +350,7 @@ func (x *FunctionMessage) String() string {
func (*FunctionMessage) ProtoMessage() {} func (*FunctionMessage) ProtoMessage() {}
func (x *FunctionMessage) ProtoReflect() protoreflect.Message { func (x *FunctionMessage) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbfunction_proto_msgTypes[8] mi := &file_pbtypes_pbfunction_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -560,7 +363,7 @@ func (x *FunctionMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use FunctionMessage.ProtoReflect.Descriptor instead. // Deprecated: Use FunctionMessage.ProtoReflect.Descriptor instead.
func (*FunctionMessage) Descriptor() ([]byte, []int) { func (*FunctionMessage) Descriptor() ([]byte, []int) {
return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{8} return file_pbtypes_pbfunction_proto_rawDescGZIP(), []int{5}
} }
func (x *FunctionMessage) GetType() string { func (x *FunctionMessage) GetType() string {
@ -570,6 +373,13 @@ func (x *FunctionMessage) GetType() string {
return "" return ""
} }
func (x *FunctionMessage) GetMountpoint() string {
if x != nil {
return x.Mountpoint
}
return ""
}
func (x *FunctionMessage) GetRoute() *FunctionRoute { func (x *FunctionMessage) GetRoute() *FunctionRoute {
if x != nil { if x != nil {
return x.Route return x.Route
@ -584,81 +394,60 @@ var file_pbtypes_pbfunction_proto_rawDesc = []byte{
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74,
0x79, 0x70, 0x65, 0x73, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0xb6, 0x01, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, 0x16, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x70, 0x62, 0x72, 0x65, 0x73, 0x75, 0x6c,
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73,
0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65,
0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x6b, 0x0a, 0x11, 0x46, 0x75, 0x6e,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,
0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x64,
0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0xb6, 0x01, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65,
0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x75, 0x6e,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x70, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22,
0xd0, 0x01, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74,
0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
0x70, 0x65, 0x52, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x70, 0x65, 0x52, 0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x79,
0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x65,
0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x6b, 0x0a, 0x11, 0x46, 0x75, 0x6e, 0x63, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75,
0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x6c, 0x74, 0x22, 0x21, 0x0a, 0x0d, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f,
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x75, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x84, 0x01, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x64, 0x65, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x40, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3d, 0x0a,
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f,
0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x51, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x42, 0x48, 0x0a, 0x10,
0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b,
0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0x09, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5a, 0x29, 0x67, 0x69, 0x74,
0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74,
0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8c, 0x01, 0x0a, 0x0e, 0x46, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a,
0x0c, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61,
0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52,
0x65, 0x70, 0x6c, 0x79, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c,
0x79, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
0x65, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
0x65, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xc3, 0x02, 0x0a, 0x0f, 0x46, 0x75,
0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a,
0x0d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77,
0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x66, 0x75,
0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x12, 0x45, 0x0a, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61,
0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x46,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08,
0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e,
0x74, 0x65, 0x78, 0x74, 0x12, 0x49, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x67,
0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x45, 0x67, 0x72, 0x65, 0x73,
0x73, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22,
0x2f, 0x0a, 0x11, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52,
0x6f, 0x75, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x65, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x65, 0x64,
0x22, 0x21, 0x0a, 0x0d, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75, 0x74,
0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x75, 0x72, 0x6c, 0x22, 0x64, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x72, 0x6f,
0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x75,
0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x42, 0x48, 0x0a, 0x10, 0x6f, 0x72, 0x67,
0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x42, 0x09, 0x46,
0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x67,
0x2d, 0x74, 0x65, 0x63, 0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72,
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x62, 0x74, 0x79,
0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -673,33 +462,29 @@ func file_pbtypes_pbfunction_proto_rawDescGZIP() []byte {
return file_pbtypes_pbfunction_proto_rawDescData return file_pbtypes_pbfunction_proto_rawDescData
} }
var file_pbtypes_pbfunction_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_pbtypes_pbfunction_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_pbtypes_pbfunction_proto_goTypes = []interface{}{ var file_pbtypes_pbfunction_proto_goTypes = []interface{}{
(*Function)(nil), // 0: org.listware.sdk.pbtypes.Function (*FunctionType)(nil), // 0: org.listware.sdk.pbtypes.FunctionType
(*FunctionParameter)(nil), // 1: org.listware.sdk.pbtypes.FunctionParameter (*FunctionParameter)(nil), // 1: org.listware.sdk.pbtypes.FunctionParameter
(*FunctionType)(nil), // 2: org.listware.sdk.pbtypes.FunctionType (*Function)(nil), // 2: org.listware.sdk.pbtypes.Function
(*ReplyEgress)(nil), // 3: org.listware.sdk.pbtypes.ReplyEgress (*FunctionContext)(nil), // 3: org.listware.sdk.pbtypes.FunctionContext
(*FunctionResult)(nil), // 4: org.listware.sdk.pbtypes.FunctionResult (*FunctionRoute)(nil), // 4: org.listware.sdk.pbtypes.FunctionRoute
(*FunctionContext)(nil), // 5: org.listware.sdk.pbtypes.FunctionContext (*FunctionMessage)(nil), // 5: org.listware.sdk.pbtypes.FunctionMessage
(*FunctionTypeRoute)(nil), // 6: org.listware.sdk.pbtypes.FunctionTypeRoute (*any.Any)(nil), // 6: google.protobuf.Any
(*FunctionRoute)(nil), // 7: org.listware.sdk.pbtypes.FunctionRoute (*ReplyResult)(nil), // 7: org.listware.sdk.pbtypes.ReplyResult
(*FunctionMessage)(nil), // 8: org.listware.sdk.pbtypes.FunctionMessage
(*any.Any)(nil), // 9: google.protobuf.Any
} }
var file_pbtypes_pbfunction_proto_depIdxs = []int32{ var file_pbtypes_pbfunction_proto_depIdxs = []int32{
2, // 0: org.listware.sdk.pbtypes.Function.type:type_name -> org.listware.sdk.pbtypes.FunctionType 6, // 0: org.listware.sdk.pbtypes.FunctionParameter.default:type_name -> google.protobuf.Any
1, // 1: org.listware.sdk.pbtypes.Function.params:type_name -> org.listware.sdk.pbtypes.FunctionParameter 0, // 1: org.listware.sdk.pbtypes.Function.type:type_name -> org.listware.sdk.pbtypes.FunctionType
9, // 2: org.listware.sdk.pbtypes.FunctionParameter.default:type_name -> google.protobuf.Any 1, // 2: org.listware.sdk.pbtypes.Function.params:type_name -> org.listware.sdk.pbtypes.FunctionParameter
3, // 3: org.listware.sdk.pbtypes.FunctionResult.reply_egress:type_name -> org.listware.sdk.pbtypes.ReplyEgress 0, // 3: org.listware.sdk.pbtypes.FunctionContext.function_type:type_name -> org.listware.sdk.pbtypes.FunctionType
2, // 4: org.listware.sdk.pbtypes.FunctionContext.function_type:type_name -> org.listware.sdk.pbtypes.FunctionType 7, // 4: org.listware.sdk.pbtypes.FunctionContext.reply_result:type_name -> org.listware.sdk.pbtypes.ReplyResult
5, // 5: org.listware.sdk.pbtypes.FunctionContext.callback:type_name -> org.listware.sdk.pbtypes.FunctionContext 4, // 5: org.listware.sdk.pbtypes.FunctionMessage.route:type_name -> org.listware.sdk.pbtypes.FunctionRoute
3, // 6: org.listware.sdk.pbtypes.FunctionContext.reply_egress:type_name -> org.listware.sdk.pbtypes.ReplyEgress 6, // [6:6] is the sub-list for method output_type
7, // 7: org.listware.sdk.pbtypes.FunctionMessage.route:type_name -> org.listware.sdk.pbtypes.FunctionRoute 6, // [6:6] is the sub-list for method input_type
8, // [8:8] is the sub-list for method output_type 6, // [6:6] is the sub-list for extension type_name
8, // [8:8] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension extendee
8, // [8:8] is the sub-list for extension type_name 0, // [0:6] is the sub-list for field type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
} }
func init() { file_pbtypes_pbfunction_proto_init() } func init() { file_pbtypes_pbfunction_proto_init() }
@ -707,9 +492,10 @@ func file_pbtypes_pbfunction_proto_init() {
if File_pbtypes_pbfunction_proto != nil { if File_pbtypes_pbfunction_proto != nil {
return return
} }
file_pbtypes_pbresult_proto_init()
if !protoimpl.UnsafeEnabled { if !protoimpl.UnsafeEnabled {
file_pbtypes_pbfunction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { file_pbtypes_pbfunction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Function); i { switch v := v.(*FunctionType); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -733,7 +519,7 @@ func file_pbtypes_pbfunction_proto_init() {
} }
} }
file_pbtypes_pbfunction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { file_pbtypes_pbfunction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionType); i { switch v := v.(*Function); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -745,30 +531,6 @@ func file_pbtypes_pbfunction_proto_init() {
} }
} }
file_pbtypes_pbfunction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { file_pbtypes_pbfunction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyEgress); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pbtypes_pbfunction_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pbtypes_pbfunction_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionContext); i { switch v := v.(*FunctionContext); i {
case 0: case 0:
return &v.state return &v.state
@ -780,19 +542,7 @@ func file_pbtypes_pbfunction_proto_init() {
return nil return nil
} }
} }
file_pbtypes_pbfunction_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { file_pbtypes_pbfunction_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionTypeRoute); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pbtypes_pbfunction_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionRoute); i { switch v := v.(*FunctionRoute); i {
case 0: case 0:
return &v.state return &v.state
@ -804,7 +554,7 @@ func file_pbtypes_pbfunction_proto_init() {
return nil return nil
} }
} }
file_pbtypes_pbfunction_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { file_pbtypes_pbfunction_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionMessage); i { switch v := v.(*FunctionMessage); i {
case 0: case 0:
return &v.state return &v.state
@ -823,7 +573,7 @@ func file_pbtypes_pbfunction_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pbtypes_pbfunction_proto_rawDesc, RawDescriptor: file_pbtypes_pbfunction_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 9, NumMessages: 6,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

263
sdk/pbtypes/pbresult.pb.go Normal file
View File

@ -0,0 +1,263 @@
// Copyright 2022 Listware
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.7.1
// source: pbtypes/pbresult.proto
package pbtypes
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type ReplyResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
}
func (x *ReplyResult) Reset() {
*x = ReplyResult{}
if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbresult_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReplyResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReplyResult) ProtoMessage() {}
func (x *ReplyResult) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbresult_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReplyResult.ProtoReflect.Descriptor instead.
func (*ReplyResult) Descriptor() ([]byte, []int) {
return file_pbtypes_pbresult_proto_rawDescGZIP(), []int{0}
}
func (x *ReplyResult) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *ReplyResult) GetTopic() string {
if x != nil {
return x.Topic
}
return ""
}
func (x *ReplyResult) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ReplyResult) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
type FunctionResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReplyEgress *ReplyResult `protobuf:"bytes,1,opt,name=reply_egress,json=replyEgress,proto3" json:"reply_egress,omitempty"`
Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"`
Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
}
func (x *FunctionResult) Reset() {
*x = FunctionResult{}
if protoimpl.UnsafeEnabled {
mi := &file_pbtypes_pbresult_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FunctionResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FunctionResult) ProtoMessage() {}
func (x *FunctionResult) ProtoReflect() protoreflect.Message {
mi := &file_pbtypes_pbresult_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use FunctionResult.ProtoReflect.Descriptor instead.
func (*FunctionResult) Descriptor() ([]byte, []int) {
return file_pbtypes_pbresult_proto_rawDescGZIP(), []int{1}
}
func (x *FunctionResult) GetReplyEgress() *ReplyResult {
if x != nil {
return x.ReplyEgress
}
return nil
}
func (x *FunctionResult) GetComplete() bool {
if x != nil {
return x.Complete
}
return false
}
func (x *FunctionResult) GetErrors() []string {
if x != nil {
return x.Errors
}
return nil
}
var File_pbtypes_pbresult_proto protoreflect.FileDescriptor
var file_pbtypes_pbresult_proto_rawDesc = []byte{
0x0a, 0x16, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x70, 0x62, 0x72, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69,
0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70,
0x65, 0x73, 0x22, 0x63, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c,
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x8e, 0x01, 0x0a, 0x0e, 0x46, 0x75, 0x6e, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x0c, 0x72, 0x65,
0x70, 0x6c, 0x79, 0x5f, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x25, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e,
0x73, 0x64, 0x6b, 0x2e, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x70, 0x6c,
0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x45, 0x67,
0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x42, 0x45, 0x0a, 0x10, 0x6f, 0x72, 0x67, 0x2e,
0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x73, 0x64, 0x6b, 0x42, 0x06, 0x52, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x67, 0x2d, 0x74, 0x65, 0x63,
0x68, 0x2e, 0x72, 0x75, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_pbtypes_pbresult_proto_rawDescOnce sync.Once
file_pbtypes_pbresult_proto_rawDescData = file_pbtypes_pbresult_proto_rawDesc
)
func file_pbtypes_pbresult_proto_rawDescGZIP() []byte {
file_pbtypes_pbresult_proto_rawDescOnce.Do(func() {
file_pbtypes_pbresult_proto_rawDescData = protoimpl.X.CompressGZIP(file_pbtypes_pbresult_proto_rawDescData)
})
return file_pbtypes_pbresult_proto_rawDescData
}
var file_pbtypes_pbresult_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_pbtypes_pbresult_proto_goTypes = []interface{}{
(*ReplyResult)(nil), // 0: org.listware.sdk.pbtypes.ReplyResult
(*FunctionResult)(nil), // 1: org.listware.sdk.pbtypes.FunctionResult
}
var file_pbtypes_pbresult_proto_depIdxs = []int32{
0, // 0: org.listware.sdk.pbtypes.FunctionResult.reply_egress:type_name -> org.listware.sdk.pbtypes.ReplyResult
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_pbtypes_pbresult_proto_init() }
func file_pbtypes_pbresult_proto_init() {
if File_pbtypes_pbresult_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_pbtypes_pbresult_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pbtypes_pbresult_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FunctionResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pbtypes_pbresult_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_pbtypes_pbresult_proto_goTypes,
DependencyIndexes: file_pbtypes_pbresult_proto_depIdxs,
MessageInfos: file_pbtypes_pbresult_proto_msgTypes,
}.Build()
File_pbtypes_pbresult_proto = out.File
file_pbtypes_pbresult_proto_rawDesc = nil
file_pbtypes_pbresult_proto_goTypes = nil
file_pbtypes_pbresult_proto_depIdxs = nil
}