package automation;
import io.quarkus.grpc.runtime.MutinyService;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: automation.proto")
public interface AutomationService extends MutinyService {
io.smallrye.mutiny.Uni<automation.Automation.DeviceRole> ztpGetDeviceRole(automation.Automation.DeviceRoleId request);
io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleList> ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request);
io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpAdd(automation.Automation.DeviceRole request);
io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpUpdate(automation.Automation.DeviceRoleConfig request);
io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpDelete(automation.Automation.DeviceRole request);
io.smallrye.mutiny.Uni<automation.Automation.DeviceDeletionResult> ztpDeleteAll(context.ContextOuterClass.Empty request);
}
\ No newline at end of file
package automation;
import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: automation.proto")
public class AutomationServiceBean extends MutinyAutomationServiceGrpc.AutomationServiceImplBase implements BindableService, MutinyBean {
private final AutomationService delegate;
AutomationServiceBean(@GrpcService AutomationService delegate) {
this.delegate = delegate;
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRole> ztpGetDeviceRole(automation.Automation.DeviceRoleId request) {
try {
return delegate.ztpGetDeviceRole(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleList> ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request) {
try {
return delegate.ztpGetDeviceRolesByDeviceId(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpAdd(automation.Automation.DeviceRole request) {
try {
return delegate.ztpAdd(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpUpdate(automation.Automation.DeviceRoleConfig request) {
try {
return delegate.ztpUpdate(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpDelete(automation.Automation.DeviceRole request) {
try {
return delegate.ztpDelete(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceDeletionResult> ztpDeleteAll(context.ContextOuterClass.Empty request) {
try {
return delegate.ztpDeleteAll(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
}
\ No newline at end of file
package automation;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: automation.proto")
public class AutomationServiceClient implements AutomationService, MutinyClient<MutinyAutomationServiceGrpc.MutinyAutomationServiceStub> {
private final MutinyAutomationServiceGrpc.MutinyAutomationServiceStub stub;
public AutomationServiceClient(String name, io.grpc.Channel channel, BiFunction<String, MutinyAutomationServiceGrpc.MutinyAutomationServiceStub, MutinyAutomationServiceGrpc.MutinyAutomationServiceStub> stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyAutomationServiceGrpc.newMutinyStub(channel));
}
@Override
public MutinyAutomationServiceGrpc.MutinyAutomationServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRole> ztpGetDeviceRole(automation.Automation.DeviceRoleId request) {
return stub.ztpGetDeviceRole(request);
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleList> ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request) {
return stub.ztpGetDeviceRolesByDeviceId(request);
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpAdd(automation.Automation.DeviceRole request) {
return stub.ztpAdd(request);
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpUpdate(automation.Automation.DeviceRoleConfig request) {
return stub.ztpUpdate(request);
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpDelete(automation.Automation.DeviceRole request) {
return stub.ztpDelete(request);
}
@Override
public io.smallrye.mutiny.Uni<automation.Automation.DeviceDeletionResult> ztpDeleteAll(context.ContextOuterClass.Empty request) {
return stub.ztpDeleteAll(request);
}
}
\ No newline at end of file
package automation;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.38.1)",
comments = "Source: automation.proto")
public final class AutomationServiceGrpc {
private AutomationServiceGrpc() {}
public static final String SERVICE_NAME = "automation.AutomationService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<automation.Automation.DeviceRoleId,
automation.Automation.DeviceRole> getZtpGetDeviceRoleMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ZtpGetDeviceRole",
requestType = automation.Automation.DeviceRoleId.class,
responseType = automation.Automation.DeviceRole.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<automation.Automation.DeviceRoleId,
automation.Automation.DeviceRole> getZtpGetDeviceRoleMethod() {
io.grpc.MethodDescriptor<automation.Automation.DeviceRoleId, automation.Automation.DeviceRole> getZtpGetDeviceRoleMethod;
if ((getZtpGetDeviceRoleMethod = AutomationServiceGrpc.getZtpGetDeviceRoleMethod) == null) {
synchronized (AutomationServiceGrpc.class) {
if ((getZtpGetDeviceRoleMethod = AutomationServiceGrpc.getZtpGetDeviceRoleMethod) == null) {
AutomationServiceGrpc.getZtpGetDeviceRoleMethod = getZtpGetDeviceRoleMethod =
io.grpc.MethodDescriptor.<automation.Automation.DeviceRoleId, automation.Automation.DeviceRole>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ZtpGetDeviceRole"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRoleId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRole.getDefaultInstance()))
.setSchemaDescriptor(new AutomationServiceMethodDescriptorSupplier("ZtpGetDeviceRole"))
.build();
}
}
}
return getZtpGetDeviceRoleMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
automation.Automation.DeviceRoleList> getZtpGetDeviceRolesByDeviceIdMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ZtpGetDeviceRolesByDeviceId",
requestType = context.ContextOuterClass.DeviceId.class,
responseType = automation.Automation.DeviceRoleList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
automation.Automation.DeviceRoleList> getZtpGetDeviceRolesByDeviceIdMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId, automation.Automation.DeviceRoleList> getZtpGetDeviceRolesByDeviceIdMethod;
if ((getZtpGetDeviceRolesByDeviceIdMethod = AutomationServiceGrpc.getZtpGetDeviceRolesByDeviceIdMethod) == null) {
synchronized (AutomationServiceGrpc.class) {
if ((getZtpGetDeviceRolesByDeviceIdMethod = AutomationServiceGrpc.getZtpGetDeviceRolesByDeviceIdMethod) == null) {
AutomationServiceGrpc.getZtpGetDeviceRolesByDeviceIdMethod = getZtpGetDeviceRolesByDeviceIdMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.DeviceId, automation.Automation.DeviceRoleList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ZtpGetDeviceRolesByDeviceId"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRoleList.getDefaultInstance()))
.setSchemaDescriptor(new AutomationServiceMethodDescriptorSupplier("ZtpGetDeviceRolesByDeviceId"))
.build();
}
}
}
return getZtpGetDeviceRolesByDeviceIdMethod;
}
private static volatile io.grpc.MethodDescriptor<automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState> getZtpAddMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ZtpAdd",
requestType = automation.Automation.DeviceRole.class,
responseType = automation.Automation.DeviceRoleState.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState> getZtpAddMethod() {
io.grpc.MethodDescriptor<automation.Automation.DeviceRole, automation.Automation.DeviceRoleState> getZtpAddMethod;
if ((getZtpAddMethod = AutomationServiceGrpc.getZtpAddMethod) == null) {
synchronized (AutomationServiceGrpc.class) {
if ((getZtpAddMethod = AutomationServiceGrpc.getZtpAddMethod) == null) {
AutomationServiceGrpc.getZtpAddMethod = getZtpAddMethod =
io.grpc.MethodDescriptor.<automation.Automation.DeviceRole, automation.Automation.DeviceRoleState>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ZtpAdd"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRole.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRoleState.getDefaultInstance()))
.setSchemaDescriptor(new AutomationServiceMethodDescriptorSupplier("ZtpAdd"))
.build();
}
}
}
return getZtpAddMethod;
}
private static volatile io.grpc.MethodDescriptor<automation.Automation.DeviceRoleConfig,
automation.Automation.DeviceRoleState> getZtpUpdateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ZtpUpdate",
requestType = automation.Automation.DeviceRoleConfig.class,
responseType = automation.Automation.DeviceRoleState.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<automation.Automation.DeviceRoleConfig,
automation.Automation.DeviceRoleState> getZtpUpdateMethod() {
io.grpc.MethodDescriptor<automation.Automation.DeviceRoleConfig, automation.Automation.DeviceRoleState> getZtpUpdateMethod;
if ((getZtpUpdateMethod = AutomationServiceGrpc.getZtpUpdateMethod) == null) {
synchronized (AutomationServiceGrpc.class) {
if ((getZtpUpdateMethod = AutomationServiceGrpc.getZtpUpdateMethod) == null) {
AutomationServiceGrpc.getZtpUpdateMethod = getZtpUpdateMethod =
io.grpc.MethodDescriptor.<automation.Automation.DeviceRoleConfig, automation.Automation.DeviceRoleState>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ZtpUpdate"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRoleConfig.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRoleState.getDefaultInstance()))
.setSchemaDescriptor(new AutomationServiceMethodDescriptorSupplier("ZtpUpdate"))
.build();
}
}
}
return getZtpUpdateMethod;
}
private static volatile io.grpc.MethodDescriptor<automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState> getZtpDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ZtpDelete",
requestType = automation.Automation.DeviceRole.class,
responseType = automation.Automation.DeviceRoleState.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState> getZtpDeleteMethod() {
io.grpc.MethodDescriptor<automation.Automation.DeviceRole, automation.Automation.DeviceRoleState> getZtpDeleteMethod;
if ((getZtpDeleteMethod = AutomationServiceGrpc.getZtpDeleteMethod) == null) {
synchronized (AutomationServiceGrpc.class) {
if ((getZtpDeleteMethod = AutomationServiceGrpc.getZtpDeleteMethod) == null) {
AutomationServiceGrpc.getZtpDeleteMethod = getZtpDeleteMethod =
io.grpc.MethodDescriptor.<automation.Automation.DeviceRole, automation.Automation.DeviceRoleState>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ZtpDelete"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRole.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceRoleState.getDefaultInstance()))
.setSchemaDescriptor(new AutomationServiceMethodDescriptorSupplier("ZtpDelete"))
.build();
}
}
}
return getZtpDeleteMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
automation.Automation.DeviceDeletionResult> getZtpDeleteAllMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ZtpDeleteAll",
requestType = context.ContextOuterClass.Empty.class,
responseType = automation.Automation.DeviceDeletionResult.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
automation.Automation.DeviceDeletionResult> getZtpDeleteAllMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, automation.Automation.DeviceDeletionResult> getZtpDeleteAllMethod;
if ((getZtpDeleteAllMethod = AutomationServiceGrpc.getZtpDeleteAllMethod) == null) {
synchronized (AutomationServiceGrpc.class) {
if ((getZtpDeleteAllMethod = AutomationServiceGrpc.getZtpDeleteAllMethod) == null) {
AutomationServiceGrpc.getZtpDeleteAllMethod = getZtpDeleteAllMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, automation.Automation.DeviceDeletionResult>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ZtpDeleteAll"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
automation.Automation.DeviceDeletionResult.getDefaultInstance()))
.setSchemaDescriptor(new AutomationServiceMethodDescriptorSupplier("ZtpDeleteAll"))
.build();
}
}
}
return getZtpDeleteAllMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static AutomationServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<AutomationServiceStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<AutomationServiceStub>() {
@java.lang.Override
public AutomationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new AutomationServiceStub(channel, callOptions);
}
};
return AutomationServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static AutomationServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<AutomationServiceBlockingStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<AutomationServiceBlockingStub>() {
@java.lang.Override
public AutomationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new AutomationServiceBlockingStub(channel, callOptions);
}
};
return AutomationServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static AutomationServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<AutomationServiceFutureStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<AutomationServiceFutureStub>() {
@java.lang.Override
public AutomationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new AutomationServiceFutureStub(channel, callOptions);
}
};
return AutomationServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class AutomationServiceImplBase implements io.grpc.BindableService {
/**
*/
public void ztpGetDeviceRole(automation.Automation.DeviceRoleId request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRole> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getZtpGetDeviceRoleMethod(), responseObserver);
}
/**
*/
public void ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getZtpGetDeviceRolesByDeviceIdMethod(), responseObserver);
}
/**
*/
public void ztpAdd(automation.Automation.DeviceRole request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getZtpAddMethod(), responseObserver);
}
/**
*/
public void ztpUpdate(automation.Automation.DeviceRoleConfig request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getZtpUpdateMethod(), responseObserver);
}
/**
*/
public void ztpDelete(automation.Automation.DeviceRole request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getZtpDeleteMethod(), responseObserver);
}
/**
*/
public void ztpDeleteAll(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceDeletionResult> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getZtpDeleteAllMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getZtpGetDeviceRoleMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRoleId,
automation.Automation.DeviceRole>(
this, METHODID_ZTP_GET_DEVICE_ROLE)))
.addMethod(
getZtpGetDeviceRolesByDeviceIdMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
automation.Automation.DeviceRoleList>(
this, METHODID_ZTP_GET_DEVICE_ROLES_BY_DEVICE_ID)))
.addMethod(
getZtpAddMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState>(
this, METHODID_ZTP_ADD)))
.addMethod(
getZtpUpdateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRoleConfig,
automation.Automation.DeviceRoleState>(
this, METHODID_ZTP_UPDATE)))
.addMethod(
getZtpDeleteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState>(
this, METHODID_ZTP_DELETE)))
.addMethod(
getZtpDeleteAllMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
automation.Automation.DeviceDeletionResult>(
this, METHODID_ZTP_DELETE_ALL)))
.build();
}
}
/**
*/
public static final class AutomationServiceStub extends io.grpc.stub.AbstractAsyncStub<AutomationServiceStub> {
private AutomationServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected AutomationServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new AutomationServiceStub(channel, callOptions);
}
/**
*/
public void ztpGetDeviceRole(automation.Automation.DeviceRoleId request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRole> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getZtpGetDeviceRoleMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getZtpGetDeviceRolesByDeviceIdMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void ztpAdd(automation.Automation.DeviceRole request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getZtpAddMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void ztpUpdate(automation.Automation.DeviceRoleConfig request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getZtpUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void ztpDelete(automation.Automation.DeviceRole request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getZtpDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void ztpDeleteAll(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<automation.Automation.DeviceDeletionResult> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getZtpDeleteAllMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class AutomationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<AutomationServiceBlockingStub> {
private AutomationServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected AutomationServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new AutomationServiceBlockingStub(channel, callOptions);
}
/**
*/
public automation.Automation.DeviceRole ztpGetDeviceRole(automation.Automation.DeviceRoleId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getZtpGetDeviceRoleMethod(), getCallOptions(), request);
}
/**
*/
public automation.Automation.DeviceRoleList ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getZtpGetDeviceRolesByDeviceIdMethod(), getCallOptions(), request);
}
/**
*/
public automation.Automation.DeviceRoleState ztpAdd(automation.Automation.DeviceRole request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getZtpAddMethod(), getCallOptions(), request);
}
/**
*/
public automation.Automation.DeviceRoleState ztpUpdate(automation.Automation.DeviceRoleConfig request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getZtpUpdateMethod(), getCallOptions(), request);
}
/**
*/
public automation.Automation.DeviceRoleState ztpDelete(automation.Automation.DeviceRole request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getZtpDeleteMethod(), getCallOptions(), request);
}
/**
*/
public automation.Automation.DeviceDeletionResult ztpDeleteAll(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getZtpDeleteAllMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class AutomationServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AutomationServiceFutureStub> {
private AutomationServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected AutomationServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new AutomationServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<automation.Automation.DeviceRole> ztpGetDeviceRole(
automation.Automation.DeviceRoleId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getZtpGetDeviceRoleMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<automation.Automation.DeviceRoleList> ztpGetDeviceRolesByDeviceId(
context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getZtpGetDeviceRolesByDeviceIdMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<automation.Automation.DeviceRoleState> ztpAdd(
automation.Automation.DeviceRole request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getZtpAddMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<automation.Automation.DeviceRoleState> ztpUpdate(
automation.Automation.DeviceRoleConfig request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getZtpUpdateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<automation.Automation.DeviceRoleState> ztpDelete(
automation.Automation.DeviceRole request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getZtpDeleteMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<automation.Automation.DeviceDeletionResult> ztpDeleteAll(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getZtpDeleteAllMethod(), getCallOptions()), request);
}
}
private static final int METHODID_ZTP_GET_DEVICE_ROLE = 0;
private static final int METHODID_ZTP_GET_DEVICE_ROLES_BY_DEVICE_ID = 1;
private static final int METHODID_ZTP_ADD = 2;
private static final int METHODID_ZTP_UPDATE = 3;
private static final int METHODID_ZTP_DELETE = 4;
private static final int METHODID_ZTP_DELETE_ALL = 5;
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 AutomationServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(AutomationServiceImplBase 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_ZTP_GET_DEVICE_ROLE:
serviceImpl.ztpGetDeviceRole((automation.Automation.DeviceRoleId) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRole>) responseObserver);
break;
case METHODID_ZTP_GET_DEVICE_ROLES_BY_DEVICE_ID:
serviceImpl.ztpGetDeviceRolesByDeviceId((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleList>) responseObserver);
break;
case METHODID_ZTP_ADD:
serviceImpl.ztpAdd((automation.Automation.DeviceRole) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState>) responseObserver);
break;
case METHODID_ZTP_UPDATE:
serviceImpl.ztpUpdate((automation.Automation.DeviceRoleConfig) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState>) responseObserver);
break;
case METHODID_ZTP_DELETE:
serviceImpl.ztpDelete((automation.Automation.DeviceRole) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState>) responseObserver);
break;
case METHODID_ZTP_DELETE_ALL:
serviceImpl.ztpDeleteAll((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceDeletionResult>) 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 AutomationServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
AutomationServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return automation.Automation.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("AutomationService");
}
}
private static final class AutomationServiceFileDescriptorSupplier
extends AutomationServiceBaseDescriptorSupplier {
AutomationServiceFileDescriptorSupplier() {}
}
private static final class AutomationServiceMethodDescriptorSupplier
extends AutomationServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
AutomationServiceMethodDescriptorSupplier(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 (AutomationServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new AutomationServiceFileDescriptorSupplier())
.addMethod(getZtpGetDeviceRoleMethod())
.addMethod(getZtpGetDeviceRolesByDeviceIdMethod())
.addMethod(getZtpAddMethod())
.addMethod(getZtpUpdateMethod())
.addMethod(getZtpDeleteMethod())
.addMethod(getZtpDeleteAllMethod())
.build();
}
}
}
return result;
}
}
package automation;
import static automation.AutomationServiceGrpc.getServiceDescriptor;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: automation.proto")
public final class MutinyAutomationServiceGrpc implements io.quarkus.grpc.runtime.MutinyGrpc {
private MutinyAutomationServiceGrpc() {}
public static MutinyAutomationServiceStub newMutinyStub(io.grpc.Channel channel) {
return new MutinyAutomationServiceStub(channel);
}
public static final class MutinyAutomationServiceStub extends io.grpc.stub.AbstractStub<MutinyAutomationServiceStub> implements io.quarkus.grpc.runtime.MutinyStub {
private AutomationServiceGrpc.AutomationServiceStub delegateStub;
private MutinyAutomationServiceStub(io.grpc.Channel channel) {
super(channel);
delegateStub = AutomationServiceGrpc.newStub(channel);
}
private MutinyAutomationServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
delegateStub = AutomationServiceGrpc.newStub(channel).build(channel, callOptions);
}
@Override
protected MutinyAutomationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new MutinyAutomationServiceStub(channel, callOptions);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRole> ztpGetDeviceRole(automation.Automation.DeviceRoleId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::ztpGetDeviceRole);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleList> ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::ztpGetDeviceRolesByDeviceId);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpAdd(automation.Automation.DeviceRole request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::ztpAdd);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpUpdate(automation.Automation.DeviceRoleConfig request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::ztpUpdate);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpDelete(automation.Automation.DeviceRole request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::ztpDelete);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceDeletionResult> ztpDeleteAll(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::ztpDeleteAll);
}
}
public static abstract class AutomationServiceImplBase implements io.grpc.BindableService {
private String compression;
/**
* Set whether the server will try to use a compressed response.
*
* @param compression the compression, e.g {@code gzip}
*/
public AutomationServiceImplBase withCompression(String compression) {
this.compression = compression;
return this;
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRole> ztpGetDeviceRole(automation.Automation.DeviceRoleId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleList> ztpGetDeviceRolesByDeviceId(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpAdd(automation.Automation.DeviceRole request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpUpdate(automation.Automation.DeviceRoleConfig request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceRoleState> ztpDelete(automation.Automation.DeviceRole request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<automation.Automation.DeviceDeletionResult> ztpDeleteAll(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
automation.AutomationServiceGrpc.getZtpGetDeviceRoleMethod(),
asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRoleId,
automation.Automation.DeviceRole>(
this, METHODID_ZTP_GET_DEVICE_ROLE, compression)))
.addMethod(
automation.AutomationServiceGrpc.getZtpGetDeviceRolesByDeviceIdMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
automation.Automation.DeviceRoleList>(
this, METHODID_ZTP_GET_DEVICE_ROLES_BY_DEVICE_ID, compression)))
.addMethod(
automation.AutomationServiceGrpc.getZtpAddMethod(),
asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState>(
this, METHODID_ZTP_ADD, compression)))
.addMethod(
automation.AutomationServiceGrpc.getZtpUpdateMethod(),
asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRoleConfig,
automation.Automation.DeviceRoleState>(
this, METHODID_ZTP_UPDATE, compression)))
.addMethod(
automation.AutomationServiceGrpc.getZtpDeleteMethod(),
asyncUnaryCall(
new MethodHandlers<
automation.Automation.DeviceRole,
automation.Automation.DeviceRoleState>(
this, METHODID_ZTP_DELETE, compression)))
.addMethod(
automation.AutomationServiceGrpc.getZtpDeleteAllMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
automation.Automation.DeviceDeletionResult>(
this, METHODID_ZTP_DELETE_ALL, compression)))
.build();
}
}
private static final int METHODID_ZTP_GET_DEVICE_ROLE = 0;
private static final int METHODID_ZTP_GET_DEVICE_ROLES_BY_DEVICE_ID = 1;
private static final int METHODID_ZTP_ADD = 2;
private static final int METHODID_ZTP_UPDATE = 3;
private static final int METHODID_ZTP_DELETE = 4;
private static final int METHODID_ZTP_DELETE_ALL = 5;
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 AutomationServiceImplBase serviceImpl;
private final int methodId;
private final String compression;
MethodHandlers(AutomationServiceImplBase serviceImpl, int methodId, String compression) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
this.compression = compression;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
case METHODID_ZTP_GET_DEVICE_ROLE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((automation.Automation.DeviceRoleId) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRole>) responseObserver,
compression,
serviceImpl::ztpGetDeviceRole);
break;
case METHODID_ZTP_GET_DEVICE_ROLES_BY_DEVICE_ID:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleList>) responseObserver,
compression,
serviceImpl::ztpGetDeviceRolesByDeviceId);
break;
case METHODID_ZTP_ADD:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((automation.Automation.DeviceRole) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState>) responseObserver,
compression,
serviceImpl::ztpAdd);
break;
case METHODID_ZTP_UPDATE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((automation.Automation.DeviceRoleConfig) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState>) responseObserver,
compression,
serviceImpl::ztpUpdate);
break;
case METHODID_ZTP_DELETE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((automation.Automation.DeviceRole) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceRoleState>) responseObserver,
compression,
serviceImpl::ztpDelete);
break;
case METHODID_ZTP_DELETE_ALL:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<automation.Automation.DeviceDeletionResult>) responseObserver,
compression,
serviceImpl::ztpDeleteAll);
break;
default:
throw new java.lang.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 java.lang.AssertionError();
}
}
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
package context;
import io.quarkus.grpc.runtime.MutinyService;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: context.proto")
public interface ContextService extends MutinyService {
io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextIdList> listContextIds(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextList> listContexts(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Context> getContext(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextId> setContext(context.ContextOuterClass.Context request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeContext(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyIdList> listTopologyIds(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyList> listTopologies(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Topology> getTopology(context.ContextOuterClass.TopologyId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyDetails> getTopologyDetails(context.ContextOuterClass.TopologyId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyId> setTopology(context.ContextOuterClass.Topology request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeTopology(context.ContextOuterClass.TopologyId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceIdList> listDeviceIds(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> listDevices(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Device> getDevice(context.ContextOuterClass.DeviceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> setDevice(context.ContextOuterClass.Device request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeDevice(context.ContextOuterClass.DeviceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> selectDevice(context.ContextOuterClass.DeviceFilter request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.EndPointNameList> listEndPointNames(context.ContextOuterClass.EndPointIdList request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkIdList> listLinkIds(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkList> listLinks(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Link> getLink(context.ContextOuterClass.LinkId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkId> setLink(context.ContextOuterClass.Link request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeLink(context.ContextOuterClass.LinkId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceIdList> listServiceIds(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> listServices(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Service> getService(context.ContextOuterClass.ServiceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> setService(context.ContextOuterClass.Service request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> unsetService(context.ContextOuterClass.Service request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeService(context.ContextOuterClass.ServiceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> selectService(context.ContextOuterClass.ServiceFilter request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceIdList> listSliceIds(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> listSlices(context.ContextOuterClass.ContextId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Slice> getSlice(context.ContextOuterClass.SliceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> setSlice(context.ContextOuterClass.Slice request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> unsetSlice(context.ContextOuterClass.Slice request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeSlice(context.ContextOuterClass.SliceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> selectSlice(context.ContextOuterClass.SliceFilter request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionIdList> listConnectionIds(context.ContextOuterClass.ServiceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionList> listConnections(context.ContextOuterClass.ServiceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Connection> getConnection(context.ContextOuterClass.ConnectionId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionId> setConnection(context.ContextOuterClass.Connection request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeConnection(context.ContextOuterClass.ConnectionId request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.ContextEvent> getContextEvents(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.TopologyEvent> getTopologyEvents(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.DeviceEvent> getDeviceEvents(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.LinkEvent> getLinkEvents(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.ServiceEvent> getServiceEvents(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.SliceEvent> getSliceEvents(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Multi<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(context.ContextOuterClass.Empty request);
}
\ No newline at end of file
package context;
import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: context.proto")
public class ContextServiceBean extends MutinyContextServiceGrpc.ContextServiceImplBase implements BindableService, MutinyBean {
private final ContextService delegate;
ContextServiceBean(@GrpcService ContextService delegate) {
this.delegate = delegate;
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextIdList> listContextIds(context.ContextOuterClass.Empty request) {
try {
return delegate.listContextIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextList> listContexts(context.ContextOuterClass.Empty request) {
try {
return delegate.listContexts(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Context> getContext(context.ContextOuterClass.ContextId request) {
try {
return delegate.getContext(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextId> setContext(context.ContextOuterClass.Context request) {
try {
return delegate.setContext(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeContext(context.ContextOuterClass.ContextId request) {
try {
return delegate.removeContext(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyIdList> listTopologyIds(context.ContextOuterClass.ContextId request) {
try {
return delegate.listTopologyIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyList> listTopologies(context.ContextOuterClass.ContextId request) {
try {
return delegate.listTopologies(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Topology> getTopology(context.ContextOuterClass.TopologyId request) {
try {
return delegate.getTopology(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyDetails> getTopologyDetails(context.ContextOuterClass.TopologyId request) {
try {
return delegate.getTopologyDetails(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyId> setTopology(context.ContextOuterClass.Topology request) {
try {
return delegate.setTopology(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeTopology(context.ContextOuterClass.TopologyId request) {
try {
return delegate.removeTopology(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceIdList> listDeviceIds(context.ContextOuterClass.Empty request) {
try {
return delegate.listDeviceIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> listDevices(context.ContextOuterClass.Empty request) {
try {
return delegate.listDevices(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Device> getDevice(context.ContextOuterClass.DeviceId request) {
try {
return delegate.getDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> setDevice(context.ContextOuterClass.Device request) {
try {
return delegate.setDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeDevice(context.ContextOuterClass.DeviceId request) {
try {
return delegate.removeDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> selectDevice(context.ContextOuterClass.DeviceFilter request) {
try {
return delegate.selectDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.EndPointNameList> listEndPointNames(context.ContextOuterClass.EndPointIdList request) {
try {
return delegate.listEndPointNames(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkIdList> listLinkIds(context.ContextOuterClass.Empty request) {
try {
return delegate.listLinkIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkList> listLinks(context.ContextOuterClass.Empty request) {
try {
return delegate.listLinks(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Link> getLink(context.ContextOuterClass.LinkId request) {
try {
return delegate.getLink(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkId> setLink(context.ContextOuterClass.Link request) {
try {
return delegate.setLink(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeLink(context.ContextOuterClass.LinkId request) {
try {
return delegate.removeLink(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceIdList> listServiceIds(context.ContextOuterClass.ContextId request) {
try {
return delegate.listServiceIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> listServices(context.ContextOuterClass.ContextId request) {
try {
return delegate.listServices(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Service> getService(context.ContextOuterClass.ServiceId request) {
try {
return delegate.getService(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> setService(context.ContextOuterClass.Service request) {
try {
return delegate.setService(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> unsetService(context.ContextOuterClass.Service request) {
try {
return delegate.unsetService(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeService(context.ContextOuterClass.ServiceId request) {
try {
return delegate.removeService(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> selectService(context.ContextOuterClass.ServiceFilter request) {
try {
return delegate.selectService(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceIdList> listSliceIds(context.ContextOuterClass.ContextId request) {
try {
return delegate.listSliceIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> listSlices(context.ContextOuterClass.ContextId request) {
try {
return delegate.listSlices(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Slice> getSlice(context.ContextOuterClass.SliceId request) {
try {
return delegate.getSlice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> setSlice(context.ContextOuterClass.Slice request) {
try {
return delegate.setSlice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> unsetSlice(context.ContextOuterClass.Slice request) {
try {
return delegate.unsetSlice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeSlice(context.ContextOuterClass.SliceId request) {
try {
return delegate.removeSlice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> selectSlice(context.ContextOuterClass.SliceFilter request) {
try {
return delegate.selectSlice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionIdList> listConnectionIds(context.ContextOuterClass.ServiceId request) {
try {
return delegate.listConnectionIds(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionList> listConnections(context.ContextOuterClass.ServiceId request) {
try {
return delegate.listConnections(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Connection> getConnection(context.ContextOuterClass.ConnectionId request) {
try {
return delegate.getConnection(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionId> setConnection(context.ContextOuterClass.Connection request) {
try {
return delegate.setConnection(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeConnection(context.ContextOuterClass.ConnectionId request) {
try {
return delegate.removeConnection(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ContextEvent> getContextEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getContextEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.TopologyEvent> getTopologyEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getTopologyEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.DeviceEvent> getDeviceEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getDeviceEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.LinkEvent> getLinkEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getLinkEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ServiceEvent> getServiceEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getServiceEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.SliceEvent> getSliceEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getSliceEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(context.ContextOuterClass.Empty request) {
try {
return delegate.getConnectionEvents(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
}
\ No newline at end of file
package context;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.38.1)",
comments = "Source: context.proto")
public final class ContextServiceGrpc {
private ContextServiceGrpc() {}
public static final String SERVICE_NAME = "context.ContextService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList> getListContextIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListContextIds",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ContextIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList> getListContextIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextIdList> getListContextIdsMethod;
if ((getListContextIdsMethod = ContextServiceGrpc.getListContextIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListContextIdsMethod = ContextServiceGrpc.getListContextIdsMethod) == null) {
ContextServiceGrpc.getListContextIdsMethod = getListContextIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContextIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListContextIds"))
.build();
}
}
}
return getListContextIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList> getListContextsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListContexts",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ContextList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList> getListContextsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextList> getListContextsMethod;
if ((getListContextsMethod = ContextServiceGrpc.getListContextsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListContextsMethod = ContextServiceGrpc.getListContextsMethod) == null) {
ContextServiceGrpc.getListContextsMethod = getListContextsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListContexts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListContexts"))
.build();
}
}
}
return getListContextsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context> getGetContextMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetContext",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.Context.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context> getGetContextMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.Context> getGetContextMethod;
if ((getGetContextMethod = ContextServiceGrpc.getGetContextMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetContextMethod = ContextServiceGrpc.getGetContextMethod) == null) {
ContextServiceGrpc.getGetContextMethod = getGetContextMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.Context>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContext"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Context.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetContext"))
.build();
}
}
}
return getGetContextMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId> getSetContextMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetContext",
requestType = context.ContextOuterClass.Context.class,
responseType = context.ContextOuterClass.ContextId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId> getSetContextMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Context, context.ContextOuterClass.ContextId> getSetContextMethod;
if ((getSetContextMethod = ContextServiceGrpc.getSetContextMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetContextMethod = ContextServiceGrpc.getSetContextMethod) == null) {
ContextServiceGrpc.getSetContextMethod = getSetContextMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Context, context.ContextOuterClass.ContextId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetContext"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Context.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetContext"))
.build();
}
}
}
return getSetContextMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty> getRemoveContextMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveContext",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty> getRemoveContextMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.Empty> getRemoveContextMethod;
if ((getRemoveContextMethod = ContextServiceGrpc.getRemoveContextMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveContextMethod = ContextServiceGrpc.getRemoveContextMethod) == null) {
ContextServiceGrpc.getRemoveContextMethod = getRemoveContextMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveContext"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveContext"))
.build();
}
}
}
return getRemoveContextMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent> getGetContextEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetContextEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ContextEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent> getGetContextEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextEvent> getGetContextEventsMethod;
if ((getGetContextEventsMethod = ContextServiceGrpc.getGetContextEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetContextEventsMethod = ContextServiceGrpc.getGetContextEventsMethod) == null) {
ContextServiceGrpc.getGetContextEventsMethod = getGetContextEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ContextEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetContextEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetContextEvents"))
.build();
}
}
}
return getGetContextEventsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyIdList> getListTopologyIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListTopologyIds",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.TopologyIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyIdList> getListTopologyIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.TopologyIdList> getListTopologyIdsMethod;
if ((getListTopologyIdsMethod = ContextServiceGrpc.getListTopologyIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListTopologyIdsMethod = ContextServiceGrpc.getListTopologyIdsMethod) == null) {
ContextServiceGrpc.getListTopologyIdsMethod = getListTopologyIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.TopologyIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTopologyIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListTopologyIds"))
.build();
}
}
}
return getListTopologyIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyList> getListTopologiesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListTopologies",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.TopologyList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyList> getListTopologiesMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.TopologyList> getListTopologiesMethod;
if ((getListTopologiesMethod = ContextServiceGrpc.getListTopologiesMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListTopologiesMethod = ContextServiceGrpc.getListTopologiesMethod) == null) {
ContextServiceGrpc.getListTopologiesMethod = getListTopologiesMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.TopologyList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTopologies"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListTopologies"))
.build();
}
}
}
return getListTopologiesMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Topology> getGetTopologyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetTopology",
requestType = context.ContextOuterClass.TopologyId.class,
responseType = context.ContextOuterClass.Topology.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Topology> getGetTopologyMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId, context.ContextOuterClass.Topology> getGetTopologyMethod;
if ((getGetTopologyMethod = ContextServiceGrpc.getGetTopologyMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetTopologyMethod = ContextServiceGrpc.getGetTopologyMethod) == null) {
ContextServiceGrpc.getGetTopologyMethod = getGetTopologyMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.TopologyId, context.ContextOuterClass.Topology>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTopology"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Topology.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetTopology"))
.build();
}
}
}
return getGetTopologyMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId,
context.ContextOuterClass.TopologyDetails> getGetTopologyDetailsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetTopologyDetails",
requestType = context.ContextOuterClass.TopologyId.class,
responseType = context.ContextOuterClass.TopologyDetails.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId,
context.ContextOuterClass.TopologyDetails> getGetTopologyDetailsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyDetails> getGetTopologyDetailsMethod;
if ((getGetTopologyDetailsMethod = ContextServiceGrpc.getGetTopologyDetailsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetTopologyDetailsMethod = ContextServiceGrpc.getGetTopologyDetailsMethod) == null) {
ContextServiceGrpc.getGetTopologyDetailsMethod = getGetTopologyDetailsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyDetails>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTopologyDetails"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyDetails.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetTopologyDetails"))
.build();
}
}
}
return getGetTopologyDetailsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Topology,
context.ContextOuterClass.TopologyId> getSetTopologyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetTopology",
requestType = context.ContextOuterClass.Topology.class,
responseType = context.ContextOuterClass.TopologyId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Topology,
context.ContextOuterClass.TopologyId> getSetTopologyMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Topology, context.ContextOuterClass.TopologyId> getSetTopologyMethod;
if ((getSetTopologyMethod = ContextServiceGrpc.getSetTopologyMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetTopologyMethod = ContextServiceGrpc.getSetTopologyMethod) == null) {
ContextServiceGrpc.getSetTopologyMethod = getSetTopologyMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Topology, context.ContextOuterClass.TopologyId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetTopology"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Topology.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetTopology"))
.build();
}
}
}
return getSetTopologyMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Empty> getRemoveTopologyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveTopology",
requestType = context.ContextOuterClass.TopologyId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Empty> getRemoveTopologyMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.TopologyId, context.ContextOuterClass.Empty> getRemoveTopologyMethod;
if ((getRemoveTopologyMethod = ContextServiceGrpc.getRemoveTopologyMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveTopologyMethod = ContextServiceGrpc.getRemoveTopologyMethod) == null) {
ContextServiceGrpc.getRemoveTopologyMethod = getRemoveTopologyMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.TopologyId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveTopology"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveTopology"))
.build();
}
}
}
return getRemoveTopologyMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.TopologyEvent> getGetTopologyEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetTopologyEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.TopologyEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.TopologyEvent> getGetTopologyEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.TopologyEvent> getGetTopologyEventsMethod;
if ((getGetTopologyEventsMethod = ContextServiceGrpc.getGetTopologyEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetTopologyEventsMethod = ContextServiceGrpc.getGetTopologyEventsMethod) == null) {
ContextServiceGrpc.getGetTopologyEventsMethod = getGetTopologyEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.TopologyEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTopologyEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.TopologyEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetTopologyEvents"))
.build();
}
}
}
return getGetTopologyEventsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceIdList> getListDeviceIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListDeviceIds",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.DeviceIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceIdList> getListDeviceIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.DeviceIdList> getListDeviceIdsMethod;
if ((getListDeviceIdsMethod = ContextServiceGrpc.getListDeviceIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListDeviceIdsMethod = ContextServiceGrpc.getListDeviceIdsMethod) == null) {
ContextServiceGrpc.getListDeviceIdsMethod = getListDeviceIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.DeviceIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeviceIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListDeviceIds"))
.build();
}
}
}
return getListDeviceIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceList> getListDevicesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListDevices",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.DeviceList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceList> getListDevicesMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.DeviceList> getListDevicesMethod;
if ((getListDevicesMethod = ContextServiceGrpc.getListDevicesMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListDevicesMethod = ContextServiceGrpc.getListDevicesMethod) == null) {
ContextServiceGrpc.getListDevicesMethod = getListDevicesMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.DeviceList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDevices"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListDevices"))
.build();
}
}
}
return getListDevicesMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Device> getGetDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetDevice",
requestType = context.ContextOuterClass.DeviceId.class,
responseType = context.ContextOuterClass.Device.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Device> getGetDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId, context.ContextOuterClass.Device> getGetDeviceMethod;
if ((getGetDeviceMethod = ContextServiceGrpc.getGetDeviceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetDeviceMethod = ContextServiceGrpc.getGetDeviceMethod) == null) {
ContextServiceGrpc.getGetDeviceMethod = getGetDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.DeviceId, context.ContextOuterClass.Device>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Device.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetDevice"))
.build();
}
}
}
return getGetDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId> getSetDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetDevice",
requestType = context.ContextOuterClass.Device.class,
responseType = context.ContextOuterClass.DeviceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId> getSetDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Device, context.ContextOuterClass.DeviceId> getSetDeviceMethod;
if ((getSetDeviceMethod = ContextServiceGrpc.getSetDeviceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetDeviceMethod = ContextServiceGrpc.getSetDeviceMethod) == null) {
ContextServiceGrpc.getSetDeviceMethod = getSetDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Device, context.ContextOuterClass.DeviceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Device.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetDevice"))
.build();
}
}
}
return getSetDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty> getRemoveDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveDevice",
requestType = context.ContextOuterClass.DeviceId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty> getRemoveDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId, context.ContextOuterClass.Empty> getRemoveDeviceMethod;
if ((getRemoveDeviceMethod = ContextServiceGrpc.getRemoveDeviceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveDeviceMethod = ContextServiceGrpc.getRemoveDeviceMethod) == null) {
ContextServiceGrpc.getRemoveDeviceMethod = getRemoveDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.DeviceId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveDevice"))
.build();
}
}
}
return getRemoveDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceEvent> getGetDeviceEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetDeviceEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.DeviceEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceEvent> getGetDeviceEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.DeviceEvent> getGetDeviceEventsMethod;
if ((getGetDeviceEventsMethod = ContextServiceGrpc.getGetDeviceEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetDeviceEventsMethod = ContextServiceGrpc.getGetDeviceEventsMethod) == null) {
ContextServiceGrpc.getGetDeviceEventsMethod = getGetDeviceEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.DeviceEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeviceEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetDeviceEvents"))
.build();
}
}
}
return getGetDeviceEventsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceFilter,
context.ContextOuterClass.DeviceList> getSelectDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SelectDevice",
requestType = context.ContextOuterClass.DeviceFilter.class,
responseType = context.ContextOuterClass.DeviceList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceFilter,
context.ContextOuterClass.DeviceList> getSelectDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceFilter, context.ContextOuterClass.DeviceList> getSelectDeviceMethod;
if ((getSelectDeviceMethod = ContextServiceGrpc.getSelectDeviceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSelectDeviceMethod = ContextServiceGrpc.getSelectDeviceMethod) == null) {
ContextServiceGrpc.getSelectDeviceMethod = getSelectDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.DeviceFilter, context.ContextOuterClass.DeviceList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceFilter.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SelectDevice"))
.build();
}
}
}
return getSelectDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.EndPointIdList,
context.ContextOuterClass.EndPointNameList> getListEndPointNamesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListEndPointNames",
requestType = context.ContextOuterClass.EndPointIdList.class,
responseType = context.ContextOuterClass.EndPointNameList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.EndPointIdList,
context.ContextOuterClass.EndPointNameList> getListEndPointNamesMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.EndPointIdList, context.ContextOuterClass.EndPointNameList> getListEndPointNamesMethod;
if ((getListEndPointNamesMethod = ContextServiceGrpc.getListEndPointNamesMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListEndPointNamesMethod = ContextServiceGrpc.getListEndPointNamesMethod) == null) {
ContextServiceGrpc.getListEndPointNamesMethod = getListEndPointNamesMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.EndPointIdList, context.ContextOuterClass.EndPointNameList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEndPointNames"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.EndPointIdList.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.EndPointNameList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListEndPointNames"))
.build();
}
}
}
return getListEndPointNamesMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkIdList> getListLinkIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListLinkIds",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.LinkIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkIdList> getListLinkIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.LinkIdList> getListLinkIdsMethod;
if ((getListLinkIdsMethod = ContextServiceGrpc.getListLinkIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListLinkIdsMethod = ContextServiceGrpc.getListLinkIdsMethod) == null) {
ContextServiceGrpc.getListLinkIdsMethod = getListLinkIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.LinkIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLinkIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.LinkIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListLinkIds"))
.build();
}
}
}
return getListLinkIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkList> getListLinksMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListLinks",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.LinkList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkList> getListLinksMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.LinkList> getListLinksMethod;
if ((getListLinksMethod = ContextServiceGrpc.getListLinksMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListLinksMethod = ContextServiceGrpc.getListLinksMethod) == null) {
ContextServiceGrpc.getListLinksMethod = getListLinksMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.LinkList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLinks"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.LinkList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListLinks"))
.build();
}
}
}
return getListLinksMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.LinkId,
context.ContextOuterClass.Link> getGetLinkMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetLink",
requestType = context.ContextOuterClass.LinkId.class,
responseType = context.ContextOuterClass.Link.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.LinkId,
context.ContextOuterClass.Link> getGetLinkMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.LinkId, context.ContextOuterClass.Link> getGetLinkMethod;
if ((getGetLinkMethod = ContextServiceGrpc.getGetLinkMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetLinkMethod = ContextServiceGrpc.getGetLinkMethod) == null) {
ContextServiceGrpc.getGetLinkMethod = getGetLinkMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.LinkId, context.ContextOuterClass.Link>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLink"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.LinkId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Link.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetLink"))
.build();
}
}
}
return getGetLinkMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Link,
context.ContextOuterClass.LinkId> getSetLinkMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetLink",
requestType = context.ContextOuterClass.Link.class,
responseType = context.ContextOuterClass.LinkId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Link,
context.ContextOuterClass.LinkId> getSetLinkMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Link, context.ContextOuterClass.LinkId> getSetLinkMethod;
if ((getSetLinkMethod = ContextServiceGrpc.getSetLinkMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetLinkMethod = ContextServiceGrpc.getSetLinkMethod) == null) {
ContextServiceGrpc.getSetLinkMethod = getSetLinkMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Link, context.ContextOuterClass.LinkId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLink"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Link.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.LinkId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetLink"))
.build();
}
}
}
return getSetLinkMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.LinkId,
context.ContextOuterClass.Empty> getRemoveLinkMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveLink",
requestType = context.ContextOuterClass.LinkId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.LinkId,
context.ContextOuterClass.Empty> getRemoveLinkMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.LinkId, context.ContextOuterClass.Empty> getRemoveLinkMethod;
if ((getRemoveLinkMethod = ContextServiceGrpc.getRemoveLinkMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveLinkMethod = ContextServiceGrpc.getRemoveLinkMethod) == null) {
ContextServiceGrpc.getRemoveLinkMethod = getRemoveLinkMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.LinkId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveLink"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.LinkId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveLink"))
.build();
}
}
}
return getRemoveLinkMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkEvent> getGetLinkEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetLinkEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.LinkEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkEvent> getGetLinkEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.LinkEvent> getGetLinkEventsMethod;
if ((getGetLinkEventsMethod = ContextServiceGrpc.getGetLinkEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetLinkEventsMethod = ContextServiceGrpc.getGetLinkEventsMethod) == null) {
ContextServiceGrpc.getGetLinkEventsMethod = getGetLinkEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.LinkEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLinkEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.LinkEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetLinkEvents"))
.build();
}
}
}
return getGetLinkEventsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceIdList> getListServiceIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListServiceIds",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.ServiceIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceIdList> getListServiceIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.ServiceIdList> getListServiceIdsMethod;
if ((getListServiceIdsMethod = ContextServiceGrpc.getListServiceIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListServiceIdsMethod = ContextServiceGrpc.getListServiceIdsMethod) == null) {
ContextServiceGrpc.getListServiceIdsMethod = getListServiceIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.ServiceIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServiceIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListServiceIds"))
.build();
}
}
}
return getListServiceIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceList> getListServicesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListServices",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.ServiceList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceList> getListServicesMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.ServiceList> getListServicesMethod;
if ((getListServicesMethod = ContextServiceGrpc.getListServicesMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListServicesMethod = ContextServiceGrpc.getListServicesMethod) == null) {
ContextServiceGrpc.getListServicesMethod = getListServicesMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.ServiceList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServices"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListServices"))
.build();
}
}
}
return getListServicesMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Service> getGetServiceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetService",
requestType = context.ContextOuterClass.ServiceId.class,
responseType = context.ContextOuterClass.Service.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Service> getGetServiceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId, context.ContextOuterClass.Service> getGetServiceMethod;
if ((getGetServiceMethod = ContextServiceGrpc.getGetServiceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetServiceMethod = ContextServiceGrpc.getGetServiceMethod) == null) {
ContextServiceGrpc.getGetServiceMethod = getGetServiceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ServiceId, context.ContextOuterClass.Service>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetService"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Service.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetService"))
.build();
}
}
}
return getGetServiceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId> getSetServiceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetService",
requestType = context.ContextOuterClass.Service.class,
responseType = context.ContextOuterClass.ServiceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId> getSetServiceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Service, context.ContextOuterClass.ServiceId> getSetServiceMethod;
if ((getSetServiceMethod = ContextServiceGrpc.getSetServiceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetServiceMethod = ContextServiceGrpc.getSetServiceMethod) == null) {
ContextServiceGrpc.getSetServiceMethod = getSetServiceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Service, context.ContextOuterClass.ServiceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetService"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Service.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetService"))
.build();
}
}
}
return getSetServiceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId> getUnsetServiceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnsetService",
requestType = context.ContextOuterClass.Service.class,
responseType = context.ContextOuterClass.ServiceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId> getUnsetServiceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Service, context.ContextOuterClass.ServiceId> getUnsetServiceMethod;
if ((getUnsetServiceMethod = ContextServiceGrpc.getUnsetServiceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getUnsetServiceMethod = ContextServiceGrpc.getUnsetServiceMethod) == null) {
ContextServiceGrpc.getUnsetServiceMethod = getUnsetServiceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Service, context.ContextOuterClass.ServiceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnsetService"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Service.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("UnsetService"))
.build();
}
}
}
return getUnsetServiceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Empty> getRemoveServiceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveService",
requestType = context.ContextOuterClass.ServiceId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Empty> getRemoveServiceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId, context.ContextOuterClass.Empty> getRemoveServiceMethod;
if ((getRemoveServiceMethod = ContextServiceGrpc.getRemoveServiceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveServiceMethod = ContextServiceGrpc.getRemoveServiceMethod) == null) {
ContextServiceGrpc.getRemoveServiceMethod = getRemoveServiceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ServiceId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveService"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveService"))
.build();
}
}
}
return getRemoveServiceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ServiceEvent> getGetServiceEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetServiceEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ServiceEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ServiceEvent> getGetServiceEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ServiceEvent> getGetServiceEventsMethod;
if ((getGetServiceEventsMethod = ContextServiceGrpc.getGetServiceEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetServiceEventsMethod = ContextServiceGrpc.getGetServiceEventsMethod) == null) {
ContextServiceGrpc.getGetServiceEventsMethod = getGetServiceEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ServiceEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetServiceEvents"))
.build();
}
}
}
return getGetServiceEventsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceFilter,
context.ContextOuterClass.ServiceList> getSelectServiceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SelectService",
requestType = context.ContextOuterClass.ServiceFilter.class,
responseType = context.ContextOuterClass.ServiceList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceFilter,
context.ContextOuterClass.ServiceList> getSelectServiceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceFilter, context.ContextOuterClass.ServiceList> getSelectServiceMethod;
if ((getSelectServiceMethod = ContextServiceGrpc.getSelectServiceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSelectServiceMethod = ContextServiceGrpc.getSelectServiceMethod) == null) {
ContextServiceGrpc.getSelectServiceMethod = getSelectServiceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ServiceFilter, context.ContextOuterClass.ServiceList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectService"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceFilter.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SelectService"))
.build();
}
}
}
return getSelectServiceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceIdList> getListSliceIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListSliceIds",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.SliceIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceIdList> getListSliceIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.SliceIdList> getListSliceIdsMethod;
if ((getListSliceIdsMethod = ContextServiceGrpc.getListSliceIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListSliceIdsMethod = ContextServiceGrpc.getListSliceIdsMethod) == null) {
ContextServiceGrpc.getListSliceIdsMethod = getListSliceIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.SliceIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSliceIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListSliceIds"))
.build();
}
}
}
return getListSliceIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceList> getListSlicesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListSlices",
requestType = context.ContextOuterClass.ContextId.class,
responseType = context.ContextOuterClass.SliceList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceList> getListSlicesMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ContextId, context.ContextOuterClass.SliceList> getListSlicesMethod;
if ((getListSlicesMethod = ContextServiceGrpc.getListSlicesMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListSlicesMethod = ContextServiceGrpc.getListSlicesMethod) == null) {
ContextServiceGrpc.getListSlicesMethod = getListSlicesMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ContextId, context.ContextOuterClass.SliceList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSlices"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ContextId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListSlices"))
.build();
}
}
}
return getListSlicesMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.SliceId,
context.ContextOuterClass.Slice> getGetSliceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetSlice",
requestType = context.ContextOuterClass.SliceId.class,
responseType = context.ContextOuterClass.Slice.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.SliceId,
context.ContextOuterClass.Slice> getGetSliceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.SliceId, context.ContextOuterClass.Slice> getGetSliceMethod;
if ((getGetSliceMethod = ContextServiceGrpc.getGetSliceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetSliceMethod = ContextServiceGrpc.getGetSliceMethod) == null) {
ContextServiceGrpc.getGetSliceMethod = getGetSliceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.SliceId, context.ContextOuterClass.Slice>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSlice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Slice.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetSlice"))
.build();
}
}
}
return getGetSliceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId> getSetSliceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetSlice",
requestType = context.ContextOuterClass.Slice.class,
responseType = context.ContextOuterClass.SliceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId> getSetSliceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Slice, context.ContextOuterClass.SliceId> getSetSliceMethod;
if ((getSetSliceMethod = ContextServiceGrpc.getSetSliceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetSliceMethod = ContextServiceGrpc.getSetSliceMethod) == null) {
ContextServiceGrpc.getSetSliceMethod = getSetSliceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Slice, context.ContextOuterClass.SliceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetSlice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Slice.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetSlice"))
.build();
}
}
}
return getSetSliceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId> getUnsetSliceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnsetSlice",
requestType = context.ContextOuterClass.Slice.class,
responseType = context.ContextOuterClass.SliceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId> getUnsetSliceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Slice, context.ContextOuterClass.SliceId> getUnsetSliceMethod;
if ((getUnsetSliceMethod = ContextServiceGrpc.getUnsetSliceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getUnsetSliceMethod = ContextServiceGrpc.getUnsetSliceMethod) == null) {
ContextServiceGrpc.getUnsetSliceMethod = getUnsetSliceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Slice, context.ContextOuterClass.SliceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnsetSlice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Slice.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("UnsetSlice"))
.build();
}
}
}
return getUnsetSliceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.SliceId,
context.ContextOuterClass.Empty> getRemoveSliceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveSlice",
requestType = context.ContextOuterClass.SliceId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.SliceId,
context.ContextOuterClass.Empty> getRemoveSliceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.SliceId, context.ContextOuterClass.Empty> getRemoveSliceMethod;
if ((getRemoveSliceMethod = ContextServiceGrpc.getRemoveSliceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveSliceMethod = ContextServiceGrpc.getRemoveSliceMethod) == null) {
ContextServiceGrpc.getRemoveSliceMethod = getRemoveSliceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.SliceId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveSlice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveSlice"))
.build();
}
}
}
return getRemoveSliceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.SliceEvent> getGetSliceEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetSliceEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.SliceEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.SliceEvent> getGetSliceEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.SliceEvent> getGetSliceEventsMethod;
if ((getGetSliceEventsMethod = ContextServiceGrpc.getGetSliceEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetSliceEventsMethod = ContextServiceGrpc.getGetSliceEventsMethod) == null) {
ContextServiceGrpc.getGetSliceEventsMethod = getGetSliceEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.SliceEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSliceEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetSliceEvents"))
.build();
}
}
}
return getGetSliceEventsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.SliceFilter,
context.ContextOuterClass.SliceList> getSelectSliceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SelectSlice",
requestType = context.ContextOuterClass.SliceFilter.class,
responseType = context.ContextOuterClass.SliceList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.SliceFilter,
context.ContextOuterClass.SliceList> getSelectSliceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.SliceFilter, context.ContextOuterClass.SliceList> getSelectSliceMethod;
if ((getSelectSliceMethod = ContextServiceGrpc.getSelectSliceMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSelectSliceMethod = ContextServiceGrpc.getSelectSliceMethod) == null) {
ContextServiceGrpc.getSelectSliceMethod = getSelectSliceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.SliceFilter, context.ContextOuterClass.SliceList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectSlice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceFilter.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.SliceList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SelectSlice"))
.build();
}
}
}
return getSelectSliceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionIdList> getListConnectionIdsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConnectionIds",
requestType = context.ContextOuterClass.ServiceId.class,
responseType = context.ContextOuterClass.ConnectionIdList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionIdList> getListConnectionIdsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId, context.ContextOuterClass.ConnectionIdList> getListConnectionIdsMethod;
if ((getListConnectionIdsMethod = ContextServiceGrpc.getListConnectionIdsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListConnectionIdsMethod = ContextServiceGrpc.getListConnectionIdsMethod) == null) {
ContextServiceGrpc.getListConnectionIdsMethod = getListConnectionIdsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ServiceId, context.ContextOuterClass.ConnectionIdList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectionIds"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ConnectionIdList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListConnectionIds"))
.build();
}
}
}
return getListConnectionIdsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionList> getListConnectionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConnections",
requestType = context.ContextOuterClass.ServiceId.class,
responseType = context.ContextOuterClass.ConnectionList.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionList> getListConnectionsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ServiceId, context.ContextOuterClass.ConnectionList> getListConnectionsMethod;
if ((getListConnectionsMethod = ContextServiceGrpc.getListConnectionsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getListConnectionsMethod = ContextServiceGrpc.getListConnectionsMethod) == null) {
ContextServiceGrpc.getListConnectionsMethod = getListConnectionsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ServiceId, context.ContextOuterClass.ConnectionList>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnections"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ServiceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ConnectionList.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("ListConnections"))
.build();
}
}
}
return getListConnectionsMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Connection> getGetConnectionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConnection",
requestType = context.ContextOuterClass.ConnectionId.class,
responseType = context.ContextOuterClass.Connection.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Connection> getGetConnectionMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ConnectionId, context.ContextOuterClass.Connection> getGetConnectionMethod;
if ((getGetConnectionMethod = ContextServiceGrpc.getGetConnectionMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetConnectionMethod = ContextServiceGrpc.getGetConnectionMethod) == null) {
ContextServiceGrpc.getGetConnectionMethod = getGetConnectionMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ConnectionId, context.ContextOuterClass.Connection>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnection"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ConnectionId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Connection.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetConnection"))
.build();
}
}
}
return getGetConnectionMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Connection,
context.ContextOuterClass.ConnectionId> getSetConnectionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetConnection",
requestType = context.ContextOuterClass.Connection.class,
responseType = context.ContextOuterClass.ConnectionId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Connection,
context.ContextOuterClass.ConnectionId> getSetConnectionMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Connection, context.ContextOuterClass.ConnectionId> getSetConnectionMethod;
if ((getSetConnectionMethod = ContextServiceGrpc.getSetConnectionMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getSetConnectionMethod = ContextServiceGrpc.getSetConnectionMethod) == null) {
ContextServiceGrpc.getSetConnectionMethod = getSetConnectionMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Connection, context.ContextOuterClass.ConnectionId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetConnection"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Connection.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ConnectionId.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("SetConnection"))
.build();
}
}
}
return getSetConnectionMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Empty> getRemoveConnectionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveConnection",
requestType = context.ContextOuterClass.ConnectionId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Empty> getRemoveConnectionMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.ConnectionId, context.ContextOuterClass.Empty> getRemoveConnectionMethod;
if ((getRemoveConnectionMethod = ContextServiceGrpc.getRemoveConnectionMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getRemoveConnectionMethod = ContextServiceGrpc.getRemoveConnectionMethod) == null) {
ContextServiceGrpc.getRemoveConnectionMethod = getRemoveConnectionMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.ConnectionId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveConnection"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ConnectionId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("RemoveConnection"))
.build();
}
}
}
return getRemoveConnectionMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ConnectionEvent> getGetConnectionEventsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConnectionEvents",
requestType = context.ContextOuterClass.Empty.class,
responseType = context.ContextOuterClass.ConnectionEvent.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Empty,
context.ContextOuterClass.ConnectionEvent> getGetConnectionEventsMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Empty, context.ContextOuterClass.ConnectionEvent> getGetConnectionEventsMethod;
if ((getGetConnectionEventsMethod = ContextServiceGrpc.getGetConnectionEventsMethod) == null) {
synchronized (ContextServiceGrpc.class) {
if ((getGetConnectionEventsMethod = ContextServiceGrpc.getGetConnectionEventsMethod) == null) {
ContextServiceGrpc.getGetConnectionEventsMethod = getGetConnectionEventsMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Empty, context.ContextOuterClass.ConnectionEvent>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionEvents"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.ConnectionEvent.getDefaultInstance()))
.setSchemaDescriptor(new ContextServiceMethodDescriptorSupplier("GetConnectionEvents"))
.build();
}
}
}
return getGetConnectionEventsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static ContextServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<ContextServiceStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<ContextServiceStub>() {
@java.lang.Override
public ContextServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ContextServiceStub(channel, callOptions);
}
};
return ContextServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static ContextServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<ContextServiceBlockingStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<ContextServiceBlockingStub>() {
@java.lang.Override
public ContextServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ContextServiceBlockingStub(channel, callOptions);
}
};
return ContextServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static ContextServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<ContextServiceFutureStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<ContextServiceFutureStub>() {
@java.lang.Override
public ContextServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ContextServiceFutureStub(channel, callOptions);
}
};
return ContextServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class ContextServiceImplBase implements io.grpc.BindableService {
/**
*/
public void listContextIds(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListContextIdsMethod(), responseObserver);
}
/**
*/
public void listContexts(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListContextsMethod(), responseObserver);
}
/**
*/
public void getContext(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Context> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetContextMethod(), responseObserver);
}
/**
*/
public void setContext(context.ContextOuterClass.Context request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetContextMethod(), responseObserver);
}
/**
*/
public void removeContext(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveContextMethod(), responseObserver);
}
/**
*/
public void getContextEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetContextEventsMethod(), responseObserver);
}
/**
*/
public void listTopologyIds(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTopologyIdsMethod(), responseObserver);
}
/**
*/
public void listTopologies(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTopologiesMethod(), responseObserver);
}
/**
*/
public void getTopology(context.ContextOuterClass.TopologyId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Topology> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTopologyMethod(), responseObserver);
}
/**
*/
public void getTopologyDetails(context.ContextOuterClass.TopologyId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyDetails> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTopologyDetailsMethod(), responseObserver);
}
/**
*/
public void setTopology(context.ContextOuterClass.Topology request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetTopologyMethod(), responseObserver);
}
/**
*/
public void removeTopology(context.ContextOuterClass.TopologyId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveTopologyMethod(), responseObserver);
}
/**
*/
public void getTopologyEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTopologyEventsMethod(), responseObserver);
}
/**
*/
public void listDeviceIds(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeviceIdsMethod(), responseObserver);
}
/**
*/
public void listDevices(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDevicesMethod(), responseObserver);
}
/**
*/
public void getDevice(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Device> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeviceMethod(), responseObserver);
}
/**
*/
public void setDevice(context.ContextOuterClass.Device request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetDeviceMethod(), responseObserver);
}
/**
*/
public void removeDevice(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDeviceMethod(), responseObserver);
}
/**
*/
public void getDeviceEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeviceEventsMethod(), responseObserver);
}
/**
*/
public void selectDevice(context.ContextOuterClass.DeviceFilter request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectDeviceMethod(), responseObserver);
}
/**
*/
public void listEndPointNames(context.ContextOuterClass.EndPointIdList request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.EndPointNameList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEndPointNamesMethod(), responseObserver);
}
/**
*/
public void listLinkIds(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLinkIdsMethod(), responseObserver);
}
/**
*/
public void listLinks(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLinksMethod(), responseObserver);
}
/**
*/
public void getLink(context.ContextOuterClass.LinkId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Link> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLinkMethod(), responseObserver);
}
/**
*/
public void setLink(context.ContextOuterClass.Link request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLinkMethod(), responseObserver);
}
/**
*/
public void removeLink(context.ContextOuterClass.LinkId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveLinkMethod(), responseObserver);
}
/**
*/
public void getLinkEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLinkEventsMethod(), responseObserver);
}
/**
*/
public void listServiceIds(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServiceIdsMethod(), responseObserver);
}
/**
*/
public void listServices(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServicesMethod(), responseObserver);
}
/**
*/
public void getService(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Service> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver);
}
/**
*/
public void setService(context.ContextOuterClass.Service request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetServiceMethod(), responseObserver);
}
/**
*/
public void unsetService(context.ContextOuterClass.Service request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnsetServiceMethod(), responseObserver);
}
/**
*/
public void removeService(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveServiceMethod(), responseObserver);
}
/**
*/
public void getServiceEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceEventsMethod(), responseObserver);
}
/**
*/
public void selectService(context.ContextOuterClass.ServiceFilter request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectServiceMethod(), responseObserver);
}
/**
*/
public void listSliceIds(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSliceIdsMethod(), responseObserver);
}
/**
*/
public void listSlices(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSlicesMethod(), responseObserver);
}
/**
*/
public void getSlice(context.ContextOuterClass.SliceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Slice> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSliceMethod(), responseObserver);
}
/**
*/
public void setSlice(context.ContextOuterClass.Slice request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetSliceMethod(), responseObserver);
}
/**
*/
public void unsetSlice(context.ContextOuterClass.Slice request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUnsetSliceMethod(), responseObserver);
}
/**
*/
public void removeSlice(context.ContextOuterClass.SliceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveSliceMethod(), responseObserver);
}
/**
*/
public void getSliceEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSliceEventsMethod(), responseObserver);
}
/**
*/
public void selectSlice(context.ContextOuterClass.SliceFilter request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectSliceMethod(), responseObserver);
}
/**
*/
public void listConnectionIds(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionIdList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectionIdsMethod(), responseObserver);
}
/**
*/
public void listConnections(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionList> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectionsMethod(), responseObserver);
}
/**
*/
public void getConnection(context.ContextOuterClass.ConnectionId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Connection> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionMethod(), responseObserver);
}
/**
*/
public void setConnection(context.ContextOuterClass.Connection request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetConnectionMethod(), responseObserver);
}
/**
*/
public void removeConnection(context.ContextOuterClass.ConnectionId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveConnectionMethod(), responseObserver);
}
/**
*/
public void getConnectionEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionEvent> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionEventsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getListContextIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList>(
this, METHODID_LIST_CONTEXT_IDS)))
.addMethod(
getListContextsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList>(
this, METHODID_LIST_CONTEXTS)))
.addMethod(
getGetContextMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context>(
this, METHODID_GET_CONTEXT)))
.addMethod(
getSetContextMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId>(
this, METHODID_SET_CONTEXT)))
.addMethod(
getRemoveContextMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_CONTEXT)))
.addMethod(
getGetContextEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent>(
this, METHODID_GET_CONTEXT_EVENTS)))
.addMethod(
getListTopologyIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyIdList>(
this, METHODID_LIST_TOPOLOGY_IDS)))
.addMethod(
getListTopologiesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyList>(
this, METHODID_LIST_TOPOLOGIES)))
.addMethod(
getGetTopologyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Topology>(
this, METHODID_GET_TOPOLOGY)))
.addMethod(
getGetTopologyDetailsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.TopologyDetails>(
this, METHODID_GET_TOPOLOGY_DETAILS)))
.addMethod(
getSetTopologyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Topology,
context.ContextOuterClass.TopologyId>(
this, METHODID_SET_TOPOLOGY)))
.addMethod(
getRemoveTopologyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_TOPOLOGY)))
.addMethod(
getGetTopologyEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.TopologyEvent>(
this, METHODID_GET_TOPOLOGY_EVENTS)))
.addMethod(
getListDeviceIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceIdList>(
this, METHODID_LIST_DEVICE_IDS)))
.addMethod(
getListDevicesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceList>(
this, METHODID_LIST_DEVICES)))
.addMethod(
getGetDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Device>(
this, METHODID_GET_DEVICE)))
.addMethod(
getSetDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_SET_DEVICE)))
.addMethod(
getRemoveDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_DEVICE)))
.addMethod(
getGetDeviceEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceEvent>(
this, METHODID_GET_DEVICE_EVENTS)))
.addMethod(
getSelectDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceFilter,
context.ContextOuterClass.DeviceList>(
this, METHODID_SELECT_DEVICE)))
.addMethod(
getListEndPointNamesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.EndPointIdList,
context.ContextOuterClass.EndPointNameList>(
this, METHODID_LIST_END_POINT_NAMES)))
.addMethod(
getListLinkIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkIdList>(
this, METHODID_LIST_LINK_IDS)))
.addMethod(
getListLinksMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkList>(
this, METHODID_LIST_LINKS)))
.addMethod(
getGetLinkMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.LinkId,
context.ContextOuterClass.Link>(
this, METHODID_GET_LINK)))
.addMethod(
getSetLinkMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Link,
context.ContextOuterClass.LinkId>(
this, METHODID_SET_LINK)))
.addMethod(
getRemoveLinkMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.LinkId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_LINK)))
.addMethod(
getGetLinkEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkEvent>(
this, METHODID_GET_LINK_EVENTS)))
.addMethod(
getListServiceIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceIdList>(
this, METHODID_LIST_SERVICE_IDS)))
.addMethod(
getListServicesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceList>(
this, METHODID_LIST_SERVICES)))
.addMethod(
getGetServiceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Service>(
this, METHODID_GET_SERVICE)))
.addMethod(
getSetServiceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId>(
this, METHODID_SET_SERVICE)))
.addMethod(
getUnsetServiceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId>(
this, METHODID_UNSET_SERVICE)))
.addMethod(
getRemoveServiceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_SERVICE)))
.addMethod(
getGetServiceEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ServiceEvent>(
this, METHODID_GET_SERVICE_EVENTS)))
.addMethod(
getSelectServiceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceFilter,
context.ContextOuterClass.ServiceList>(
this, METHODID_SELECT_SERVICE)))
.addMethod(
getListSliceIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceIdList>(
this, METHODID_LIST_SLICE_IDS)))
.addMethod(
getListSlicesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceList>(
this, METHODID_LIST_SLICES)))
.addMethod(
getGetSliceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceId,
context.ContextOuterClass.Slice>(
this, METHODID_GET_SLICE)))
.addMethod(
getSetSliceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId>(
this, METHODID_SET_SLICE)))
.addMethod(
getUnsetSliceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId>(
this, METHODID_UNSET_SLICE)))
.addMethod(
getRemoveSliceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_SLICE)))
.addMethod(
getGetSliceEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.SliceEvent>(
this, METHODID_GET_SLICE_EVENTS)))
.addMethod(
getSelectSliceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceFilter,
context.ContextOuterClass.SliceList>(
this, METHODID_SELECT_SLICE)))
.addMethod(
getListConnectionIdsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionIdList>(
this, METHODID_LIST_CONNECTION_IDS)))
.addMethod(
getListConnectionsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionList>(
this, METHODID_LIST_CONNECTIONS)))
.addMethod(
getGetConnectionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Connection>(
this, METHODID_GET_CONNECTION)))
.addMethod(
getSetConnectionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Connection,
context.ContextOuterClass.ConnectionId>(
this, METHODID_SET_CONNECTION)))
.addMethod(
getRemoveConnectionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_CONNECTION)))
.addMethod(
getGetConnectionEventsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ConnectionEvent>(
this, METHODID_GET_CONNECTION_EVENTS)))
.build();
}
}
/**
*/
public static final class ContextServiceStub extends io.grpc.stub.AbstractAsyncStub<ContextServiceStub> {
private ContextServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ContextServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ContextServiceStub(channel, callOptions);
}
/**
*/
public void listContextIds(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListContextIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listContexts(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListContextsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getContext(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Context> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetContextMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setContext(context.ContextOuterClass.Context request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetContextMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeContext(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveContextMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getContextEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetContextEventsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listTopologyIds(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListTopologyIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listTopologies(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListTopologiesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getTopology(context.ContextOuterClass.TopologyId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Topology> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetTopologyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getTopologyDetails(context.ContextOuterClass.TopologyId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyDetails> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetTopologyDetailsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setTopology(context.ContextOuterClass.Topology request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetTopologyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeTopology(context.ContextOuterClass.TopologyId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveTopologyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getTopologyEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetTopologyEventsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listDeviceIds(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListDeviceIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listDevices(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListDevicesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getDevice(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Device> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setDevice(context.ContextOuterClass.Device request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeDevice(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getDeviceEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetDeviceEventsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void selectDevice(context.ContextOuterClass.DeviceFilter request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSelectDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listEndPointNames(context.ContextOuterClass.EndPointIdList request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.EndPointNameList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListEndPointNamesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listLinkIds(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListLinkIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listLinks(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListLinksMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getLink(context.ContextOuterClass.LinkId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Link> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetLinkMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setLink(context.ContextOuterClass.Link request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetLinkMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeLink(context.ContextOuterClass.LinkId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveLinkMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getLinkEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetLinkEventsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listServiceIds(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListServiceIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listServices(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListServicesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getService(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Service> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setService(context.ContextOuterClass.Service request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetServiceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void unsetService(context.ContextOuterClass.Service request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnsetServiceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeService(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveServiceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getServiceEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetServiceEventsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void selectService(context.ContextOuterClass.ServiceFilter request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSelectServiceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listSliceIds(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListSliceIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listSlices(context.ContextOuterClass.ContextId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListSlicesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getSlice(context.ContextOuterClass.SliceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Slice> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetSliceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setSlice(context.ContextOuterClass.Slice request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetSliceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void unsetSlice(context.ContextOuterClass.Slice request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUnsetSliceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeSlice(context.ContextOuterClass.SliceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveSliceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getSliceEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetSliceEventsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void selectSlice(context.ContextOuterClass.SliceFilter request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSelectSliceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listConnectionIds(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionIdList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListConnectionIdsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listConnections(context.ContextOuterClass.ServiceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionList> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getConnection(context.ContextOuterClass.ConnectionId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Connection> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setConnection(context.ContextOuterClass.Connection request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetConnectionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeConnection(context.ContextOuterClass.ConnectionId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveConnectionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getConnectionEvents(context.ContextOuterClass.Empty request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionEvent> responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetConnectionEventsMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class ContextServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ContextServiceBlockingStub> {
private ContextServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ContextServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ContextServiceBlockingStub(channel, callOptions);
}
/**
*/
public context.ContextOuterClass.ContextIdList listContextIds(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListContextIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ContextList listContexts(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListContextsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Context getContext(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetContextMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ContextId setContext(context.ContextOuterClass.Context request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetContextMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeContext(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveContextMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.ContextEvent> getContextEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetContextEventsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.TopologyIdList listTopologyIds(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListTopologyIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.TopologyList listTopologies(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListTopologiesMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Topology getTopology(context.ContextOuterClass.TopologyId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetTopologyMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.TopologyDetails getTopologyDetails(context.ContextOuterClass.TopologyId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetTopologyDetailsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.TopologyId setTopology(context.ContextOuterClass.Topology request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetTopologyMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeTopology(context.ContextOuterClass.TopologyId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveTopologyMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.TopologyEvent> getTopologyEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetTopologyEventsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.DeviceIdList listDeviceIds(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListDeviceIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.DeviceList listDevices(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListDevicesMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Device getDevice(context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetDeviceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.DeviceId setDevice(context.ContextOuterClass.Device request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetDeviceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeDevice(context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveDeviceMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.DeviceEvent> getDeviceEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetDeviceEventsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.DeviceList selectDevice(context.ContextOuterClass.DeviceFilter request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSelectDeviceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.EndPointNameList listEndPointNames(context.ContextOuterClass.EndPointIdList request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListEndPointNamesMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.LinkIdList listLinkIds(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListLinkIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.LinkList listLinks(context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListLinksMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Link getLink(context.ContextOuterClass.LinkId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetLinkMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.LinkId setLink(context.ContextOuterClass.Link request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetLinkMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeLink(context.ContextOuterClass.LinkId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveLinkMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.LinkEvent> getLinkEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetLinkEventsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ServiceIdList listServiceIds(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListServiceIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ServiceList listServices(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListServicesMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Service getService(context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetServiceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ServiceId setService(context.ContextOuterClass.Service request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetServiceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ServiceId unsetService(context.ContextOuterClass.Service request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnsetServiceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeService(context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveServiceMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.ServiceEvent> getServiceEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetServiceEventsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ServiceList selectService(context.ContextOuterClass.ServiceFilter request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSelectServiceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.SliceIdList listSliceIds(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListSliceIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.SliceList listSlices(context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListSlicesMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Slice getSlice(context.ContextOuterClass.SliceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetSliceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.SliceId setSlice(context.ContextOuterClass.Slice request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetSliceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.SliceId unsetSlice(context.ContextOuterClass.Slice request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUnsetSliceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeSlice(context.ContextOuterClass.SliceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveSliceMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.SliceEvent> getSliceEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetSliceEventsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.SliceList selectSlice(context.ContextOuterClass.SliceFilter request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSelectSliceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ConnectionIdList listConnectionIds(context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListConnectionIdsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ConnectionList listConnections(context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListConnectionsMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Connection getConnection(context.ContextOuterClass.ConnectionId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetConnectionMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.ConnectionId setConnection(context.ContextOuterClass.Connection request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetConnectionMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty removeConnection(context.ContextOuterClass.ConnectionId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveConnectionMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetConnectionEventsMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class ContextServiceFutureStub extends io.grpc.stub.AbstractFutureStub<ContextServiceFutureStub> {
private ContextServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ContextServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ContextServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ContextIdList> listContextIds(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListContextIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ContextList> listContexts(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListContextsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Context> getContext(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetContextMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ContextId> setContext(
context.ContextOuterClass.Context request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetContextMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeContext(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveContextMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.TopologyIdList> listTopologyIds(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListTopologyIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.TopologyList> listTopologies(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListTopologiesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Topology> getTopology(
context.ContextOuterClass.TopologyId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetTopologyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.TopologyDetails> getTopologyDetails(
context.ContextOuterClass.TopologyId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetTopologyDetailsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.TopologyId> setTopology(
context.ContextOuterClass.Topology request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetTopologyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeTopology(
context.ContextOuterClass.TopologyId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveTopologyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceIdList> listDeviceIds(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListDeviceIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceList> listDevices(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListDevicesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Device> getDevice(
context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceId> setDevice(
context.ContextOuterClass.Device request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeDevice(
context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceList> selectDevice(
context.ContextOuterClass.DeviceFilter request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSelectDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.EndPointNameList> listEndPointNames(
context.ContextOuterClass.EndPointIdList request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListEndPointNamesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.LinkIdList> listLinkIds(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListLinkIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.LinkList> listLinks(
context.ContextOuterClass.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListLinksMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Link> getLink(
context.ContextOuterClass.LinkId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetLinkMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.LinkId> setLink(
context.ContextOuterClass.Link request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetLinkMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeLink(
context.ContextOuterClass.LinkId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveLinkMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ServiceIdList> listServiceIds(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListServiceIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ServiceList> listServices(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListServicesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Service> getService(
context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetServiceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ServiceId> setService(
context.ContextOuterClass.Service request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetServiceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ServiceId> unsetService(
context.ContextOuterClass.Service request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnsetServiceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeService(
context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveServiceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ServiceList> selectService(
context.ContextOuterClass.ServiceFilter request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSelectServiceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.SliceIdList> listSliceIds(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListSliceIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.SliceList> listSlices(
context.ContextOuterClass.ContextId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListSlicesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Slice> getSlice(
context.ContextOuterClass.SliceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetSliceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.SliceId> setSlice(
context.ContextOuterClass.Slice request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetSliceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.SliceId> unsetSlice(
context.ContextOuterClass.Slice request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUnsetSliceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeSlice(
context.ContextOuterClass.SliceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveSliceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.SliceList> selectSlice(
context.ContextOuterClass.SliceFilter request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSelectSliceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ConnectionIdList> listConnectionIds(
context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListConnectionIdsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ConnectionList> listConnections(
context.ContextOuterClass.ServiceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Connection> getConnection(
context.ContextOuterClass.ConnectionId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.ConnectionId> setConnection(
context.ContextOuterClass.Connection request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetConnectionMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> removeConnection(
context.ContextOuterClass.ConnectionId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveConnectionMethod(), getCallOptions()), request);
}
}
private static final int METHODID_LIST_CONTEXT_IDS = 0;
private static final int METHODID_LIST_CONTEXTS = 1;
private static final int METHODID_GET_CONTEXT = 2;
private static final int METHODID_SET_CONTEXT = 3;
private static final int METHODID_REMOVE_CONTEXT = 4;
private static final int METHODID_GET_CONTEXT_EVENTS = 5;
private static final int METHODID_LIST_TOPOLOGY_IDS = 6;
private static final int METHODID_LIST_TOPOLOGIES = 7;
private static final int METHODID_GET_TOPOLOGY = 8;
private static final int METHODID_GET_TOPOLOGY_DETAILS = 9;
private static final int METHODID_SET_TOPOLOGY = 10;
private static final int METHODID_REMOVE_TOPOLOGY = 11;
private static final int METHODID_GET_TOPOLOGY_EVENTS = 12;
private static final int METHODID_LIST_DEVICE_IDS = 13;
private static final int METHODID_LIST_DEVICES = 14;
private static final int METHODID_GET_DEVICE = 15;
private static final int METHODID_SET_DEVICE = 16;
private static final int METHODID_REMOVE_DEVICE = 17;
private static final int METHODID_GET_DEVICE_EVENTS = 18;
private static final int METHODID_SELECT_DEVICE = 19;
private static final int METHODID_LIST_END_POINT_NAMES = 20;
private static final int METHODID_LIST_LINK_IDS = 21;
private static final int METHODID_LIST_LINKS = 22;
private static final int METHODID_GET_LINK = 23;
private static final int METHODID_SET_LINK = 24;
private static final int METHODID_REMOVE_LINK = 25;
private static final int METHODID_GET_LINK_EVENTS = 26;
private static final int METHODID_LIST_SERVICE_IDS = 27;
private static final int METHODID_LIST_SERVICES = 28;
private static final int METHODID_GET_SERVICE = 29;
private static final int METHODID_SET_SERVICE = 30;
private static final int METHODID_UNSET_SERVICE = 31;
private static final int METHODID_REMOVE_SERVICE = 32;
private static final int METHODID_GET_SERVICE_EVENTS = 33;
private static final int METHODID_SELECT_SERVICE = 34;
private static final int METHODID_LIST_SLICE_IDS = 35;
private static final int METHODID_LIST_SLICES = 36;
private static final int METHODID_GET_SLICE = 37;
private static final int METHODID_SET_SLICE = 38;
private static final int METHODID_UNSET_SLICE = 39;
private static final int METHODID_REMOVE_SLICE = 40;
private static final int METHODID_GET_SLICE_EVENTS = 41;
private static final int METHODID_SELECT_SLICE = 42;
private static final int METHODID_LIST_CONNECTION_IDS = 43;
private static final int METHODID_LIST_CONNECTIONS = 44;
private static final int METHODID_GET_CONNECTION = 45;
private static final int METHODID_SET_CONNECTION = 46;
private static final int METHODID_REMOVE_CONNECTION = 47;
private static final int METHODID_GET_CONNECTION_EVENTS = 48;
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 ContextServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(ContextServiceImplBase 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_LIST_CONTEXT_IDS:
serviceImpl.listContextIds((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextIdList>) responseObserver);
break;
case METHODID_LIST_CONTEXTS:
serviceImpl.listContexts((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextList>) responseObserver);
break;
case METHODID_GET_CONTEXT:
serviceImpl.getContext((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Context>) responseObserver);
break;
case METHODID_SET_CONTEXT:
serviceImpl.setContext((context.ContextOuterClass.Context) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextId>) responseObserver);
break;
case METHODID_REMOVE_CONTEXT:
serviceImpl.removeContext((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_CONTEXT_EVENTS:
serviceImpl.getContextEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextEvent>) responseObserver);
break;
case METHODID_LIST_TOPOLOGY_IDS:
serviceImpl.listTopologyIds((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyIdList>) responseObserver);
break;
case METHODID_LIST_TOPOLOGIES:
serviceImpl.listTopologies((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyList>) responseObserver);
break;
case METHODID_GET_TOPOLOGY:
serviceImpl.getTopology((context.ContextOuterClass.TopologyId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Topology>) responseObserver);
break;
case METHODID_GET_TOPOLOGY_DETAILS:
serviceImpl.getTopologyDetails((context.ContextOuterClass.TopologyId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyDetails>) responseObserver);
break;
case METHODID_SET_TOPOLOGY:
serviceImpl.setTopology((context.ContextOuterClass.Topology) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyId>) responseObserver);
break;
case METHODID_REMOVE_TOPOLOGY:
serviceImpl.removeTopology((context.ContextOuterClass.TopologyId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_TOPOLOGY_EVENTS:
serviceImpl.getTopologyEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyEvent>) responseObserver);
break;
case METHODID_LIST_DEVICE_IDS:
serviceImpl.listDeviceIds((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceIdList>) responseObserver);
break;
case METHODID_LIST_DEVICES:
serviceImpl.listDevices((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList>) responseObserver);
break;
case METHODID_GET_DEVICE:
serviceImpl.getDevice((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Device>) responseObserver);
break;
case METHODID_SET_DEVICE:
serviceImpl.setDevice((context.ContextOuterClass.Device) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId>) responseObserver);
break;
case METHODID_REMOVE_DEVICE:
serviceImpl.removeDevice((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_DEVICE_EVENTS:
serviceImpl.getDeviceEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceEvent>) responseObserver);
break;
case METHODID_SELECT_DEVICE:
serviceImpl.selectDevice((context.ContextOuterClass.DeviceFilter) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList>) responseObserver);
break;
case METHODID_LIST_END_POINT_NAMES:
serviceImpl.listEndPointNames((context.ContextOuterClass.EndPointIdList) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.EndPointNameList>) responseObserver);
break;
case METHODID_LIST_LINK_IDS:
serviceImpl.listLinkIds((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkIdList>) responseObserver);
break;
case METHODID_LIST_LINKS:
serviceImpl.listLinks((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkList>) responseObserver);
break;
case METHODID_GET_LINK:
serviceImpl.getLink((context.ContextOuterClass.LinkId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Link>) responseObserver);
break;
case METHODID_SET_LINK:
serviceImpl.setLink((context.ContextOuterClass.Link) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkId>) responseObserver);
break;
case METHODID_REMOVE_LINK:
serviceImpl.removeLink((context.ContextOuterClass.LinkId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_LINK_EVENTS:
serviceImpl.getLinkEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkEvent>) responseObserver);
break;
case METHODID_LIST_SERVICE_IDS:
serviceImpl.listServiceIds((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceIdList>) responseObserver);
break;
case METHODID_LIST_SERVICES:
serviceImpl.listServices((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList>) responseObserver);
break;
case METHODID_GET_SERVICE:
serviceImpl.getService((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Service>) responseObserver);
break;
case METHODID_SET_SERVICE:
serviceImpl.setService((context.ContextOuterClass.Service) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId>) responseObserver);
break;
case METHODID_UNSET_SERVICE:
serviceImpl.unsetService((context.ContextOuterClass.Service) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId>) responseObserver);
break;
case METHODID_REMOVE_SERVICE:
serviceImpl.removeService((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_SERVICE_EVENTS:
serviceImpl.getServiceEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceEvent>) responseObserver);
break;
case METHODID_SELECT_SERVICE:
serviceImpl.selectService((context.ContextOuterClass.ServiceFilter) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList>) responseObserver);
break;
case METHODID_LIST_SLICE_IDS:
serviceImpl.listSliceIds((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceIdList>) responseObserver);
break;
case METHODID_LIST_SLICES:
serviceImpl.listSlices((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList>) responseObserver);
break;
case METHODID_GET_SLICE:
serviceImpl.getSlice((context.ContextOuterClass.SliceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Slice>) responseObserver);
break;
case METHODID_SET_SLICE:
serviceImpl.setSlice((context.ContextOuterClass.Slice) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId>) responseObserver);
break;
case METHODID_UNSET_SLICE:
serviceImpl.unsetSlice((context.ContextOuterClass.Slice) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId>) responseObserver);
break;
case METHODID_REMOVE_SLICE:
serviceImpl.removeSlice((context.ContextOuterClass.SliceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_SLICE_EVENTS:
serviceImpl.getSliceEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceEvent>) responseObserver);
break;
case METHODID_SELECT_SLICE:
serviceImpl.selectSlice((context.ContextOuterClass.SliceFilter) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList>) responseObserver);
break;
case METHODID_LIST_CONNECTION_IDS:
serviceImpl.listConnectionIds((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionIdList>) responseObserver);
break;
case METHODID_LIST_CONNECTIONS:
serviceImpl.listConnections((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionList>) responseObserver);
break;
case METHODID_GET_CONNECTION:
serviceImpl.getConnection((context.ContextOuterClass.ConnectionId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Connection>) responseObserver);
break;
case METHODID_SET_CONNECTION:
serviceImpl.setConnection((context.ContextOuterClass.Connection) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionId>) responseObserver);
break;
case METHODID_REMOVE_CONNECTION:
serviceImpl.removeConnection((context.ContextOuterClass.ConnectionId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_CONNECTION_EVENTS:
serviceImpl.getConnectionEvents((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionEvent>) 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 ContextServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
ContextServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return context.ContextOuterClass.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("ContextService");
}
}
private static final class ContextServiceFileDescriptorSupplier
extends ContextServiceBaseDescriptorSupplier {
ContextServiceFileDescriptorSupplier() {}
}
private static final class ContextServiceMethodDescriptorSupplier
extends ContextServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
ContextServiceMethodDescriptorSupplier(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 (ContextServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new ContextServiceFileDescriptorSupplier())
.addMethod(getListContextIdsMethod())
.addMethod(getListContextsMethod())
.addMethod(getGetContextMethod())
.addMethod(getSetContextMethod())
.addMethod(getRemoveContextMethod())
.addMethod(getGetContextEventsMethod())
.addMethod(getListTopologyIdsMethod())
.addMethod(getListTopologiesMethod())
.addMethod(getGetTopologyMethod())
.addMethod(getGetTopologyDetailsMethod())
.addMethod(getSetTopologyMethod())
.addMethod(getRemoveTopologyMethod())
.addMethod(getGetTopologyEventsMethod())
.addMethod(getListDeviceIdsMethod())
.addMethod(getListDevicesMethod())
.addMethod(getGetDeviceMethod())
.addMethod(getSetDeviceMethod())
.addMethod(getRemoveDeviceMethod())
.addMethod(getGetDeviceEventsMethod())
.addMethod(getSelectDeviceMethod())
.addMethod(getListEndPointNamesMethod())
.addMethod(getListLinkIdsMethod())
.addMethod(getListLinksMethod())
.addMethod(getGetLinkMethod())
.addMethod(getSetLinkMethod())
.addMethod(getRemoveLinkMethod())
.addMethod(getGetLinkEventsMethod())
.addMethod(getListServiceIdsMethod())
.addMethod(getListServicesMethod())
.addMethod(getGetServiceMethod())
.addMethod(getSetServiceMethod())
.addMethod(getUnsetServiceMethod())
.addMethod(getRemoveServiceMethod())
.addMethod(getGetServiceEventsMethod())
.addMethod(getSelectServiceMethod())
.addMethod(getListSliceIdsMethod())
.addMethod(getListSlicesMethod())
.addMethod(getGetSliceMethod())
.addMethod(getSetSliceMethod())
.addMethod(getUnsetSliceMethod())
.addMethod(getRemoveSliceMethod())
.addMethod(getGetSliceEventsMethod())
.addMethod(getSelectSliceMethod())
.addMethod(getListConnectionIdsMethod())
.addMethod(getListConnectionsMethod())
.addMethod(getGetConnectionMethod())
.addMethod(getSetConnectionMethod())
.addMethod(getRemoveConnectionMethod())
.addMethod(getGetConnectionEventsMethod())
.build();
}
}
}
return result;
}
}
package context;
import static context.ContextServiceGrpc.getServiceDescriptor;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: context.proto")
public final class MutinyContextServiceGrpc implements io.quarkus.grpc.runtime.MutinyGrpc {
private MutinyContextServiceGrpc() {}
public static MutinyContextServiceStub newMutinyStub(io.grpc.Channel channel) {
return new MutinyContextServiceStub(channel);
}
public static final class MutinyContextServiceStub extends io.grpc.stub.AbstractStub<MutinyContextServiceStub> implements io.quarkus.grpc.runtime.MutinyStub {
private ContextServiceGrpc.ContextServiceStub delegateStub;
private MutinyContextServiceStub(io.grpc.Channel channel) {
super(channel);
delegateStub = ContextServiceGrpc.newStub(channel);
}
private MutinyContextServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
delegateStub = ContextServiceGrpc.newStub(channel).build(channel, callOptions);
}
@Override
protected MutinyContextServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new MutinyContextServiceStub(channel, callOptions);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextIdList> listContextIds(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listContextIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextList> listContexts(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listContexts);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Context> getContext(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getContext);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextId> setContext(context.ContextOuterClass.Context request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setContext);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeContext(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeContext);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyIdList> listTopologyIds(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listTopologyIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyList> listTopologies(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listTopologies);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Topology> getTopology(context.ContextOuterClass.TopologyId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getTopology);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyDetails> getTopologyDetails(context.ContextOuterClass.TopologyId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getTopologyDetails);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyId> setTopology(context.ContextOuterClass.Topology request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setTopology);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeTopology(context.ContextOuterClass.TopologyId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeTopology);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceIdList> listDeviceIds(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listDeviceIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> listDevices(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listDevices);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Device> getDevice(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> setDevice(context.ContextOuterClass.Device request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeDevice(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> selectDevice(context.ContextOuterClass.DeviceFilter request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::selectDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.EndPointNameList> listEndPointNames(context.ContextOuterClass.EndPointIdList request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listEndPointNames);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkIdList> listLinkIds(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listLinkIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkList> listLinks(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listLinks);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Link> getLink(context.ContextOuterClass.LinkId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getLink);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkId> setLink(context.ContextOuterClass.Link request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setLink);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeLink(context.ContextOuterClass.LinkId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeLink);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceIdList> listServiceIds(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listServiceIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> listServices(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listServices);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Service> getService(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> setService(context.ContextOuterClass.Service request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> unsetService(context.ContextOuterClass.Service request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::unsetService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeService(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> selectService(context.ContextOuterClass.ServiceFilter request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::selectService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceIdList> listSliceIds(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listSliceIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> listSlices(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listSlices);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Slice> getSlice(context.ContextOuterClass.SliceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> setSlice(context.ContextOuterClass.Slice request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> unsetSlice(context.ContextOuterClass.Slice request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::unsetSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeSlice(context.ContextOuterClass.SliceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> selectSlice(context.ContextOuterClass.SliceFilter request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::selectSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionIdList> listConnectionIds(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listConnectionIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionList> listConnections(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listConnections);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Connection> getConnection(context.ContextOuterClass.ConnectionId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getConnection);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionId> setConnection(context.ContextOuterClass.Connection request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setConnection);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeConnection(context.ContextOuterClass.ConnectionId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeConnection);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ContextEvent> getContextEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getContextEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.TopologyEvent> getTopologyEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getTopologyEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.DeviceEvent> getDeviceEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getDeviceEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.LinkEvent> getLinkEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getLinkEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ServiceEvent> getServiceEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getServiceEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.SliceEvent> getSliceEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getSliceEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getConnectionEvents);
}
}
public static abstract class ContextServiceImplBase implements io.grpc.BindableService {
private String compression;
/**
* Set whether the server will try to use a compressed response.
*
* @param compression the compression, e.g {@code gzip}
*/
public ContextServiceImplBase withCompression(String compression) {
this.compression = compression;
return this;
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextIdList> listContextIds(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextList> listContexts(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Context> getContext(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextId> setContext(context.ContextOuterClass.Context request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeContext(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyIdList> listTopologyIds(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyList> listTopologies(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Topology> getTopology(context.ContextOuterClass.TopologyId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyDetails> getTopologyDetails(context.ContextOuterClass.TopologyId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyId> setTopology(context.ContextOuterClass.Topology request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeTopology(context.ContextOuterClass.TopologyId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceIdList> listDeviceIds(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> listDevices(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Device> getDevice(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> setDevice(context.ContextOuterClass.Device request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeDevice(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> selectDevice(context.ContextOuterClass.DeviceFilter request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.EndPointNameList> listEndPointNames(context.ContextOuterClass.EndPointIdList request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkIdList> listLinkIds(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkList> listLinks(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Link> getLink(context.ContextOuterClass.LinkId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkId> setLink(context.ContextOuterClass.Link request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeLink(context.ContextOuterClass.LinkId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceIdList> listServiceIds(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> listServices(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Service> getService(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> setService(context.ContextOuterClass.Service request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> unsetService(context.ContextOuterClass.Service request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeService(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> selectService(context.ContextOuterClass.ServiceFilter request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceIdList> listSliceIds(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> listSlices(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Slice> getSlice(context.ContextOuterClass.SliceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> setSlice(context.ContextOuterClass.Slice request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> unsetSlice(context.ContextOuterClass.Slice request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeSlice(context.ContextOuterClass.SliceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> selectSlice(context.ContextOuterClass.SliceFilter request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionIdList> listConnectionIds(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionList> listConnections(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Connection> getConnection(context.ContextOuterClass.ConnectionId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionId> setConnection(context.ContextOuterClass.Connection request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeConnection(context.ContextOuterClass.ConnectionId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ContextEvent> getContextEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.TopologyEvent> getTopologyEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.DeviceEvent> getDeviceEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.LinkEvent> getLinkEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ServiceEvent> getServiceEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.SliceEvent> getSliceEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
context.ContextServiceGrpc.getListContextIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList>(
this, METHODID_LIST_CONTEXT_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListContextsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList>(
this, METHODID_LIST_CONTEXTS, compression)))
.addMethod(
context.ContextServiceGrpc.getGetContextMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context>(
this, METHODID_GET_CONTEXT, compression)))
.addMethod(
context.ContextServiceGrpc.getSetContextMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId>(
this, METHODID_SET_CONTEXT, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveContextMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_CONTEXT, compression)))
.addMethod(
context.ContextServiceGrpc.getGetContextEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent>(
this, METHODID_GET_CONTEXT_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getListTopologyIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyIdList>(
this, METHODID_LIST_TOPOLOGY_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListTopologiesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyList>(
this, METHODID_LIST_TOPOLOGIES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetTopologyMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Topology>(
this, METHODID_GET_TOPOLOGY, compression)))
.addMethod(
context.ContextServiceGrpc.getGetTopologyDetailsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.TopologyDetails>(
this, METHODID_GET_TOPOLOGY_DETAILS, compression)))
.addMethod(
context.ContextServiceGrpc.getSetTopologyMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Topology,
context.ContextOuterClass.TopologyId>(
this, METHODID_SET_TOPOLOGY, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveTopologyMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_TOPOLOGY, compression)))
.addMethod(
context.ContextServiceGrpc.getGetTopologyEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.TopologyEvent>(
this, METHODID_GET_TOPOLOGY_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getListDeviceIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceIdList>(
this, METHODID_LIST_DEVICE_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListDevicesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceList>(
this, METHODID_LIST_DEVICES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Device>(
this, METHODID_GET_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getSetDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_SET_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getGetDeviceEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceEvent>(
this, METHODID_GET_DEVICE_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getSelectDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceFilter,
context.ContextOuterClass.DeviceList>(
this, METHODID_SELECT_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getListEndPointNamesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.EndPointIdList,
context.ContextOuterClass.EndPointNameList>(
this, METHODID_LIST_END_POINT_NAMES, compression)))
.addMethod(
context.ContextServiceGrpc.getListLinkIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkIdList>(
this, METHODID_LIST_LINK_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListLinksMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkList>(
this, METHODID_LIST_LINKS, compression)))
.addMethod(
context.ContextServiceGrpc.getGetLinkMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.LinkId,
context.ContextOuterClass.Link>(
this, METHODID_GET_LINK, compression)))
.addMethod(
context.ContextServiceGrpc.getSetLinkMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Link,
context.ContextOuterClass.LinkId>(
this, METHODID_SET_LINK, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveLinkMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.LinkId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_LINK, compression)))
.addMethod(
context.ContextServiceGrpc.getGetLinkEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkEvent>(
this, METHODID_GET_LINK_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getListServiceIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceIdList>(
this, METHODID_LIST_SERVICE_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListServicesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceList>(
this, METHODID_LIST_SERVICES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Service>(
this, METHODID_GET_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getSetServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId>(
this, METHODID_SET_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getUnsetServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId>(
this, METHODID_UNSET_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getGetServiceEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ServiceEvent>(
this, METHODID_GET_SERVICE_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getSelectServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceFilter,
context.ContextOuterClass.ServiceList>(
this, METHODID_SELECT_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getListSliceIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceIdList>(
this, METHODID_LIST_SLICE_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListSlicesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceList>(
this, METHODID_LIST_SLICES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceId,
context.ContextOuterClass.Slice>(
this, METHODID_GET_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getSetSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId>(
this, METHODID_SET_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getUnsetSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId>(
this, METHODID_UNSET_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getGetSliceEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.SliceEvent>(
this, METHODID_GET_SLICE_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getSelectSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceFilter,
context.ContextOuterClass.SliceList>(
this, METHODID_SELECT_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getListConnectionIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionIdList>(
this, METHODID_LIST_CONNECTION_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListConnectionsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionList>(
this, METHODID_LIST_CONNECTIONS, compression)))
.addMethod(
context.ContextServiceGrpc.getGetConnectionMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Connection>(
this, METHODID_GET_CONNECTION, compression)))
.addMethod(
context.ContextServiceGrpc.getSetConnectionMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Connection,
context.ContextOuterClass.ConnectionId>(
this, METHODID_SET_CONNECTION, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveConnectionMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_CONNECTION, compression)))
.addMethod(
context.ContextServiceGrpc.getGetConnectionEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ConnectionEvent>(
this, METHODID_GET_CONNECTION_EVENTS, compression)))
.build();
}
}
private static final int METHODID_LIST_CONTEXT_IDS = 0;
private static final int METHODID_LIST_CONTEXTS = 1;
private static final int METHODID_GET_CONTEXT = 2;
private static final int METHODID_SET_CONTEXT = 3;
private static final int METHODID_REMOVE_CONTEXT = 4;
private static final int METHODID_GET_CONTEXT_EVENTS = 5;
private static final int METHODID_LIST_TOPOLOGY_IDS = 6;
private static final int METHODID_LIST_TOPOLOGIES = 7;
private static final int METHODID_GET_TOPOLOGY = 8;
private static final int METHODID_GET_TOPOLOGY_DETAILS = 9;
private static final int METHODID_SET_TOPOLOGY = 10;
private static final int METHODID_REMOVE_TOPOLOGY = 11;
private static final int METHODID_GET_TOPOLOGY_EVENTS = 12;
private static final int METHODID_LIST_DEVICE_IDS = 13;
private static final int METHODID_LIST_DEVICES = 14;
private static final int METHODID_GET_DEVICE = 15;
private static final int METHODID_SET_DEVICE = 16;
private static final int METHODID_REMOVE_DEVICE = 17;
private static final int METHODID_GET_DEVICE_EVENTS = 18;
private static final int METHODID_SELECT_DEVICE = 19;
private static final int METHODID_LIST_END_POINT_NAMES = 20;
private static final int METHODID_LIST_LINK_IDS = 21;
private static final int METHODID_LIST_LINKS = 22;
private static final int METHODID_GET_LINK = 23;
private static final int METHODID_SET_LINK = 24;
private static final int METHODID_REMOVE_LINK = 25;
private static final int METHODID_GET_LINK_EVENTS = 26;
private static final int METHODID_LIST_SERVICE_IDS = 27;
private static final int METHODID_LIST_SERVICES = 28;
private static final int METHODID_GET_SERVICE = 29;
private static final int METHODID_SET_SERVICE = 30;
private static final int METHODID_UNSET_SERVICE = 31;
private static final int METHODID_REMOVE_SERVICE = 32;
private static final int METHODID_GET_SERVICE_EVENTS = 33;
private static final int METHODID_SELECT_SERVICE = 34;
private static final int METHODID_LIST_SLICE_IDS = 35;
private static final int METHODID_LIST_SLICES = 36;
private static final int METHODID_GET_SLICE = 37;
private static final int METHODID_SET_SLICE = 38;
private static final int METHODID_UNSET_SLICE = 39;
private static final int METHODID_REMOVE_SLICE = 40;
private static final int METHODID_GET_SLICE_EVENTS = 41;
private static final int METHODID_SELECT_SLICE = 42;
private static final int METHODID_LIST_CONNECTION_IDS = 43;
private static final int METHODID_LIST_CONNECTIONS = 44;
private static final int METHODID_GET_CONNECTION = 45;
private static final int METHODID_SET_CONNECTION = 46;
private static final int METHODID_REMOVE_CONNECTION = 47;
private static final int METHODID_GET_CONNECTION_EVENTS = 48;
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 ContextServiceImplBase serviceImpl;
private final int methodId;
private final String compression;
MethodHandlers(ContextServiceImplBase serviceImpl, int methodId, String compression) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
this.compression = compression;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
case METHODID_LIST_CONTEXT_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextIdList>) responseObserver,
compression,
serviceImpl::listContextIds);
break;
case METHODID_LIST_CONTEXTS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextList>) responseObserver,
compression,
serviceImpl::listContexts);
break;
case METHODID_GET_CONTEXT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Context>) responseObserver,
compression,
serviceImpl::getContext);
break;
case METHODID_SET_CONTEXT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Context) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextId>) responseObserver,
compression,
serviceImpl::setContext);
break;
case METHODID_REMOVE_CONTEXT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeContext);
break;
case METHODID_GET_CONTEXT_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextEvent>) responseObserver,
compression,
serviceImpl::getContextEvents);
break;
case METHODID_LIST_TOPOLOGY_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyIdList>) responseObserver,
compression,
serviceImpl::listTopologyIds);
break;
case METHODID_LIST_TOPOLOGIES:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyList>) responseObserver,
compression,
serviceImpl::listTopologies);
break;
case METHODID_GET_TOPOLOGY:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.TopologyId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Topology>) responseObserver,
compression,
serviceImpl::getTopology);
break;
case METHODID_GET_TOPOLOGY_DETAILS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.TopologyId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyDetails>) responseObserver,
compression,
serviceImpl::getTopologyDetails);
break;
case METHODID_SET_TOPOLOGY:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Topology) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyId>) responseObserver,
compression,
serviceImpl::setTopology);
break;
case METHODID_REMOVE_TOPOLOGY:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.TopologyId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeTopology);
break;
case METHODID_GET_TOPOLOGY_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.TopologyEvent>) responseObserver,
compression,
serviceImpl::getTopologyEvents);
break;
case METHODID_LIST_DEVICE_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceIdList>) responseObserver,
compression,
serviceImpl::listDeviceIds);
break;
case METHODID_LIST_DEVICES:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList>) responseObserver,
compression,
serviceImpl::listDevices);
break;
case METHODID_GET_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Device>) responseObserver,
compression,
serviceImpl::getDevice);
break;
case METHODID_SET_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Device) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId>) responseObserver,
compression,
serviceImpl::setDevice);
break;
case METHODID_REMOVE_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeDevice);
break;
case METHODID_GET_DEVICE_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceEvent>) responseObserver,
compression,
serviceImpl::getDeviceEvents);
break;
case METHODID_SELECT_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.DeviceFilter) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceList>) responseObserver,
compression,
serviceImpl::selectDevice);
break;
case METHODID_LIST_END_POINT_NAMES:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.EndPointIdList) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.EndPointNameList>) responseObserver,
compression,
serviceImpl::listEndPointNames);
break;
case METHODID_LIST_LINK_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkIdList>) responseObserver,
compression,
serviceImpl::listLinkIds);
break;
case METHODID_LIST_LINKS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkList>) responseObserver,
compression,
serviceImpl::listLinks);
break;
case METHODID_GET_LINK:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.LinkId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Link>) responseObserver,
compression,
serviceImpl::getLink);
break;
case METHODID_SET_LINK:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Link) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkId>) responseObserver,
compression,
serviceImpl::setLink);
break;
case METHODID_REMOVE_LINK:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.LinkId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeLink);
break;
case METHODID_GET_LINK_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.LinkEvent>) responseObserver,
compression,
serviceImpl::getLinkEvents);
break;
case METHODID_LIST_SERVICE_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceIdList>) responseObserver,
compression,
serviceImpl::listServiceIds);
break;
case METHODID_LIST_SERVICES:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList>) responseObserver,
compression,
serviceImpl::listServices);
break;
case METHODID_GET_SERVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Service>) responseObserver,
compression,
serviceImpl::getService);
break;
case METHODID_SET_SERVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Service) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId>) responseObserver,
compression,
serviceImpl::setService);
break;
case METHODID_UNSET_SERVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Service) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceId>) responseObserver,
compression,
serviceImpl::unsetService);
break;
case METHODID_REMOVE_SERVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeService);
break;
case METHODID_GET_SERVICE_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceEvent>) responseObserver,
compression,
serviceImpl::getServiceEvents);
break;
case METHODID_SELECT_SERVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ServiceFilter) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ServiceList>) responseObserver,
compression,
serviceImpl::selectService);
break;
case METHODID_LIST_SLICE_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceIdList>) responseObserver,
compression,
serviceImpl::listSliceIds);
break;
case METHODID_LIST_SLICES:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList>) responseObserver,
compression,
serviceImpl::listSlices);
break;
case METHODID_GET_SLICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.SliceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Slice>) responseObserver,
compression,
serviceImpl::getSlice);
break;
case METHODID_SET_SLICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Slice) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId>) responseObserver,
compression,
serviceImpl::setSlice);
break;
case METHODID_UNSET_SLICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Slice) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceId>) responseObserver,
compression,
serviceImpl::unsetSlice);
break;
case METHODID_REMOVE_SLICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.SliceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeSlice);
break;
case METHODID_GET_SLICE_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceEvent>) responseObserver,
compression,
serviceImpl::getSliceEvents);
break;
case METHODID_SELECT_SLICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.SliceFilter) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.SliceList>) responseObserver,
compression,
serviceImpl::selectSlice);
break;
case METHODID_LIST_CONNECTION_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionIdList>) responseObserver,
compression,
serviceImpl::listConnectionIds);
break;
case METHODID_LIST_CONNECTIONS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ServiceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionList>) responseObserver,
compression,
serviceImpl::listConnections);
break;
case METHODID_GET_CONNECTION:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ConnectionId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Connection>) responseObserver,
compression,
serviceImpl::getConnection);
break;
case METHODID_SET_CONNECTION:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Connection) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionId>) responseObserver,
compression,
serviceImpl::setConnection);
break;
case METHODID_REMOVE_CONNECTION:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ConnectionId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeConnection);
break;
case METHODID_GET_CONNECTION_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ConnectionEvent>) responseObserver,
compression,
serviceImpl::getConnectionEvents);
break;
default:
throw new java.lang.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 java.lang.AssertionError();
}
}
}
}
\ No newline at end of file
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: device.proto
package device;
public final class Device {
private Device() {}
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 interface MonitoringSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:device.MonitoringSettings)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
* @return Whether the kpiId field is set.
*/
boolean hasKpiId();
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
* @return The kpiId.
*/
monitoring.Monitoring.KpiId getKpiId();
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
monitoring.Monitoring.KpiIdOrBuilder getKpiIdOrBuilder();
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
* @return Whether the kpiDescriptor field is set.
*/
boolean hasKpiDescriptor();
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
* @return The kpiDescriptor.
*/
monitoring.Monitoring.KpiDescriptor getKpiDescriptor();
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
monitoring.Monitoring.KpiDescriptorOrBuilder getKpiDescriptorOrBuilder();
/**
* <code>float sampling_duration_s = 3;</code>
* @return The samplingDurationS.
*/
float getSamplingDurationS();
/**
* <code>float sampling_interval_s = 4;</code>
* @return The samplingIntervalS.
*/
float getSamplingIntervalS();
}
/**
* Protobuf type {@code device.MonitoringSettings}
*/
public static final class MonitoringSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:device.MonitoringSettings)
MonitoringSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use MonitoringSettings.newBuilder() to construct.
private MonitoringSettings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MonitoringSettings() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MonitoringSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MonitoringSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
monitoring.Monitoring.KpiId.Builder subBuilder = null;
if (kpiId_ != null) {
subBuilder = kpiId_.toBuilder();
}
kpiId_ = input.readMessage(monitoring.Monitoring.KpiId.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(kpiId_);
kpiId_ = subBuilder.buildPartial();
}
break;
}
case 18: {
monitoring.Monitoring.KpiDescriptor.Builder subBuilder = null;
if (kpiDescriptor_ != null) {
subBuilder = kpiDescriptor_.toBuilder();
}
kpiDescriptor_ = input.readMessage(monitoring.Monitoring.KpiDescriptor.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(kpiDescriptor_);
kpiDescriptor_ = subBuilder.buildPartial();
}
break;
}
case 29: {
samplingDurationS_ = input.readFloat();
break;
}
case 37: {
samplingIntervalS_ = input.readFloat();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return device.Device.internal_static_device_MonitoringSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return device.Device.internal_static_device_MonitoringSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
device.Device.MonitoringSettings.class, device.Device.MonitoringSettings.Builder.class);
}
public static final int KPI_ID_FIELD_NUMBER = 1;
private monitoring.Monitoring.KpiId kpiId_;
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
* @return Whether the kpiId field is set.
*/
@java.lang.Override
public boolean hasKpiId() {
return kpiId_ != null;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
* @return The kpiId.
*/
@java.lang.Override
public monitoring.Monitoring.KpiId getKpiId() {
return kpiId_ == null ? monitoring.Monitoring.KpiId.getDefaultInstance() : kpiId_;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
@java.lang.Override
public monitoring.Monitoring.KpiIdOrBuilder getKpiIdOrBuilder() {
return getKpiId();
}
public static final int KPI_DESCRIPTOR_FIELD_NUMBER = 2;
private monitoring.Monitoring.KpiDescriptor kpiDescriptor_;
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
* @return Whether the kpiDescriptor field is set.
*/
@java.lang.Override
public boolean hasKpiDescriptor() {
return kpiDescriptor_ != null;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
* @return The kpiDescriptor.
*/
@java.lang.Override
public monitoring.Monitoring.KpiDescriptor getKpiDescriptor() {
return kpiDescriptor_ == null ? monitoring.Monitoring.KpiDescriptor.getDefaultInstance() : kpiDescriptor_;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
@java.lang.Override
public monitoring.Monitoring.KpiDescriptorOrBuilder getKpiDescriptorOrBuilder() {
return getKpiDescriptor();
}
public static final int SAMPLING_DURATION_S_FIELD_NUMBER = 3;
private float samplingDurationS_;
/**
* <code>float sampling_duration_s = 3;</code>
* @return The samplingDurationS.
*/
@java.lang.Override
public float getSamplingDurationS() {
return samplingDurationS_;
}
public static final int SAMPLING_INTERVAL_S_FIELD_NUMBER = 4;
private float samplingIntervalS_;
/**
* <code>float sampling_interval_s = 4;</code>
* @return The samplingIntervalS.
*/
@java.lang.Override
public float getSamplingIntervalS() {
return samplingIntervalS_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (kpiId_ != null) {
output.writeMessage(1, getKpiId());
}
if (kpiDescriptor_ != null) {
output.writeMessage(2, getKpiDescriptor());
}
if (samplingDurationS_ != 0F) {
output.writeFloat(3, samplingDurationS_);
}
if (samplingIntervalS_ != 0F) {
output.writeFloat(4, samplingIntervalS_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (kpiId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getKpiId());
}
if (kpiDescriptor_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getKpiDescriptor());
}
if (samplingDurationS_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, samplingDurationS_);
}
if (samplingIntervalS_ != 0F) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, samplingIntervalS_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof device.Device.MonitoringSettings)) {
return super.equals(obj);
}
device.Device.MonitoringSettings other = (device.Device.MonitoringSettings) obj;
if (hasKpiId() != other.hasKpiId()) return false;
if (hasKpiId()) {
if (!getKpiId()
.equals(other.getKpiId())) return false;
}
if (hasKpiDescriptor() != other.hasKpiDescriptor()) return false;
if (hasKpiDescriptor()) {
if (!getKpiDescriptor()
.equals(other.getKpiDescriptor())) return false;
}
if (java.lang.Float.floatToIntBits(getSamplingDurationS())
!= java.lang.Float.floatToIntBits(
other.getSamplingDurationS())) return false;
if (java.lang.Float.floatToIntBits(getSamplingIntervalS())
!= java.lang.Float.floatToIntBits(
other.getSamplingIntervalS())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKpiId()) {
hash = (37 * hash) + KPI_ID_FIELD_NUMBER;
hash = (53 * hash) + getKpiId().hashCode();
}
if (hasKpiDescriptor()) {
hash = (37 * hash) + KPI_DESCRIPTOR_FIELD_NUMBER;
hash = (53 * hash) + getKpiDescriptor().hashCode();
}
hash = (37 * hash) + SAMPLING_DURATION_S_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getSamplingDurationS());
hash = (37 * hash) + SAMPLING_INTERVAL_S_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getSamplingIntervalS());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static device.Device.MonitoringSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static device.Device.MonitoringSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static device.Device.MonitoringSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static device.Device.MonitoringSettings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static device.Device.MonitoringSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static device.Device.MonitoringSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static device.Device.MonitoringSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static device.Device.MonitoringSettings parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static device.Device.MonitoringSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static device.Device.MonitoringSettings parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static device.Device.MonitoringSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static device.Device.MonitoringSettings parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(device.Device.MonitoringSettings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code device.MonitoringSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:device.MonitoringSettings)
device.Device.MonitoringSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return device.Device.internal_static_device_MonitoringSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return device.Device.internal_static_device_MonitoringSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
device.Device.MonitoringSettings.class, device.Device.MonitoringSettings.Builder.class);
}
// Construct using device.Device.MonitoringSettings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (kpiIdBuilder_ == null) {
kpiId_ = null;
} else {
kpiId_ = null;
kpiIdBuilder_ = null;
}
if (kpiDescriptorBuilder_ == null) {
kpiDescriptor_ = null;
} else {
kpiDescriptor_ = null;
kpiDescriptorBuilder_ = null;
}
samplingDurationS_ = 0F;
samplingIntervalS_ = 0F;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return device.Device.internal_static_device_MonitoringSettings_descriptor;
}
@java.lang.Override
public device.Device.MonitoringSettings getDefaultInstanceForType() {
return device.Device.MonitoringSettings.getDefaultInstance();
}
@java.lang.Override
public device.Device.MonitoringSettings build() {
device.Device.MonitoringSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public device.Device.MonitoringSettings buildPartial() {
device.Device.MonitoringSettings result = new device.Device.MonitoringSettings(this);
if (kpiIdBuilder_ == null) {
result.kpiId_ = kpiId_;
} else {
result.kpiId_ = kpiIdBuilder_.build();
}
if (kpiDescriptorBuilder_ == null) {
result.kpiDescriptor_ = kpiDescriptor_;
} else {
result.kpiDescriptor_ = kpiDescriptorBuilder_.build();
}
result.samplingDurationS_ = samplingDurationS_;
result.samplingIntervalS_ = samplingIntervalS_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof device.Device.MonitoringSettings) {
return mergeFrom((device.Device.MonitoringSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(device.Device.MonitoringSettings other) {
if (other == device.Device.MonitoringSettings.getDefaultInstance()) return this;
if (other.hasKpiId()) {
mergeKpiId(other.getKpiId());
}
if (other.hasKpiDescriptor()) {
mergeKpiDescriptor(other.getKpiDescriptor());
}
if (other.getSamplingDurationS() != 0F) {
setSamplingDurationS(other.getSamplingDurationS());
}
if (other.getSamplingIntervalS() != 0F) {
setSamplingIntervalS(other.getSamplingIntervalS());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
device.Device.MonitoringSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (device.Device.MonitoringSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private monitoring.Monitoring.KpiId kpiId_;
private com.google.protobuf.SingleFieldBuilderV3<
monitoring.Monitoring.KpiId, monitoring.Monitoring.KpiId.Builder, monitoring.Monitoring.KpiIdOrBuilder> kpiIdBuilder_;
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
* @return Whether the kpiId field is set.
*/
public boolean hasKpiId() {
return kpiIdBuilder_ != null || kpiId_ != null;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
* @return The kpiId.
*/
public monitoring.Monitoring.KpiId getKpiId() {
if (kpiIdBuilder_ == null) {
return kpiId_ == null ? monitoring.Monitoring.KpiId.getDefaultInstance() : kpiId_;
} else {
return kpiIdBuilder_.getMessage();
}
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
public Builder setKpiId(monitoring.Monitoring.KpiId value) {
if (kpiIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kpiId_ = value;
onChanged();
} else {
kpiIdBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
public Builder setKpiId(
monitoring.Monitoring.KpiId.Builder builderForValue) {
if (kpiIdBuilder_ == null) {
kpiId_ = builderForValue.build();
onChanged();
} else {
kpiIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
public Builder mergeKpiId(monitoring.Monitoring.KpiId value) {
if (kpiIdBuilder_ == null) {
if (kpiId_ != null) {
kpiId_ =
monitoring.Monitoring.KpiId.newBuilder(kpiId_).mergeFrom(value).buildPartial();
} else {
kpiId_ = value;
}
onChanged();
} else {
kpiIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
public Builder clearKpiId() {
if (kpiIdBuilder_ == null) {
kpiId_ = null;
onChanged();
} else {
kpiId_ = null;
kpiIdBuilder_ = null;
}
return this;
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
public monitoring.Monitoring.KpiId.Builder getKpiIdBuilder() {
onChanged();
return getKpiIdFieldBuilder().getBuilder();
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
public monitoring.Monitoring.KpiIdOrBuilder getKpiIdOrBuilder() {
if (kpiIdBuilder_ != null) {
return kpiIdBuilder_.getMessageOrBuilder();
} else {
return kpiId_ == null ?
monitoring.Monitoring.KpiId.getDefaultInstance() : kpiId_;
}
}
/**
* <code>.monitoring.KpiId kpi_id = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
monitoring.Monitoring.KpiId, monitoring.Monitoring.KpiId.Builder, monitoring.Monitoring.KpiIdOrBuilder>
getKpiIdFieldBuilder() {
if (kpiIdBuilder_ == null) {
kpiIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
monitoring.Monitoring.KpiId, monitoring.Monitoring.KpiId.Builder, monitoring.Monitoring.KpiIdOrBuilder>(
getKpiId(),
getParentForChildren(),
isClean());
kpiId_ = null;
}
return kpiIdBuilder_;
}
private monitoring.Monitoring.KpiDescriptor kpiDescriptor_;
private com.google.protobuf.SingleFieldBuilderV3<
monitoring.Monitoring.KpiDescriptor, monitoring.Monitoring.KpiDescriptor.Builder, monitoring.Monitoring.KpiDescriptorOrBuilder> kpiDescriptorBuilder_;
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
* @return Whether the kpiDescriptor field is set.
*/
public boolean hasKpiDescriptor() {
return kpiDescriptorBuilder_ != null || kpiDescriptor_ != null;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
* @return The kpiDescriptor.
*/
public monitoring.Monitoring.KpiDescriptor getKpiDescriptor() {
if (kpiDescriptorBuilder_ == null) {
return kpiDescriptor_ == null ? monitoring.Monitoring.KpiDescriptor.getDefaultInstance() : kpiDescriptor_;
} else {
return kpiDescriptorBuilder_.getMessage();
}
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
public Builder setKpiDescriptor(monitoring.Monitoring.KpiDescriptor value) {
if (kpiDescriptorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kpiDescriptor_ = value;
onChanged();
} else {
kpiDescriptorBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
public Builder setKpiDescriptor(
monitoring.Monitoring.KpiDescriptor.Builder builderForValue) {
if (kpiDescriptorBuilder_ == null) {
kpiDescriptor_ = builderForValue.build();
onChanged();
} else {
kpiDescriptorBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
public Builder mergeKpiDescriptor(monitoring.Monitoring.KpiDescriptor value) {
if (kpiDescriptorBuilder_ == null) {
if (kpiDescriptor_ != null) {
kpiDescriptor_ =
monitoring.Monitoring.KpiDescriptor.newBuilder(kpiDescriptor_).mergeFrom(value).buildPartial();
} else {
kpiDescriptor_ = value;
}
onChanged();
} else {
kpiDescriptorBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
public Builder clearKpiDescriptor() {
if (kpiDescriptorBuilder_ == null) {
kpiDescriptor_ = null;
onChanged();
} else {
kpiDescriptor_ = null;
kpiDescriptorBuilder_ = null;
}
return this;
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
public monitoring.Monitoring.KpiDescriptor.Builder getKpiDescriptorBuilder() {
onChanged();
return getKpiDescriptorFieldBuilder().getBuilder();
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
public monitoring.Monitoring.KpiDescriptorOrBuilder getKpiDescriptorOrBuilder() {
if (kpiDescriptorBuilder_ != null) {
return kpiDescriptorBuilder_.getMessageOrBuilder();
} else {
return kpiDescriptor_ == null ?
monitoring.Monitoring.KpiDescriptor.getDefaultInstance() : kpiDescriptor_;
}
}
/**
* <code>.monitoring.KpiDescriptor kpi_descriptor = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
monitoring.Monitoring.KpiDescriptor, monitoring.Monitoring.KpiDescriptor.Builder, monitoring.Monitoring.KpiDescriptorOrBuilder>
getKpiDescriptorFieldBuilder() {
if (kpiDescriptorBuilder_ == null) {
kpiDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
monitoring.Monitoring.KpiDescriptor, monitoring.Monitoring.KpiDescriptor.Builder, monitoring.Monitoring.KpiDescriptorOrBuilder>(
getKpiDescriptor(),
getParentForChildren(),
isClean());
kpiDescriptor_ = null;
}
return kpiDescriptorBuilder_;
}
private float samplingDurationS_ ;
/**
* <code>float sampling_duration_s = 3;</code>
* @return The samplingDurationS.
*/
@java.lang.Override
public float getSamplingDurationS() {
return samplingDurationS_;
}
/**
* <code>float sampling_duration_s = 3;</code>
* @param value The samplingDurationS to set.
* @return This builder for chaining.
*/
public Builder setSamplingDurationS(float value) {
samplingDurationS_ = value;
onChanged();
return this;
}
/**
* <code>float sampling_duration_s = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSamplingDurationS() {
samplingDurationS_ = 0F;
onChanged();
return this;
}
private float samplingIntervalS_ ;
/**
* <code>float sampling_interval_s = 4;</code>
* @return The samplingIntervalS.
*/
@java.lang.Override
public float getSamplingIntervalS() {
return samplingIntervalS_;
}
/**
* <code>float sampling_interval_s = 4;</code>
* @param value The samplingIntervalS to set.
* @return This builder for chaining.
*/
public Builder setSamplingIntervalS(float value) {
samplingIntervalS_ = value;
onChanged();
return this;
}
/**
* <code>float sampling_interval_s = 4;</code>
* @return This builder for chaining.
*/
public Builder clearSamplingIntervalS() {
samplingIntervalS_ = 0F;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:device.MonitoringSettings)
}
// @@protoc_insertion_point(class_scope:device.MonitoringSettings)
private static final device.Device.MonitoringSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new device.Device.MonitoringSettings();
}
public static device.Device.MonitoringSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<MonitoringSettings>
PARSER = new com.google.protobuf.AbstractParser<MonitoringSettings>() {
@java.lang.Override
public MonitoringSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MonitoringSettings(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<MonitoringSettings> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MonitoringSettings> getParserForType() {
return PARSER;
}
@java.lang.Override
public device.Device.MonitoringSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_device_MonitoringSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_device_MonitoringSettings_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\014device.proto\022\006device\032\rcontext.proto\032\020m" +
"onitoring.proto\"\244\001\n\022MonitoringSettings\022!" +
"\n\006kpi_id\030\001 \001(\0132\021.monitoring.KpiId\0221\n\016kpi" +
"_descriptor\030\002 \001(\0132\031.monitoring.KpiDescri" +
"ptor\022\033\n\023sampling_duration_s\030\003 \001(\002\022\033\n\023sam" +
"pling_interval_s\030\004 \001(\0022\262\002\n\rDeviceService" +
"\0221\n\tAddDevice\022\017.context.Device\032\021.context" +
".DeviceId\"\000\0227\n\017ConfigureDevice\022\017.context" +
".Device\032\021.context.DeviceId\"\000\0223\n\014DeleteDe" +
"vice\022\021.context.DeviceId\032\016.context.Empty\"" +
"\000\022>\n\020GetInitialConfig\022\021.context.DeviceId" +
"\032\025.context.DeviceConfig\"\000\022@\n\020MonitorDevi" +
"ceKpi\022\032.device.MonitoringSettings\032\016.cont" +
"ext.Empty\"\000b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
context.ContextOuterClass.getDescriptor(),
monitoring.Monitoring.getDescriptor(),
});
internal_static_device_MonitoringSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_device_MonitoringSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_device_MonitoringSettings_descriptor,
new java.lang.String[] { "KpiId", "KpiDescriptor", "SamplingDurationS", "SamplingIntervalS", });
context.ContextOuterClass.getDescriptor();
monitoring.Monitoring.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
package device;
import io.quarkus.grpc.runtime.MutinyService;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: device.proto")
public interface DeviceService extends MutinyService {
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> addDevice(context.ContextOuterClass.Device request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> configureDevice(context.ContextOuterClass.Device request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteDevice(context.ContextOuterClass.DeviceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceConfig> getInitialConfig(context.ContextOuterClass.DeviceId request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorDeviceKpi(device.Device.MonitoringSettings request);
}
\ No newline at end of file
package device;
import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: device.proto")
public class DeviceServiceBean extends MutinyDeviceServiceGrpc.DeviceServiceImplBase implements BindableService, MutinyBean {
private final DeviceService delegate;
DeviceServiceBean(@GrpcService DeviceService delegate) {
this.delegate = delegate;
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> addDevice(context.ContextOuterClass.Device request) {
try {
return delegate.addDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> configureDevice(context.ContextOuterClass.Device request) {
try {
return delegate.configureDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteDevice(context.ContextOuterClass.DeviceId request) {
try {
return delegate.deleteDevice(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceConfig> getInitialConfig(context.ContextOuterClass.DeviceId request) {
try {
return delegate.getInitialConfig(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorDeviceKpi(device.Device.MonitoringSettings request) {
try {
return delegate.monitorDeviceKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
}
\ No newline at end of file
package device;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: device.proto")
public class DeviceServiceClient implements DeviceService, MutinyClient<MutinyDeviceServiceGrpc.MutinyDeviceServiceStub> {
private final MutinyDeviceServiceGrpc.MutinyDeviceServiceStub stub;
public DeviceServiceClient(String name, io.grpc.Channel channel, BiFunction<String, MutinyDeviceServiceGrpc.MutinyDeviceServiceStub, MutinyDeviceServiceGrpc.MutinyDeviceServiceStub> stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyDeviceServiceGrpc.newMutinyStub(channel));
}
@Override
public MutinyDeviceServiceGrpc.MutinyDeviceServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> addDevice(context.ContextOuterClass.Device request) {
return stub.addDevice(request);
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> configureDevice(context.ContextOuterClass.Device request) {
return stub.configureDevice(request);
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteDevice(context.ContextOuterClass.DeviceId request) {
return stub.deleteDevice(request);
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceConfig> getInitialConfig(context.ContextOuterClass.DeviceId request) {
return stub.getInitialConfig(request);
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorDeviceKpi(device.Device.MonitoringSettings request) {
return stub.monitorDeviceKpi(request);
}
}
\ No newline at end of file
package device;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.38.1)",
comments = "Source: device.proto")
public final class DeviceServiceGrpc {
private DeviceServiceGrpc() {}
public static final String SERVICE_NAME = "device.DeviceService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId> getAddDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AddDevice",
requestType = context.ContextOuterClass.Device.class,
responseType = context.ContextOuterClass.DeviceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId> getAddDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Device, context.ContextOuterClass.DeviceId> getAddDeviceMethod;
if ((getAddDeviceMethod = DeviceServiceGrpc.getAddDeviceMethod) == null) {
synchronized (DeviceServiceGrpc.class) {
if ((getAddDeviceMethod = DeviceServiceGrpc.getAddDeviceMethod) == null) {
DeviceServiceGrpc.getAddDeviceMethod = getAddDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Device, context.ContextOuterClass.DeviceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Device.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setSchemaDescriptor(new DeviceServiceMethodDescriptorSupplier("AddDevice"))
.build();
}
}
}
return getAddDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId> getConfigureDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ConfigureDevice",
requestType = context.ContextOuterClass.Device.class,
responseType = context.ContextOuterClass.DeviceId.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId> getConfigureDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.Device, context.ContextOuterClass.DeviceId> getConfigureDeviceMethod;
if ((getConfigureDeviceMethod = DeviceServiceGrpc.getConfigureDeviceMethod) == null) {
synchronized (DeviceServiceGrpc.class) {
if ((getConfigureDeviceMethod = DeviceServiceGrpc.getConfigureDeviceMethod) == null) {
DeviceServiceGrpc.getConfigureDeviceMethod = getConfigureDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.Device, context.ContextOuterClass.DeviceId>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ConfigureDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Device.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setSchemaDescriptor(new DeviceServiceMethodDescriptorSupplier("ConfigureDevice"))
.build();
}
}
}
return getConfigureDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty> getDeleteDeviceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteDevice",
requestType = context.ContextOuterClass.DeviceId.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty> getDeleteDeviceMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId, context.ContextOuterClass.Empty> getDeleteDeviceMethod;
if ((getDeleteDeviceMethod = DeviceServiceGrpc.getDeleteDeviceMethod) == null) {
synchronized (DeviceServiceGrpc.class) {
if ((getDeleteDeviceMethod = DeviceServiceGrpc.getDeleteDeviceMethod) == null) {
DeviceServiceGrpc.getDeleteDeviceMethod = getDeleteDeviceMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.DeviceId, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDevice"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DeviceServiceMethodDescriptorSupplier("DeleteDevice"))
.build();
}
}
}
return getDeleteDeviceMethod;
}
private static volatile io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.DeviceConfig> getGetInitialConfigMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInitialConfig",
requestType = context.ContextOuterClass.DeviceId.class,
responseType = context.ContextOuterClass.DeviceConfig.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId,
context.ContextOuterClass.DeviceConfig> getGetInitialConfigMethod() {
io.grpc.MethodDescriptor<context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceConfig> getGetInitialConfigMethod;
if ((getGetInitialConfigMethod = DeviceServiceGrpc.getGetInitialConfigMethod) == null) {
synchronized (DeviceServiceGrpc.class) {
if ((getGetInitialConfigMethod = DeviceServiceGrpc.getGetInitialConfigMethod) == null) {
DeviceServiceGrpc.getGetInitialConfigMethod = getGetInitialConfigMethod =
io.grpc.MethodDescriptor.<context.ContextOuterClass.DeviceId, context.ContextOuterClass.DeviceConfig>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInitialConfig"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceId.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.DeviceConfig.getDefaultInstance()))
.setSchemaDescriptor(new DeviceServiceMethodDescriptorSupplier("GetInitialConfig"))
.build();
}
}
}
return getGetInitialConfigMethod;
}
private static volatile io.grpc.MethodDescriptor<device.Device.MonitoringSettings,
context.ContextOuterClass.Empty> getMonitorDeviceKpiMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "MonitorDeviceKpi",
requestType = device.Device.MonitoringSettings.class,
responseType = context.ContextOuterClass.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<device.Device.MonitoringSettings,
context.ContextOuterClass.Empty> getMonitorDeviceKpiMethod() {
io.grpc.MethodDescriptor<device.Device.MonitoringSettings, context.ContextOuterClass.Empty> getMonitorDeviceKpiMethod;
if ((getMonitorDeviceKpiMethod = DeviceServiceGrpc.getMonitorDeviceKpiMethod) == null) {
synchronized (DeviceServiceGrpc.class) {
if ((getMonitorDeviceKpiMethod = DeviceServiceGrpc.getMonitorDeviceKpiMethod) == null) {
DeviceServiceGrpc.getMonitorDeviceKpiMethod = getMonitorDeviceKpiMethod =
io.grpc.MethodDescriptor.<device.Device.MonitoringSettings, context.ContextOuterClass.Empty>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "MonitorDeviceKpi"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
device.Device.MonitoringSettings.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
context.ContextOuterClass.Empty.getDefaultInstance()))
.setSchemaDescriptor(new DeviceServiceMethodDescriptorSupplier("MonitorDeviceKpi"))
.build();
}
}
}
return getMonitorDeviceKpiMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static DeviceServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<DeviceServiceStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<DeviceServiceStub>() {
@java.lang.Override
public DeviceServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeviceServiceStub(channel, callOptions);
}
};
return DeviceServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static DeviceServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<DeviceServiceBlockingStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<DeviceServiceBlockingStub>() {
@java.lang.Override
public DeviceServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeviceServiceBlockingStub(channel, callOptions);
}
};
return DeviceServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static DeviceServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory<DeviceServiceFutureStub> factory =
new io.grpc.stub.AbstractStub.StubFactory<DeviceServiceFutureStub>() {
@java.lang.Override
public DeviceServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeviceServiceFutureStub(channel, callOptions);
}
};
return DeviceServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class DeviceServiceImplBase implements io.grpc.BindableService {
/**
*/
public void addDevice(context.ContextOuterClass.Device request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddDeviceMethod(), responseObserver);
}
/**
*/
public void configureDevice(context.ContextOuterClass.Device request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfigureDeviceMethod(), responseObserver);
}
/**
*/
public void deleteDevice(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeviceMethod(), responseObserver);
}
/**
*/
public void getInitialConfig(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceConfig> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInitialConfigMethod(), responseObserver);
}
/**
*/
public void monitorDeviceKpi(device.Device.MonitoringSettings request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMonitorDeviceKpiMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAddDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_ADD_DEVICE)))
.addMethod(
getConfigureDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_CONFIGURE_DEVICE)))
.addMethod(
getDeleteDeviceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty>(
this, METHODID_DELETE_DEVICE)))
.addMethod(
getGetInitialConfigMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.DeviceConfig>(
this, METHODID_GET_INITIAL_CONFIG)))
.addMethod(
getMonitorDeviceKpiMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
device.Device.MonitoringSettings,
context.ContextOuterClass.Empty>(
this, METHODID_MONITOR_DEVICE_KPI)))
.build();
}
}
/**
*/
public static final class DeviceServiceStub extends io.grpc.stub.AbstractAsyncStub<DeviceServiceStub> {
private DeviceServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DeviceServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeviceServiceStub(channel, callOptions);
}
/**
*/
public void addDevice(context.ContextOuterClass.Device request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void configureDevice(context.ContextOuterClass.Device request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getConfigureDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void deleteDevice(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteDeviceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getInitialConfig(context.ContextOuterClass.DeviceId request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceConfig> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetInitialConfigMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void monitorDeviceKpi(device.Device.MonitoringSettings request,
io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getMonitorDeviceKpiMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class DeviceServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<DeviceServiceBlockingStub> {
private DeviceServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DeviceServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeviceServiceBlockingStub(channel, callOptions);
}
/**
*/
public context.ContextOuterClass.DeviceId addDevice(context.ContextOuterClass.Device request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddDeviceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.DeviceId configureDevice(context.ContextOuterClass.Device request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getConfigureDeviceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty deleteDevice(context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteDeviceMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.DeviceConfig getInitialConfig(context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetInitialConfigMethod(), getCallOptions(), request);
}
/**
*/
public context.ContextOuterClass.Empty monitorDeviceKpi(device.Device.MonitoringSettings request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getMonitorDeviceKpiMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class DeviceServiceFutureStub extends io.grpc.stub.AbstractFutureStub<DeviceServiceFutureStub> {
private DeviceServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DeviceServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DeviceServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceId> addDevice(
context.ContextOuterClass.Device request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceId> configureDevice(
context.ContextOuterClass.Device request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getConfigureDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> deleteDevice(
context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteDeviceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.DeviceConfig> getInitialConfig(
context.ContextOuterClass.DeviceId request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetInitialConfigMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture<context.ContextOuterClass.Empty> monitorDeviceKpi(
device.Device.MonitoringSettings request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getMonitorDeviceKpiMethod(), getCallOptions()), request);
}
}
private static final int METHODID_ADD_DEVICE = 0;
private static final int METHODID_CONFIGURE_DEVICE = 1;
private static final int METHODID_DELETE_DEVICE = 2;
private static final int METHODID_GET_INITIAL_CONFIG = 3;
private static final int METHODID_MONITOR_DEVICE_KPI = 4;
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 DeviceServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(DeviceServiceImplBase 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_ADD_DEVICE:
serviceImpl.addDevice((context.ContextOuterClass.Device) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId>) responseObserver);
break;
case METHODID_CONFIGURE_DEVICE:
serviceImpl.configureDevice((context.ContextOuterClass.Device) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId>) responseObserver);
break;
case METHODID_DELETE_DEVICE:
serviceImpl.deleteDevice((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver);
break;
case METHODID_GET_INITIAL_CONFIG:
serviceImpl.getInitialConfig((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceConfig>) responseObserver);
break;
case METHODID_MONITOR_DEVICE_KPI:
serviceImpl.monitorDeviceKpi((device.Device.MonitoringSettings) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) 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 DeviceServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
DeviceServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return device.Device.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("DeviceService");
}
}
private static final class DeviceServiceFileDescriptorSupplier
extends DeviceServiceBaseDescriptorSupplier {
DeviceServiceFileDescriptorSupplier() {}
}
private static final class DeviceServiceMethodDescriptorSupplier
extends DeviceServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
DeviceServiceMethodDescriptorSupplier(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 (DeviceServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new DeviceServiceFileDescriptorSupplier())
.addMethod(getAddDeviceMethod())
.addMethod(getConfigureDeviceMethod())
.addMethod(getDeleteDeviceMethod())
.addMethod(getGetInitialConfigMethod())
.addMethod(getMonitorDeviceKpiMethod())
.build();
}
}
}
return result;
}
}
package device;
import static device.DeviceServiceGrpc.getServiceDescriptor;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: device.proto")
public final class MutinyDeviceServiceGrpc implements io.quarkus.grpc.runtime.MutinyGrpc {
private MutinyDeviceServiceGrpc() {}
public static MutinyDeviceServiceStub newMutinyStub(io.grpc.Channel channel) {
return new MutinyDeviceServiceStub(channel);
}
public static final class MutinyDeviceServiceStub extends io.grpc.stub.AbstractStub<MutinyDeviceServiceStub> implements io.quarkus.grpc.runtime.MutinyStub {
private DeviceServiceGrpc.DeviceServiceStub delegateStub;
private MutinyDeviceServiceStub(io.grpc.Channel channel) {
super(channel);
delegateStub = DeviceServiceGrpc.newStub(channel);
}
private MutinyDeviceServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
delegateStub = DeviceServiceGrpc.newStub(channel).build(channel, callOptions);
}
@Override
protected MutinyDeviceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new MutinyDeviceServiceStub(channel, callOptions);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> addDevice(context.ContextOuterClass.Device request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::addDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> configureDevice(context.ContextOuterClass.Device request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::configureDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteDevice(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::deleteDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceConfig> getInitialConfig(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getInitialConfig);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorDeviceKpi(device.Device.MonitoringSettings request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::monitorDeviceKpi);
}
}
public static abstract class DeviceServiceImplBase implements io.grpc.BindableService {
private String compression;
/**
* Set whether the server will try to use a compressed response.
*
* @param compression the compression, e.g {@code gzip}
*/
public DeviceServiceImplBase withCompression(String compression) {
this.compression = compression;
return this;
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> addDevice(context.ContextOuterClass.Device request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> configureDevice(context.ContextOuterClass.Device request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteDevice(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceConfig> getInitialConfig(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorDeviceKpi(device.Device.MonitoringSettings request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
device.DeviceServiceGrpc.getAddDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_ADD_DEVICE, compression)))
.addMethod(
device.DeviceServiceGrpc.getConfigureDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_CONFIGURE_DEVICE, compression)))
.addMethod(
device.DeviceServiceGrpc.getDeleteDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty>(
this, METHODID_DELETE_DEVICE, compression)))
.addMethod(
device.DeviceServiceGrpc.getGetInitialConfigMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.DeviceConfig>(
this, METHODID_GET_INITIAL_CONFIG, compression)))
.addMethod(
device.DeviceServiceGrpc.getMonitorDeviceKpiMethod(),
asyncUnaryCall(
new MethodHandlers<
device.Device.MonitoringSettings,
context.ContextOuterClass.Empty>(
this, METHODID_MONITOR_DEVICE_KPI, compression)))
.build();
}
}
private static final int METHODID_ADD_DEVICE = 0;
private static final int METHODID_CONFIGURE_DEVICE = 1;
private static final int METHODID_DELETE_DEVICE = 2;
private static final int METHODID_GET_INITIAL_CONFIG = 3;
private static final int METHODID_MONITOR_DEVICE_KPI = 4;
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 DeviceServiceImplBase serviceImpl;
private final int methodId;
private final String compression;
MethodHandlers(DeviceServiceImplBase serviceImpl, int methodId, String compression) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
this.compression = compression;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
case METHODID_ADD_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Device) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId>) responseObserver,
compression,
serviceImpl::addDevice);
break;
case METHODID_CONFIGURE_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Device) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceId>) responseObserver,
compression,
serviceImpl::configureDevice);
break;
case METHODID_DELETE_DEVICE:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::deleteDevice);
break;
case METHODID_GET_INITIAL_CONFIG:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.DeviceId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.DeviceConfig>) responseObserver,
compression,
serviceImpl::getInitialConfig);
break;
case METHODID_MONITOR_DEVICE_KPI:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((device.Device.MonitoringSettings) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::monitorDeviceKpi);
break;
default:
throw new java.lang.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 java.lang.AssertionError();
}
}
}
}
\ No newline at end of file
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: kpi_sample_types.proto
package kpi_sample_types;
public final class KpiSampleTypes {
private KpiSampleTypes() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code kpi_sample_types.KpiSampleType}
*/
public enum KpiSampleType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>KPISAMPLETYPE_UNKNOWN = 0;</code>
*/
KPISAMPLETYPE_UNKNOWN(0),
/**
* <code>KPISAMPLETYPE_PACKETS_TRANSMITTED = 101;</code>
*/
KPISAMPLETYPE_PACKETS_TRANSMITTED(101),
/**
* <code>KPISAMPLETYPE_PACKETS_RECEIVED = 102;</code>
*/
KPISAMPLETYPE_PACKETS_RECEIVED(102),
/**
* <code>KPISAMPLETYPE_PACKETS_DROPPED = 103;</code>
*/
KPISAMPLETYPE_PACKETS_DROPPED(103),
/**
* <code>KPISAMPLETYPE_BYTES_TRANSMITTED = 201;</code>
*/
KPISAMPLETYPE_BYTES_TRANSMITTED(201),
/**
* <code>KPISAMPLETYPE_BYTES_RECEIVED = 202;</code>
*/
KPISAMPLETYPE_BYTES_RECEIVED(202),
/**
* <code>KPISAMPLETYPE_BYTES_DROPPED = 203;</code>
*/
KPISAMPLETYPE_BYTES_DROPPED(203),
/**
* <pre>
*. can be used by both optical and L3 without any issue
* </pre>
*
* <code>KPISAMPLETYPE_ML_CONFIDENCE = 401;</code>
*/
KPISAMPLETYPE_ML_CONFIDENCE(401),
/**
* <pre>
*. can be used by both optical and L3 without any issue
* </pre>
*
* <code>KPISAMPLETYPE_OPTICAL_SECURITY_STATUS = 501;</code>
*/
KPISAMPLETYPE_OPTICAL_SECURITY_STATUS(501),
/**
* <code>KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS = 601;</code>
*/
KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS(601),
/**
* <code>KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS = 602;</code>
*/
KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS(602),
/**
* <code>KPISAMPLETYPE_L3_UNIQUE_ATTACKERS = 603;</code>
*/
KPISAMPLETYPE_L3_UNIQUE_ATTACKERS(603),
/**
* <code>KPISAMPLETYPE_L3_UNIQUE_COMPROMISED_CLIENTS = 604;</code>
*/
KPISAMPLETYPE_L3_UNIQUE_COMPROMISED_CLIENTS(604),
/**
* <code>KPISAMPLETYPE_L3_SECURITY_STATUS_CRYPTO = 605;</code>
*/
KPISAMPLETYPE_L3_SECURITY_STATUS_CRYPTO(605),
/**
* <code>KPISAMPLETYPE_SERVICE_LATENCY_MS = 701;</code>
*/
KPISAMPLETYPE_SERVICE_LATENCY_MS(701),
UNRECOGNIZED(-1),
;
/**
* <code>KPISAMPLETYPE_UNKNOWN = 0;</code>
*/
public static final int KPISAMPLETYPE_UNKNOWN_VALUE = 0;
/**
* <code>KPISAMPLETYPE_PACKETS_TRANSMITTED = 101;</code>
*/
public static final int KPISAMPLETYPE_PACKETS_TRANSMITTED_VALUE = 101;
/**
* <code>KPISAMPLETYPE_PACKETS_RECEIVED = 102;</code>
*/
public static final int KPISAMPLETYPE_PACKETS_RECEIVED_VALUE = 102;
/**
* <code>KPISAMPLETYPE_PACKETS_DROPPED = 103;</code>
*/
public static final int KPISAMPLETYPE_PACKETS_DROPPED_VALUE = 103;
/**
* <code>KPISAMPLETYPE_BYTES_TRANSMITTED = 201;</code>
*/
public static final int KPISAMPLETYPE_BYTES_TRANSMITTED_VALUE = 201;
/**
* <code>KPISAMPLETYPE_BYTES_RECEIVED = 202;</code>
*/
public static final int KPISAMPLETYPE_BYTES_RECEIVED_VALUE = 202;
/**
* <code>KPISAMPLETYPE_BYTES_DROPPED = 203;</code>
*/
public static final int KPISAMPLETYPE_BYTES_DROPPED_VALUE = 203;
/**
* <pre>
*. can be used by both optical and L3 without any issue
* </pre>
*
* <code>KPISAMPLETYPE_ML_CONFIDENCE = 401;</code>
*/
public static final int KPISAMPLETYPE_ML_CONFIDENCE_VALUE = 401;
/**
* <pre>
*. can be used by both optical and L3 without any issue
* </pre>
*
* <code>KPISAMPLETYPE_OPTICAL_SECURITY_STATUS = 501;</code>
*/
public static final int KPISAMPLETYPE_OPTICAL_SECURITY_STATUS_VALUE = 501;
/**
* <code>KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS = 601;</code>
*/
public static final int KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS_VALUE = 601;
/**
* <code>KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS = 602;</code>
*/
public static final int KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS_VALUE = 602;
/**
* <code>KPISAMPLETYPE_L3_UNIQUE_ATTACKERS = 603;</code>
*/
public static final int KPISAMPLETYPE_L3_UNIQUE_ATTACKERS_VALUE = 603;
/**
* <code>KPISAMPLETYPE_L3_UNIQUE_COMPROMISED_CLIENTS = 604;</code>
*/
public static final int KPISAMPLETYPE_L3_UNIQUE_COMPROMISED_CLIENTS_VALUE = 604;
/**
* <code>KPISAMPLETYPE_L3_SECURITY_STATUS_CRYPTO = 605;</code>
*/
public static final int KPISAMPLETYPE_L3_SECURITY_STATUS_CRYPTO_VALUE = 605;
/**
* <code>KPISAMPLETYPE_SERVICE_LATENCY_MS = 701;</code>
*/
public static final int KPISAMPLETYPE_SERVICE_LATENCY_MS_VALUE = 701;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static KpiSampleType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static KpiSampleType forNumber(int value) {
switch (value) {
case 0: return KPISAMPLETYPE_UNKNOWN;
case 101: return KPISAMPLETYPE_PACKETS_TRANSMITTED;
case 102: return KPISAMPLETYPE_PACKETS_RECEIVED;
case 103: return KPISAMPLETYPE_PACKETS_DROPPED;
case 201: return KPISAMPLETYPE_BYTES_TRANSMITTED;
case 202: return KPISAMPLETYPE_BYTES_RECEIVED;
case 203: return KPISAMPLETYPE_BYTES_DROPPED;
case 401: return KPISAMPLETYPE_ML_CONFIDENCE;
case 501: return KPISAMPLETYPE_OPTICAL_SECURITY_STATUS;
case 601: return KPISAMPLETYPE_L3_UNIQUE_ATTACK_CONNS;
case 602: return KPISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS;
case 603: return KPISAMPLETYPE_L3_UNIQUE_ATTACKERS;
case 604: return KPISAMPLETYPE_L3_UNIQUE_COMPROMISED_CLIENTS;
case 605: return KPISAMPLETYPE_L3_SECURITY_STATUS_CRYPTO;
case 701: return KPISAMPLETYPE_SERVICE_LATENCY_MS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<KpiSampleType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
KpiSampleType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<KpiSampleType>() {
public KpiSampleType findValueByNumber(int number) {
return KpiSampleType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return kpi_sample_types.KpiSampleTypes.getDescriptor().getEnumTypes().get(0);
}
private static final KpiSampleType[] VALUES = values();
public static KpiSampleType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private KpiSampleType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:kpi_sample_types.KpiSampleType)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\026kpi_sample_types.proto\022\020kpi_sample_typ" +
"es*\327\004\n\rKpiSampleType\022\031\n\025KPISAMPLETYPE_UN" +
"KNOWN\020\000\022%\n!KPISAMPLETYPE_PACKETS_TRANSMI" +
"TTED\020e\022\"\n\036KPISAMPLETYPE_PACKETS_RECEIVED" +
"\020f\022!\n\035KPISAMPLETYPE_PACKETS_DROPPED\020g\022$\n" +
"\037KPISAMPLETYPE_BYTES_TRANSMITTED\020\311\001\022!\n\034K" +
"PISAMPLETYPE_BYTES_RECEIVED\020\312\001\022 \n\033KPISAM" +
"PLETYPE_BYTES_DROPPED\020\313\001\022 \n\033KPISAMPLETYP" +
"E_ML_CONFIDENCE\020\221\003\022*\n%KPISAMPLETYPE_OPTI" +
"CAL_SECURITY_STATUS\020\365\003\022)\n$KPISAMPLETYPE_" +
"L3_UNIQUE_ATTACK_CONNS\020\331\004\022*\n%KPISAMPLETY" +
"PE_L3_TOTAL_DROPPED_PACKTS\020\332\004\022&\n!KPISAMP" +
"LETYPE_L3_UNIQUE_ATTACKERS\020\333\004\0220\n+KPISAMP" +
"LETYPE_L3_UNIQUE_COMPROMISED_CLIENTS\020\334\004\022" +
",\n\'KPISAMPLETYPE_L3_SECURITY_STATUS_CRYP" +
"TO\020\335\004\022%\n KPISAMPLETYPE_SERVICE_LATENCY_M" +
"S\020\275\005b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
}
// @@protoc_insertion_point(outer_class_scope)
}
This source diff could not be displayed because it is too large. You can view the blob instead.
package monitoring;
import io.quarkus.grpc.runtime.MutinyService;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: monitoring.proto")
public interface MonitoringService extends MutinyService {
io.smallrye.mutiny.Uni<monitoring.Monitoring.KpiId> setKpi(monitoring.Monitoring.KpiDescriptor request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteKpi(monitoring.Monitoring.KpiId request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.KpiDescriptor> getKpiDescriptor(monitoring.Monitoring.KpiId request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.KpiDescriptorList> getKpiDescriptorList(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> includeKpi(monitoring.Monitoring.Kpi request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorKpi(monitoring.Monitoring.MonitorKpiRequest request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.RawKpiTable> queryKpiData(monitoring.Monitoring.KpiQuery request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.SubsDescriptor> getSubsDescriptor(monitoring.Monitoring.SubscriptionID request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.SubsList> getSubscriptions(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteSubscription(monitoring.Monitoring.SubscriptionID request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.AlarmID> setKpiAlarm(monitoring.Monitoring.AlarmDescriptor request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.AlarmList> getAlarms(context.ContextOuterClass.Empty request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.AlarmDescriptor> getAlarmDescriptor(monitoring.Monitoring.AlarmID request);
io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteAlarm(monitoring.Monitoring.AlarmID request);
io.smallrye.mutiny.Uni<monitoring.Monitoring.Kpi> getInstantKpi(monitoring.Monitoring.KpiId request);
io.smallrye.mutiny.Multi<monitoring.Monitoring.SubsResponse> setKpiSubscription(monitoring.Monitoring.SubsDescriptor request);
io.smallrye.mutiny.Multi<monitoring.Monitoring.AlarmResponse> getAlarmResponseStream(monitoring.Monitoring.AlarmSubscription request);
io.smallrye.mutiny.Multi<monitoring.Monitoring.Kpi> getStreamKpi(monitoring.Monitoring.KpiId request);
}
\ No newline at end of file
package monitoring;
import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: monitoring.proto")
public class MonitoringServiceBean extends MutinyMonitoringServiceGrpc.MonitoringServiceImplBase implements BindableService, MutinyBean {
private final MonitoringService delegate;
MonitoringServiceBean(@GrpcService MonitoringService delegate) {
this.delegate = delegate;
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.KpiId> setKpi(monitoring.Monitoring.KpiDescriptor request) {
try {
return delegate.setKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteKpi(monitoring.Monitoring.KpiId request) {
try {
return delegate.deleteKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.KpiDescriptor> getKpiDescriptor(monitoring.Monitoring.KpiId request) {
try {
return delegate.getKpiDescriptor(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.KpiDescriptorList> getKpiDescriptorList(context.ContextOuterClass.Empty request) {
try {
return delegate.getKpiDescriptorList(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> includeKpi(monitoring.Monitoring.Kpi request) {
try {
return delegate.includeKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> monitorKpi(monitoring.Monitoring.MonitorKpiRequest request) {
try {
return delegate.monitorKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.RawKpiTable> queryKpiData(monitoring.Monitoring.KpiQuery request) {
try {
return delegate.queryKpiData(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.SubsDescriptor> getSubsDescriptor(monitoring.Monitoring.SubscriptionID request) {
try {
return delegate.getSubsDescriptor(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.SubsList> getSubscriptions(context.ContextOuterClass.Empty request) {
try {
return delegate.getSubscriptions(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteSubscription(monitoring.Monitoring.SubscriptionID request) {
try {
return delegate.deleteSubscription(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.AlarmID> setKpiAlarm(monitoring.Monitoring.AlarmDescriptor request) {
try {
return delegate.setKpiAlarm(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.AlarmList> getAlarms(context.ContextOuterClass.Empty request) {
try {
return delegate.getAlarms(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.AlarmDescriptor> getAlarmDescriptor(monitoring.Monitoring.AlarmID request) {
try {
return delegate.getAlarmDescriptor(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> deleteAlarm(monitoring.Monitoring.AlarmID request) {
try {
return delegate.deleteAlarm(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni<monitoring.Monitoring.Kpi> getInstantKpi(monitoring.Monitoring.KpiId request) {
try {
return delegate.getInstantKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<monitoring.Monitoring.SubsResponse> setKpiSubscription(monitoring.Monitoring.SubsDescriptor request) {
try {
return delegate.setKpiSubscription(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<monitoring.Monitoring.AlarmResponse> getAlarmResponseStream(monitoring.Monitoring.AlarmSubscription request) {
try {
return delegate.getAlarmResponseStream(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Multi<monitoring.Monitoring.Kpi> getStreamKpi(monitoring.Monitoring.KpiId request) {
try {
return delegate.getStreamKpi(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
}
\ No newline at end of file