Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
- type ListMyNotificationsRequest
- func (*ListMyNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMyNotificationsRequest) GetPage() int64
- func (x *ListMyNotificationsRequest) GetPageSize() int64
- func (*ListMyNotificationsRequest) ProtoMessage()
- func (x *ListMyNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMyNotificationsRequest) Reset()
- func (x *ListMyNotificationsRequest) String() string
- type MockNotificationServiceClient
- func (m *MockNotificationServiceClient) EXPECT() *MockNotificationServiceClientMockRecorder
- func (m *MockNotificationServiceClient) ListMyNotifications(ctx context.Context, in *ListMyNotificationsRequest, opts ...grpc.CallOption) (NotificationService_ListMyNotificationsClient, error)
- func (m *MockNotificationServiceClient) SendNotification(ctx context.Context, in *SendNotificationRequest, opts ...grpc.CallOption) (*model.Notification, error)
- type MockNotificationServiceClientMockRecorder
- type MockNotificationServiceServer
- func (m *MockNotificationServiceServer) EXPECT() *MockNotificationServiceServerMockRecorder
- func (m *MockNotificationServiceServer) ListMyNotifications(blob *ListMyNotificationsRequest, ...) error
- func (m *MockNotificationServiceServer) SendNotification(ctx context.Context, in *SendNotificationRequest) (*model.Notification, error)
- type MockNotificationServiceServerMockRecorder
- type MockNotificationService_ListMyNotificationsClient
- func (m *MockNotificationService_ListMyNotificationsClient) CloseSend() error
- func (m *MockNotificationService_ListMyNotificationsClient) Context() context.Context
- func (m *MockNotificationService_ListMyNotificationsClient) EXPECT() *MockNotificationService_ListMyNotificationsClientMockRecorder
- func (m *MockNotificationService_ListMyNotificationsClient) Header() (metadata.MD, error)
- func (m *MockNotificationService_ListMyNotificationsClient) Recv() (*model.Notification, error)
- func (m *MockNotificationService_ListMyNotificationsClient) RecvMsg(arg0 interface{}) error
- func (m *MockNotificationService_ListMyNotificationsClient) SendMsg(arg0 interface{}) error
- func (m *MockNotificationService_ListMyNotificationsClient) Trailer() metadata.MD
- type MockNotificationService_ListMyNotificationsClientMockRecorder
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Context() *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Header() *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Recv() *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Trailer() *gomock.Call
- type MockNotificationService_ListMyNotificationsServer
- func (m *MockNotificationService_ListMyNotificationsServer) Context() context.Context
- func (m *MockNotificationService_ListMyNotificationsServer) EXPECT() *MockNotificationService_ListMyNotificationsServerMockRecorder
- func (m *MockNotificationService_ListMyNotificationsServer) RecvMsg(arg0 interface{}) error
- func (m *MockNotificationService_ListMyNotificationsServer) Send(arg0 *model.Notification) error
- func (m *MockNotificationService_ListMyNotificationsServer) SendHeader(arg0 metadata.MD) error
- func (m *MockNotificationService_ListMyNotificationsServer) SendMsg(arg0 interface{}) error
- func (m *MockNotificationService_ListMyNotificationsServer) SetHeader(arg0 metadata.MD) error
- func (m *MockNotificationService_ListMyNotificationsServer) SetTrailer(arg0 metadata.MD)
- type MockNotificationService_ListMyNotificationsServerMockRecorder
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) Context() *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type NotificationServiceClient
- type NotificationServiceServer
- type NotificationService_ListMyNotificationsClient
- type NotificationService_ListMyNotificationsServer
- type SendNotificationRequest
- func (*SendNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendNotificationRequest) GetMessage() string
- func (x *SendNotificationRequest) GetOrderId() int64
- func (x *SendNotificationRequest) GetType() string
- func (x *SendNotificationRequest) GetUserId() string
- func (*SendNotificationRequest) ProtoMessage()
- func (x *SendNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *SendNotificationRequest) Reset()
- func (x *SendNotificationRequest) String() string
- type UnimplementedNotificationServiceServer
- type UnsafeNotificationServiceServer
Constants ¶
const ( NotificationService_SendNotification_FullMethodName = "/notification.NotificationService/SendNotification" NotificationService_ListMyNotifications_FullMethodName = "/notification.NotificationService/ListMyNotifications" )
Variables ¶
var File_domain_notification_biz_notification_proto protoreflect.FileDescriptor
var NotificationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "notification.NotificationService", HandlerType: (*NotificationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendNotification", Handler: _NotificationService_SendNotification_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListMyNotifications", Handler: _NotificationService_ListMyNotifications_Handler, ServerStreams: true, }, }, Metadata: "domain/notification/biz/notification.proto", }
NotificationService_ServiceDesc is the grpc.ServiceDesc for NotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNotificationServiceServer ¶
func RegisterNotificationServiceServer(s grpc.ServiceRegistrar, srv NotificationServiceServer)
Types ¶
type ListMyNotificationsRequest ¶
type ListMyNotificationsRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListMyNotificationsRequest) Descriptor
deprecated
func (*ListMyNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMyNotificationsRequest.ProtoReflect.Descriptor instead.
func (*ListMyNotificationsRequest) GetPage ¶
func (x *ListMyNotificationsRequest) GetPage() int64
func (*ListMyNotificationsRequest) GetPageSize ¶
func (x *ListMyNotificationsRequest) GetPageSize() int64
func (*ListMyNotificationsRequest) ProtoMessage ¶
func (*ListMyNotificationsRequest) ProtoMessage()
func (*ListMyNotificationsRequest) ProtoReflect ¶
func (x *ListMyNotificationsRequest) ProtoReflect() protoreflect.Message
func (*ListMyNotificationsRequest) Reset ¶
func (x *ListMyNotificationsRequest) Reset()
func (*ListMyNotificationsRequest) String ¶
func (x *ListMyNotificationsRequest) String() string
type MockNotificationServiceClient ¶
type MockNotificationServiceClient struct {
// contains filtered or unexported fields
}
MockNotificationServiceClient is a mock of NotificationServiceClient interface.
func NewMockNotificationServiceClient ¶
func NewMockNotificationServiceClient(ctrl *gomock.Controller) *MockNotificationServiceClient
NewMockNotificationServiceClient creates a new mock instance.
func (*MockNotificationServiceClient) EXPECT ¶
func (m *MockNotificationServiceClient) EXPECT() *MockNotificationServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotificationServiceClient) ListMyNotifications ¶
func (m *MockNotificationServiceClient) ListMyNotifications(ctx context.Context, in *ListMyNotificationsRequest, opts ...grpc.CallOption) (NotificationService_ListMyNotificationsClient, error)
ListMyNotifications mocks base method.
func (*MockNotificationServiceClient) SendNotification ¶
func (m *MockNotificationServiceClient) SendNotification(ctx context.Context, in *SendNotificationRequest, opts ...grpc.CallOption) (*model.Notification, error)
SendNotification mocks base method.
type MockNotificationServiceClientMockRecorder ¶
type MockNotificationServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationServiceClientMockRecorder is the mock recorder for MockNotificationServiceClient.
func (*MockNotificationServiceClientMockRecorder) ListMyNotifications ¶
func (mr *MockNotificationServiceClientMockRecorder) ListMyNotifications(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListMyNotifications indicates an expected call of ListMyNotifications.
func (*MockNotificationServiceClientMockRecorder) SendNotification ¶
func (mr *MockNotificationServiceClientMockRecorder) SendNotification(ctx, in interface{}, opts ...interface{}) *gomock.Call
SendNotification indicates an expected call of SendNotification.
type MockNotificationServiceServer ¶
type MockNotificationServiceServer struct {
// contains filtered or unexported fields
}
MockNotificationServiceServer is a mock of NotificationServiceServer interface.
func NewMockNotificationServiceServer ¶
func NewMockNotificationServiceServer(ctrl *gomock.Controller) *MockNotificationServiceServer
NewMockNotificationServiceServer creates a new mock instance.
func (*MockNotificationServiceServer) EXPECT ¶
func (m *MockNotificationServiceServer) EXPECT() *MockNotificationServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotificationServiceServer) ListMyNotifications ¶
func (m *MockNotificationServiceServer) ListMyNotifications(blob *ListMyNotificationsRequest, server NotificationService_ListMyNotificationsServer) error
ListMyNotifications mocks base method.
func (*MockNotificationServiceServer) SendNotification ¶
func (m *MockNotificationServiceServer) SendNotification(ctx context.Context, in *SendNotificationRequest) (*model.Notification, error)
SendNotification mocks base method.
type MockNotificationServiceServerMockRecorder ¶
type MockNotificationServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationServiceServerMockRecorder is the mock recorder for MockNotificationServiceServer.
func (*MockNotificationServiceServerMockRecorder) ListMyNotifications ¶
func (mr *MockNotificationServiceServerMockRecorder) ListMyNotifications(blob, server interface{}) *gomock.Call
ListMyNotifications indicates an expected call of ListMyNotifications.
func (*MockNotificationServiceServerMockRecorder) SendNotification ¶
func (mr *MockNotificationServiceServerMockRecorder) SendNotification(ctx, in interface{}) *gomock.Call
SendNotification indicates an expected call of SendNotification.
type MockNotificationService_ListMyNotificationsClient ¶
type MockNotificationService_ListMyNotificationsClient struct {
// contains filtered or unexported fields
}
MockNotificationService_ListMyNotificationsClient is a mock of NotificationService_ListMyNotificationsClient interface.
func NewMockNotificationService_ListMyNotificationsClient ¶
func NewMockNotificationService_ListMyNotificationsClient(ctrl *gomock.Controller) *MockNotificationService_ListMyNotificationsClient
NewMockNotificationService_ListMyNotificationsClient creates a new mock instance.
func (*MockNotificationService_ListMyNotificationsClient) CloseSend ¶
func (m *MockNotificationService_ListMyNotificationsClient) CloseSend() error
CloseSend mocks base method.
func (*MockNotificationService_ListMyNotificationsClient) Context ¶
func (m *MockNotificationService_ListMyNotificationsClient) Context() context.Context
Context mocks base method.
func (*MockNotificationService_ListMyNotificationsClient) EXPECT ¶
func (m *MockNotificationService_ListMyNotificationsClient) EXPECT() *MockNotificationService_ListMyNotificationsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotificationService_ListMyNotificationsClient) Header ¶
func (m *MockNotificationService_ListMyNotificationsClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockNotificationService_ListMyNotificationsClient) Recv ¶
func (m *MockNotificationService_ListMyNotificationsClient) Recv() (*model.Notification, error)
Recv mocks base method.
func (*MockNotificationService_ListMyNotificationsClient) RecvMsg ¶
func (m *MockNotificationService_ListMyNotificationsClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockNotificationService_ListMyNotificationsClient) SendMsg ¶
func (m *MockNotificationService_ListMyNotificationsClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockNotificationService_ListMyNotificationsClient) Trailer ¶
func (m *MockNotificationService_ListMyNotificationsClient) Trailer() metadata.MD
Trailer mocks base method.
type MockNotificationService_ListMyNotificationsClientMockRecorder ¶
type MockNotificationService_ListMyNotificationsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationService_ListMyNotificationsClientMockRecorder is the mock recorder for MockNotificationService_ListMyNotificationsClient.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) CloseSend ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) Context ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) Header ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) Recv ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) RecvMsg ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) SendMsg ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockNotificationService_ListMyNotificationsClientMockRecorder) Trailer ¶
func (mr *MockNotificationService_ListMyNotificationsClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockNotificationService_ListMyNotificationsServer ¶
type MockNotificationService_ListMyNotificationsServer struct {
// contains filtered or unexported fields
}
MockNotificationService_ListMyNotificationsServer is a mock of NotificationService_ListMyNotificationsServer interface.
func NewMockNotificationService_ListMyNotificationsServer ¶
func NewMockNotificationService_ListMyNotificationsServer(ctrl *gomock.Controller) *MockNotificationService_ListMyNotificationsServer
NewMockNotificationService_ListMyNotificationsServer creates a new mock instance.
func (*MockNotificationService_ListMyNotificationsServer) Context ¶
func (m *MockNotificationService_ListMyNotificationsServer) Context() context.Context
Context mocks base method.
func (*MockNotificationService_ListMyNotificationsServer) EXPECT ¶
func (m *MockNotificationService_ListMyNotificationsServer) EXPECT() *MockNotificationService_ListMyNotificationsServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotificationService_ListMyNotificationsServer) RecvMsg ¶
func (m *MockNotificationService_ListMyNotificationsServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockNotificationService_ListMyNotificationsServer) Send ¶
func (m *MockNotificationService_ListMyNotificationsServer) Send(arg0 *model.Notification) error
Send mocks base method.
func (*MockNotificationService_ListMyNotificationsServer) SendHeader ¶
func (m *MockNotificationService_ListMyNotificationsServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockNotificationService_ListMyNotificationsServer) SendMsg ¶
func (m *MockNotificationService_ListMyNotificationsServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockNotificationService_ListMyNotificationsServer) SetHeader ¶
func (m *MockNotificationService_ListMyNotificationsServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockNotificationService_ListMyNotificationsServer) SetTrailer ¶
func (m *MockNotificationService_ListMyNotificationsServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockNotificationService_ListMyNotificationsServerMockRecorder ¶
type MockNotificationService_ListMyNotificationsServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationService_ListMyNotificationsServerMockRecorder is the mock recorder for MockNotificationService_ListMyNotificationsServer.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) Context ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) RecvMsg ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) Send ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) SendHeader ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) SendMsg ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) SetHeader ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockNotificationService_ListMyNotificationsServerMockRecorder) SetTrailer ¶
func (mr *MockNotificationService_ListMyNotificationsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type NotificationServiceClient ¶
type NotificationServiceClient interface { SendNotification(ctx context.Context, in *SendNotificationRequest, opts ...grpc.CallOption) (*model.Notification, error) ListMyNotifications(ctx context.Context, in *ListMyNotificationsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[model.Notification], error) }
NotificationServiceClient is the client API for NotificationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNotificationServiceClient ¶
func NewNotificationServiceClient(cc grpc.ClientConnInterface) NotificationServiceClient
type NotificationServiceServer ¶
type NotificationServiceServer interface { SendNotification(context.Context, *SendNotificationRequest) (*model.Notification, error) ListMyNotifications(*ListMyNotificationsRequest, grpc.ServerStreamingServer[model.Notification]) error }
NotificationServiceServer is the server API for NotificationService service. All implementations should embed UnimplementedNotificationServiceServer for forward compatibility.
type NotificationService_ListMyNotificationsClient ¶
type NotificationService_ListMyNotificationsClient = grpc.ServerStreamingClient[model.Notification]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type NotificationService_ListMyNotificationsServer ¶
type NotificationService_ListMyNotificationsServer = grpc.ServerStreamingServer[model.Notification]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SendNotificationRequest ¶
type SendNotificationRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` OrderId int64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SendNotificationRequest) Descriptor
deprecated
func (*SendNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendNotificationRequest.ProtoReflect.Descriptor instead.
func (*SendNotificationRequest) GetMessage ¶
func (x *SendNotificationRequest) GetMessage() string
func (*SendNotificationRequest) GetOrderId ¶
func (x *SendNotificationRequest) GetOrderId() int64
func (*SendNotificationRequest) GetType ¶
func (x *SendNotificationRequest) GetType() string
func (*SendNotificationRequest) GetUserId ¶
func (x *SendNotificationRequest) GetUserId() string
func (*SendNotificationRequest) ProtoMessage ¶
func (*SendNotificationRequest) ProtoMessage()
func (*SendNotificationRequest) ProtoReflect ¶
func (x *SendNotificationRequest) ProtoReflect() protoreflect.Message
func (*SendNotificationRequest) Reset ¶
func (x *SendNotificationRequest) Reset()
func (*SendNotificationRequest) String ¶
func (x *SendNotificationRequest) String() string
type UnimplementedNotificationServiceServer ¶
type UnimplementedNotificationServiceServer struct{}
UnimplementedNotificationServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNotificationServiceServer) ListMyNotifications ¶
func (UnimplementedNotificationServiceServer) ListMyNotifications(*ListMyNotificationsRequest, grpc.ServerStreamingServer[model.Notification]) error
func (UnimplementedNotificationServiceServer) SendNotification ¶
func (UnimplementedNotificationServiceServer) SendNotification(context.Context, *SendNotificationRequest) (*model.Notification, error)
type UnsafeNotificationServiceServer ¶
type UnsafeNotificationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationServiceServer will result in compilation errors.