|
@@ -227,27 +227,28 @@ func init() {
|
|
|
func init() { proto.RegisterFile("remotecontrol.proto", fileDescriptor_9e7470c0107e56c6) }
|
|
|
|
|
|
var fileDescriptor_9e7470c0107e56c6 = []byte{
|
|
|
- // 313 bytes of a gzipped FileDescriptorProto
|
|
|
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xc1, 0x4b, 0xc3, 0x30,
|
|
|
- 0x14, 0xc6, 0x9b, 0x4d, 0x3b, 0x78, 0x71, 0x5a, 0x33, 0x95, 0x51, 0x3c, 0x94, 0x80, 0xd2, 0x8b,
|
|
|
- 0x45, 0xea, 0x41, 0x3c, 0x28, 0xb8, 0x1e, 0xf4, 0xa0, 0x22, 0x45, 0xf0, 0x5c, 0x6b, 0xac, 0x81,
|
|
|
- 0xad, 0x19, 0x49, 0x14, 0xe7, 0xff, 0xa9, 0x7f, 0x8f, 0x34, 0x9d, 0xb5, 0x2d, 0xf5, 0xb2, 0x5b,
|
|
|
- 0xde, 0xe3, 0xfb, 0xbe, 0xf7, 0xcb, 0x4b, 0x60, 0x24, 0xd9, 0x4c, 0x68, 0x96, 0x8a, 0x5c, 0x4b,
|
|
|
- 0x31, 0x0d, 0xe6, 0x52, 0x68, 0x41, 0x86, 0x8d, 0x26, 0xf5, 0xc0, 0xbe, 0x4d, 0xb4, 0xe4, 0x1f,
|
|
|
- 0x64, 0x0f, 0xec, 0x99, 0x39, 0x8d, 0x91, 0x87, 0xfc, 0x8d, 0x78, 0x59, 0xd1, 0x2f, 0x04, 0xf8,
|
|
|
- 0x26, 0x59, 0x30, 0xb9, 0xd4, 0x5d, 0x03, 0x2e, 0xcc, 0x2c, 0xd7, 0x0f, 0x8b, 0x39, 0x33, 0xe2,
|
|
|
- 0xcd, 0xf0, 0x30, 0x68, 0xce, 0xaa, 0x19, 0x82, 0xe8, 0x4f, 0x1d, 0xd7, 0xad, 0x64, 0x07, 0xd6,
|
|
|
- 0x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
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
@@ -267,6 +268,7 @@ type RemoteControlClient interface {
|
|
|
Biases(ctx context.Context, in *None, opts ...grpc.CallOption) (RemoteControl_BiasesClient, error)
|
|
|
Weights(ctx context.Context, in *None, opts ...grpc.CallOption) (RemoteControl_WeightsClient, error)
|
|
|
Predict(ctx context.Context, in *Matrix, opts ...grpc.CallOption) (*Matrix, error)
|
|
|
+ DummyStart(ctx context.Context, in *None, opts ...grpc.CallOption) (*None, error)
|
|
|
}
|
|
|
|
|
|
type remoteControlClient struct {
|
|
@@ -391,6 +393,15 @@ func (c *remoteControlClient) Predict(ctx context.Context, in *Matrix, opts ...g
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *remoteControlClient) DummyStart(ctx context.Context, in *None, opts ...grpc.CallOption) (*None, error) {
|
|
|
+ out := new(None)
|
|
|
+ err := c.cc.Invoke(ctx, "/remotecontrol.RemoteControl/dummyStart", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
// RemoteControlServer is the server API for RemoteControl service.
|
|
|
type RemoteControlServer interface {
|
|
|
GetConfiguration(context.Context, *None) (*Configuration, error)
|
|
@@ -398,6 +409,7 @@ type RemoteControlServer interface {
|
|
|
Biases(*None, RemoteControl_BiasesServer) error
|
|
|
Weights(*None, RemoteControl_WeightsServer) error
|
|
|
Predict(context.Context, *Matrix) (*Matrix, error)
|
|
|
+ DummyStart(context.Context, *None) (*None, error)
|
|
|
}
|
|
|
|
|
|
// UnimplementedRemoteControlServer can be embedded to have forward compatible implementations.
|
|
@@ -419,6 +431,9 @@ func (*UnimplementedRemoteControlServer) Weights(req *None, srv RemoteControl_We
|
|
|
func (*UnimplementedRemoteControlServer) Predict(ctx context.Context, req *Matrix) (*Matrix, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Predict not implemented")
|
|
|
}
|
|
|
+func (*UnimplementedRemoteControlServer) DummyStart(ctx context.Context, req *None) (*None, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DummyStart not implemented")
|
|
|
+}
|
|
|
|
|
|
func RegisterRemoteControlServer(s *grpc.Server, srv RemoteControlServer) {
|
|
|
s.RegisterService(&_RemoteControl_serviceDesc, srv)
|
|
@@ -523,6 +538,24 @@ func _RemoteControl_Predict_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _RemoteControl_DummyStart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(None)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(RemoteControlServer).DummyStart(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/remotecontrol.RemoteControl/DummyStart",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(RemoteControlServer).DummyStart(ctx, req.(*None))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
var _RemoteControl_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "remotecontrol.RemoteControl",
|
|
|
HandlerType: (*RemoteControlServer)(nil),
|
|
@@ -535,6 +568,10 @@ var _RemoteControl_serviceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "Predict",
|
|
|
Handler: _RemoteControl_Predict_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "dummyStart",
|
|
|
+ Handler: _RemoteControl_DummyStart_Handler,
|
|
|
+ },
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{
|
|
|
{
|