github.com/microsoft/moc@v0.17.1/rpc/nodeagent/storage/moc_nodeagent_sharedfolder.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: moc_nodeagent_sharedfolder.proto
     3  
     4  package storage
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/golang/protobuf/proto"
    10  	empty "github.com/golang/protobuf/ptypes/empty"
    11  	wrappers "github.com/golang/protobuf/ptypes/wrappers"
    12  	common "github.com/microsoft/moc/rpc/common"
    13  	grpc "google.golang.org/grpc"
    14  	codes "google.golang.org/grpc/codes"
    15  	status "google.golang.org/grpc/status"
    16  	math "math"
    17  )
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var _ = proto.Marshal
    21  var _ = fmt.Errorf
    22  var _ = math.Inf
    23  
    24  // This is a compile-time assertion to ensure that this generated file
    25  // is compatible with the proto package it is being compiled against.
    26  // A compilation error at this line likely means your copy of the
    27  // proto package needs to be updated.
    28  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    29  
    30  type SharedFolderRequest struct {
    31  	SharedFolderSystems  []*SharedFolder  `protobuf:"bytes,1,rep,name=SharedFolderSystems,proto3" json:"SharedFolderSystems,omitempty"`
    32  	OperationType        common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
    33  	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    34  	XXX_unrecognized     []byte           `json:"-"`
    35  	XXX_sizecache        int32            `json:"-"`
    36  }
    37  
    38  func (m *SharedFolderRequest) Reset()         { *m = SharedFolderRequest{} }
    39  func (m *SharedFolderRequest) String() string { return proto.CompactTextString(m) }
    40  func (*SharedFolderRequest) ProtoMessage()    {}
    41  func (*SharedFolderRequest) Descriptor() ([]byte, []int) {
    42  	return fileDescriptor_db807b23661f235a, []int{0}
    43  }
    44  
    45  func (m *SharedFolderRequest) XXX_Unmarshal(b []byte) error {
    46  	return xxx_messageInfo_SharedFolderRequest.Unmarshal(m, b)
    47  }
    48  func (m *SharedFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    49  	return xxx_messageInfo_SharedFolderRequest.Marshal(b, m, deterministic)
    50  }
    51  func (m *SharedFolderRequest) XXX_Merge(src proto.Message) {
    52  	xxx_messageInfo_SharedFolderRequest.Merge(m, src)
    53  }
    54  func (m *SharedFolderRequest) XXX_Size() int {
    55  	return xxx_messageInfo_SharedFolderRequest.Size(m)
    56  }
    57  func (m *SharedFolderRequest) XXX_DiscardUnknown() {
    58  	xxx_messageInfo_SharedFolderRequest.DiscardUnknown(m)
    59  }
    60  
    61  var xxx_messageInfo_SharedFolderRequest proto.InternalMessageInfo
    62  
    63  func (m *SharedFolderRequest) GetSharedFolderSystems() []*SharedFolder {
    64  	if m != nil {
    65  		return m.SharedFolderSystems
    66  	}
    67  	return nil
    68  }
    69  
    70  func (m *SharedFolderRequest) GetOperationType() common.Operation {
    71  	if m != nil {
    72  		return m.OperationType
    73  	}
    74  	return common.Operation_GET
    75  }
    76  
    77  type SharedFolderResponse struct {
    78  	SharedFolderSystems  []*SharedFolder     `protobuf:"bytes,1,rep,name=SharedFolderSystems,proto3" json:"SharedFolderSystems,omitempty"`
    79  	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
    80  	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
    81  	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    82  	XXX_unrecognized     []byte              `json:"-"`
    83  	XXX_sizecache        int32               `json:"-"`
    84  }
    85  
    86  func (m *SharedFolderResponse) Reset()         { *m = SharedFolderResponse{} }
    87  func (m *SharedFolderResponse) String() string { return proto.CompactTextString(m) }
    88  func (*SharedFolderResponse) ProtoMessage()    {}
    89  func (*SharedFolderResponse) Descriptor() ([]byte, []int) {
    90  	return fileDescriptor_db807b23661f235a, []int{1}
    91  }
    92  
    93  func (m *SharedFolderResponse) XXX_Unmarshal(b []byte) error {
    94  	return xxx_messageInfo_SharedFolderResponse.Unmarshal(m, b)
    95  }
    96  func (m *SharedFolderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    97  	return xxx_messageInfo_SharedFolderResponse.Marshal(b, m, deterministic)
    98  }
    99  func (m *SharedFolderResponse) XXX_Merge(src proto.Message) {
   100  	xxx_messageInfo_SharedFolderResponse.Merge(m, src)
   101  }
   102  func (m *SharedFolderResponse) XXX_Size() int {
   103  	return xxx_messageInfo_SharedFolderResponse.Size(m)
   104  }
   105  func (m *SharedFolderResponse) XXX_DiscardUnknown() {
   106  	xxx_messageInfo_SharedFolderResponse.DiscardUnknown(m)
   107  }
   108  
   109  var xxx_messageInfo_SharedFolderResponse proto.InternalMessageInfo
   110  
   111  func (m *SharedFolderResponse) GetSharedFolderSystems() []*SharedFolder {
   112  	if m != nil {
   113  		return m.SharedFolderSystems
   114  	}
   115  	return nil
   116  }
   117  
   118  func (m *SharedFolderResponse) GetResult() *wrappers.BoolValue {
   119  	if m != nil {
   120  		return m.Result
   121  	}
   122  	return nil
   123  }
   124  
   125  func (m *SharedFolderResponse) GetError() string {
   126  	if m != nil {
   127  		return m.Error
   128  	}
   129  	return ""
   130  }
   131  
   132  type SharedFolder struct {
   133  	Name                 string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   134  	Id                   string         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
   135  	ContainerName        string         `protobuf:"bytes,3,opt,name=containerName,proto3" json:"containerName,omitempty"`
   136  	FolderName           string         `protobuf:"bytes,4,opt,name=folderName,proto3" json:"folderName,omitempty"`
   137  	ReadOnly             bool           `protobuf:"varint,5,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
   138  	Path                 string         `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
   139  	VirtualmachineName   string         `protobuf:"bytes,7,opt,name=virtualmachineName,proto3" json:"virtualmachineName,omitempty"`
   140  	GuestMountPath       string         `protobuf:"bytes,8,opt,name=guestMountPath,proto3" json:"guestMountPath,omitempty"`
   141  	MountTag             string         `protobuf:"bytes,9,opt,name=mountTag,proto3" json:"mountTag,omitempty"`
   142  	Status               *common.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
   143  	Entity               *common.Entity `protobuf:"bytes,11,opt,name=entity,proto3" json:"entity,omitempty"`
   144  	Tags                 *common.Tags   `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"`
   145  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   146  	XXX_unrecognized     []byte         `json:"-"`
   147  	XXX_sizecache        int32          `json:"-"`
   148  }
   149  
   150  func (m *SharedFolder) Reset()         { *m = SharedFolder{} }
   151  func (m *SharedFolder) String() string { return proto.CompactTextString(m) }
   152  func (*SharedFolder) ProtoMessage()    {}
   153  func (*SharedFolder) Descriptor() ([]byte, []int) {
   154  	return fileDescriptor_db807b23661f235a, []int{2}
   155  }
   156  
   157  func (m *SharedFolder) XXX_Unmarshal(b []byte) error {
   158  	return xxx_messageInfo_SharedFolder.Unmarshal(m, b)
   159  }
   160  func (m *SharedFolder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   161  	return xxx_messageInfo_SharedFolder.Marshal(b, m, deterministic)
   162  }
   163  func (m *SharedFolder) XXX_Merge(src proto.Message) {
   164  	xxx_messageInfo_SharedFolder.Merge(m, src)
   165  }
   166  func (m *SharedFolder) XXX_Size() int {
   167  	return xxx_messageInfo_SharedFolder.Size(m)
   168  }
   169  func (m *SharedFolder) XXX_DiscardUnknown() {
   170  	xxx_messageInfo_SharedFolder.DiscardUnknown(m)
   171  }
   172  
   173  var xxx_messageInfo_SharedFolder proto.InternalMessageInfo
   174  
   175  func (m *SharedFolder) GetName() string {
   176  	if m != nil {
   177  		return m.Name
   178  	}
   179  	return ""
   180  }
   181  
   182  func (m *SharedFolder) GetId() string {
   183  	if m != nil {
   184  		return m.Id
   185  	}
   186  	return ""
   187  }
   188  
   189  func (m *SharedFolder) GetContainerName() string {
   190  	if m != nil {
   191  		return m.ContainerName
   192  	}
   193  	return ""
   194  }
   195  
   196  func (m *SharedFolder) GetFolderName() string {
   197  	if m != nil {
   198  		return m.FolderName
   199  	}
   200  	return ""
   201  }
   202  
   203  func (m *SharedFolder) GetReadOnly() bool {
   204  	if m != nil {
   205  		return m.ReadOnly
   206  	}
   207  	return false
   208  }
   209  
   210  func (m *SharedFolder) GetPath() string {
   211  	if m != nil {
   212  		return m.Path
   213  	}
   214  	return ""
   215  }
   216  
   217  func (m *SharedFolder) GetVirtualmachineName() string {
   218  	if m != nil {
   219  		return m.VirtualmachineName
   220  	}
   221  	return ""
   222  }
   223  
   224  func (m *SharedFolder) GetGuestMountPath() string {
   225  	if m != nil {
   226  		return m.GuestMountPath
   227  	}
   228  	return ""
   229  }
   230  
   231  func (m *SharedFolder) GetMountTag() string {
   232  	if m != nil {
   233  		return m.MountTag
   234  	}
   235  	return ""
   236  }
   237  
   238  func (m *SharedFolder) GetStatus() *common.Status {
   239  	if m != nil {
   240  		return m.Status
   241  	}
   242  	return nil
   243  }
   244  
   245  func (m *SharedFolder) GetEntity() *common.Entity {
   246  	if m != nil {
   247  		return m.Entity
   248  	}
   249  	return nil
   250  }
   251  
   252  func (m *SharedFolder) GetTags() *common.Tags {
   253  	if m != nil {
   254  		return m.Tags
   255  	}
   256  	return nil
   257  }
   258  
   259  func init() {
   260  	proto.RegisterType((*SharedFolderRequest)(nil), "moc.nodeagent.storage.SharedFolderRequest")
   261  	proto.RegisterType((*SharedFolderResponse)(nil), "moc.nodeagent.storage.SharedFolderResponse")
   262  	proto.RegisterType((*SharedFolder)(nil), "moc.nodeagent.storage.SharedFolder")
   263  }
   264  
   265  func init() { proto.RegisterFile("moc_nodeagent_sharedfolder.proto", fileDescriptor_db807b23661f235a) }
   266  
   267  var fileDescriptor_db807b23661f235a = []byte{
   268  	// 564 bytes of a gzipped FileDescriptorProto
   269  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xd1, 0x6e, 0xd3, 0x30,
   270  	0x18, 0x85, 0xc9, 0xd6, 0x95, 0xd5, 0xdd, 0x2a, 0xcd, 0x0c, 0x30, 0x41, 0x9b, 0xaa, 0x0e, 0xa1,
   271  	0x0a, 0xa4, 0x04, 0x15, 0x5e, 0x80, 0xa1, 0x21, 0xb8, 0x60, 0x43, 0x59, 0xe1, 0x82, 0x9b, 0xc9,
   272  	0x75, 0xdc, 0x34, 0x5a, 0xec, 0x3f, 0xd8, 0xce, 0x50, 0xdf, 0x00, 0x89, 0xb7, 0xe0, 0x1d, 0x10,
   273  	0xf7, 0x3c, 0x19, 0xca, 0x9f, 0x10, 0xd2, 0xd1, 0x8b, 0xdd, 0x70, 0xd5, 0xfa, 0x9c, 0xcf, 0x27,
   274  	0x27, 0xce, 0x6f, 0x32, 0x54, 0x20, 0x2e, 0x34, 0xc4, 0x92, 0x27, 0x52, 0xbb, 0x0b, 0xbb, 0xe0,
   275  	0x46, 0xc6, 0x73, 0xc8, 0x62, 0x69, 0x82, 0xdc, 0x80, 0x03, 0x7a, 0x57, 0x81, 0x08, 0x1a, 0x22,
   276  	0xb0, 0x0e, 0x0c, 0x4f, 0xa4, 0x7f, 0x98, 0x00, 0x24, 0x99, 0x0c, 0x11, 0x9a, 0x15, 0xf3, 0xf0,
   277  	0x8b, 0xe1, 0x79, 0x2e, 0x8d, 0xad, 0xb6, 0xf9, 0xf7, 0xcb, 0x60, 0x01, 0x4a, 0x81, 0xae, 0x7f,
   278  	0x6a, 0xe3, 0xa0, 0x65, 0x68, 0x70, 0xe9, 0x3c, 0x15, 0xdc, 0xa5, 0x8d, 0xfd, 0xf0, 0x7a, 0xae,
   279  	0x54, 0xb9, 0x5b, 0x56, 0xe6, 0xe8, 0xbb, 0x47, 0xee, 0x9c, 0x63, 0xc5, 0xd7, 0x58, 0x31, 0x92,
   280  	0x9f, 0x0b, 0x69, 0x1d, 0xfd, 0xb0, 0x2a, 0x9f, 0x2f, 0xad, 0x93, 0xca, 0x32, 0x6f, 0xb8, 0x39,
   281  	0xee, 0x4f, 0x8e, 0x82, 0xb5, 0x6f, 0x10, 0xac, 0x04, 0xad, 0xdb, 0x4f, 0x5f, 0x90, 0xdd, 0xb3,
   282  	0x5c, 0x1a, 0xac, 0x37, 0x5d, 0xe6, 0x92, 0x6d, 0x0c, 0xbd, 0xf1, 0x60, 0x32, 0xc0, 0xc0, 0xc6,
   283  	0x89, 0x56, 0xa1, 0xd1, 0x4f, 0x8f, 0xec, 0xaf, 0x96, 0xb4, 0x39, 0x68, 0x2b, 0xff, 0x57, 0xcb,
   284  	0x09, 0xe9, 0x46, 0xd2, 0x16, 0x99, 0xc3, 0x7a, 0xfd, 0x89, 0x1f, 0x54, 0x47, 0x18, 0xfc, 0x39,
   285  	0xc2, 0xe0, 0x18, 0x20, 0xfb, 0xc8, 0xb3, 0x42, 0x46, 0x35, 0x49, 0xf7, 0xc9, 0xd6, 0x89, 0x31,
   286  	0x60, 0xd8, 0xe6, 0xd0, 0x1b, 0xf7, 0xa2, 0x6a, 0x31, 0xfa, 0xb6, 0x49, 0x76, 0xda, 0x4f, 0xa0,
   287  	0x94, 0x74, 0x34, 0x57, 0x92, 0x79, 0x48, 0xe1, 0x7f, 0x3a, 0x20, 0x1b, 0x69, 0x8c, 0x8f, 0xea,
   288  	0x45, 0x1b, 0x69, 0x4c, 0x1f, 0x91, 0x5d, 0x01, 0xda, 0xf1, 0x54, 0x4b, 0x73, 0x5a, 0xc2, 0x55,
   289  	0xe4, 0xaa, 0x48, 0x0f, 0x09, 0xa9, 0xa6, 0x0a, 0x91, 0x0e, 0x22, 0x2d, 0x85, 0xfa, 0x64, 0xdb,
   290  	0x48, 0x1e, 0x9f, 0xe9, 0x6c, 0xc9, 0xb6, 0x86, 0xde, 0x78, 0x3b, 0x6a, 0xd6, 0x94, 0x91, 0x4e,
   291  	0xce, 0xdd, 0x82, 0x75, 0xcb, 0x5d, 0xc7, 0x9d, 0xaf, 0x3f, 0x98, 0x17, 0xa1, 0x42, 0x03, 0x42,
   292  	0xaf, 0x52, 0xe3, 0x0a, 0x9e, 0x29, 0x2e, 0x16, 0xa9, 0x96, 0x98, 0x7e, 0x1b, 0xd3, 0xd7, 0x38,
   293  	0xf4, 0x31, 0x19, 0x24, 0xe5, 0xc0, 0xbc, 0x83, 0x42, 0xbb, 0xf7, 0x65, 0xe6, 0x36, 0xb2, 0xd7,
   294  	0xd4, 0xb2, 0x8d, 0x2a, 0x17, 0x53, 0x9e, 0xb0, 0x1e, 0x12, 0xcd, 0x9a, 0x1e, 0x91, 0xae, 0x75,
   295  	0xdc, 0x15, 0x96, 0x11, 0x3c, 0xee, 0x3e, 0x7e, 0xb8, 0x73, 0x94, 0xa2, 0xda, 0x2a, 0x21, 0xa9,
   296  	0x5d, 0xea, 0x96, 0xac, 0xdf, 0x82, 0x4e, 0x50, 0x8a, 0x6a, 0x8b, 0x1e, 0x90, 0x8e, 0xe3, 0x89,
   297  	0x65, 0x3b, 0x88, 0xf4, 0x10, 0x99, 0xf2, 0xc4, 0x46, 0x28, 0x4f, 0x7e, 0x79, 0x64, 0xaf, 0xfd,
   298  	0x35, 0x5e, 0x96, 0x73, 0x41, 0x05, 0xe9, 0xbe, 0xd5, 0x57, 0x70, 0x29, 0xe9, 0x93, 0x9b, 0x4c,
   299  	0x4c, 0x75, 0x41, 0xfc, 0xa7, 0x37, 0x62, 0xab, 0x39, 0x1d, 0xdd, 0xa2, 0x6f, 0xc8, 0xde, 0xab,
   300  	0x85, 0x14, 0x97, 0xa7, 0xad, 0xfb, 0x49, 0xef, 0xfd, 0x33, 0x57, 0x27, 0xe5, 0xd5, 0xf4, 0x1f,
   301  	0x60, 0x76, 0x1b, 0xfd, 0x9b, 0x74, 0xfc, 0xec, 0x53, 0x90, 0xa4, 0x6e, 0x51, 0xcc, 0x02, 0x01,
   302  	0x2a, 0x54, 0xa9, 0x30, 0x60, 0x61, 0xee, 0x42, 0x05, 0x22, 0x34, 0xb9, 0x08, 0x9b, 0x4a, 0x61,
   303  	0x5d, 0x69, 0xd6, 0xc5, 0xf8, 0xe7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x70, 0xf8, 0x48,
   304  	0x9a, 0x04, 0x00, 0x00,
   305  }
   306  
   307  // Reference imports to suppress errors if they are not otherwise used.
   308  var _ context.Context
   309  var _ grpc.ClientConn
   310  
   311  // This is a compile-time assertion to ensure that this generated file
   312  // is compatible with the grpc package it is being compiled against.
   313  const _ = grpc.SupportPackageIsVersion4
   314  
   315  // SharedFolderAgentClient is the client API for SharedFolderAgent service.
   316  //
   317  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   318  type SharedFolderAgentClient interface {
   319  	Invoke(ctx context.Context, in *SharedFolderRequest, opts ...grpc.CallOption) (*SharedFolderResponse, error)
   320  	CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error)
   321  }
   322  
   323  type sharedFolderAgentClient struct {
   324  	cc *grpc.ClientConn
   325  }
   326  
   327  func NewSharedFolderAgentClient(cc *grpc.ClientConn) SharedFolderAgentClient {
   328  	return &sharedFolderAgentClient{cc}
   329  }
   330  
   331  func (c *sharedFolderAgentClient) Invoke(ctx context.Context, in *SharedFolderRequest, opts ...grpc.CallOption) (*SharedFolderResponse, error) {
   332  	out := new(SharedFolderResponse)
   333  	err := c.cc.Invoke(ctx, "/moc.nodeagent.storage.SharedFolderAgent/Invoke", in, out, opts...)
   334  	if err != nil {
   335  		return nil, err
   336  	}
   337  	return out, nil
   338  }
   339  
   340  func (c *sharedFolderAgentClient) CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error) {
   341  	out := new(common.NotificationResponse)
   342  	err := c.cc.Invoke(ctx, "/moc.nodeagent.storage.SharedFolderAgent/CheckNotification", in, out, opts...)
   343  	if err != nil {
   344  		return nil, err
   345  	}
   346  	return out, nil
   347  }
   348  
   349  // SharedFolderAgentServer is the server API for SharedFolderAgent service.
   350  type SharedFolderAgentServer interface {
   351  	Invoke(context.Context, *SharedFolderRequest) (*SharedFolderResponse, error)
   352  	CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error)
   353  }
   354  
   355  // UnimplementedSharedFolderAgentServer can be embedded to have forward compatible implementations.
   356  type UnimplementedSharedFolderAgentServer struct {
   357  }
   358  
   359  func (*UnimplementedSharedFolderAgentServer) Invoke(ctx context.Context, req *SharedFolderRequest) (*SharedFolderResponse, error) {
   360  	return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented")
   361  }
   362  func (*UnimplementedSharedFolderAgentServer) CheckNotification(ctx context.Context, req *empty.Empty) (*common.NotificationResponse, error) {
   363  	return nil, status.Errorf(codes.Unimplemented, "method CheckNotification not implemented")
   364  }
   365  
   366  func RegisterSharedFolderAgentServer(s *grpc.Server, srv SharedFolderAgentServer) {
   367  	s.RegisterService(&_SharedFolderAgent_serviceDesc, srv)
   368  }
   369  
   370  func _SharedFolderAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   371  	in := new(SharedFolderRequest)
   372  	if err := dec(in); err != nil {
   373  		return nil, err
   374  	}
   375  	if interceptor == nil {
   376  		return srv.(SharedFolderAgentServer).Invoke(ctx, in)
   377  	}
   378  	info := &grpc.UnaryServerInfo{
   379  		Server:     srv,
   380  		FullMethod: "/moc.nodeagent.storage.SharedFolderAgent/Invoke",
   381  	}
   382  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   383  		return srv.(SharedFolderAgentServer).Invoke(ctx, req.(*SharedFolderRequest))
   384  	}
   385  	return interceptor(ctx, in, info, handler)
   386  }
   387  
   388  func _SharedFolderAgent_CheckNotification_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   389  	in := new(empty.Empty)
   390  	if err := dec(in); err != nil {
   391  		return nil, err
   392  	}
   393  	if interceptor == nil {
   394  		return srv.(SharedFolderAgentServer).CheckNotification(ctx, in)
   395  	}
   396  	info := &grpc.UnaryServerInfo{
   397  		Server:     srv,
   398  		FullMethod: "/moc.nodeagent.storage.SharedFolderAgent/CheckNotification",
   399  	}
   400  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   401  		return srv.(SharedFolderAgentServer).CheckNotification(ctx, req.(*empty.Empty))
   402  	}
   403  	return interceptor(ctx, in, info, handler)
   404  }
   405  
   406  var _SharedFolderAgent_serviceDesc = grpc.ServiceDesc{
   407  	ServiceName: "moc.nodeagent.storage.SharedFolderAgent",
   408  	HandlerType: (*SharedFolderAgentServer)(nil),
   409  	Methods: []grpc.MethodDesc{
   410  		{
   411  			MethodName: "Invoke",
   412  			Handler:    _SharedFolderAgent_Invoke_Handler,
   413  		},
   414  		{
   415  			MethodName: "CheckNotification",
   416  			Handler:    _SharedFolderAgent_CheckNotification_Handler,
   417  		},
   418  	},
   419  	Streams:  []grpc.StreamDesc{},
   420  	Metadata: "moc_nodeagent_sharedfolder.proto",
   421  }