Documentation ¶
Overview ¶
Package notificationsv1alpha1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterNotificationsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNotificationsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NotificationsServiceClient) error
- func RegisterNotificationsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNotificationsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NotificationsServiceServer) error
- func RegisterNotificationsServiceServer(s grpc.ServiceRegistrar, srv NotificationsServiceServer)
- type CronTrigger
- type ExecuteOnceTrigger
- func (*ExecuteOnceTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteOnceTrigger) GetFireAt() string
- func (*ExecuteOnceTrigger) ProtoMessage()
- func (x *ExecuteOnceTrigger) ProtoReflect() protoreflect.Message
- func (x *ExecuteOnceTrigger) Reset()
- func (x *ExecuteOnceTrigger) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetBody() string
- func (x *Notification) GetChannels() *structpb.Struct
- func (x *Notification) GetConfirmText() string
- func (x *Notification) GetConfirmUrl() string
- func (x *Notification) GetCorrelationId() string
- func (x *Notification) GetCreated() string
- func (x *Notification) GetData() string
- func (x *Notification) GetFirstConfirmed() *NotificationHandledInfo
- func (x *Notification) GetFirstDelivered() *NotificationHandledInfo
- func (x *Notification) GetFirstSeen() *NotificationHandledInfo
- func (x *Notification) GetId() string
- func (x *Notification) GetImageLarge() string
- func (x *Notification) GetImageSmall() string
- func (x *Notification) GetLinkText() string
- func (x *Notification) GetLinkUrl() string
- func (x *Notification) GetProperties() *structpb.Struct
- func (x *Notification) GetSilent() bool
- func (x *Notification) GetSubject() string
- func (x *Notification) GetTrackDeliveredUrl() string
- func (x *Notification) GetTrackSeenUrl() string
- func (x *Notification) GetTrackingToken() string
- func (x *Notification) GetUpdated() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationEvent
- func (*NotificationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEvent) GetCorrelationId() string
- func (x *NotificationEvent) GetCreatorId() string
- func (x *NotificationEvent) GetData() string
- func (x *NotificationEvent) GetPreformatted() *NotificationEventFormatting
- func (x *NotificationEvent) GetProperties() *structpb.Struct
- func (x *NotificationEvent) GetScheduling() *NotificationEventScheduling
- func (x *NotificationEvent) GetSettings() *structpb.Struct
- func (x *NotificationEvent) GetSilent() bool
- func (x *NotificationEvent) GetTemplateCode() string
- func (x *NotificationEvent) GetTemplateVariants() *structpb.Struct
- func (x *NotificationEvent) GetTest() bool
- func (x *NotificationEvent) GetTimeToLiveInSeconds() int32
- func (x *NotificationEvent) GetTimestamp() string
- func (x *NotificationEvent) GetTopic() string
- func (*NotificationEvent) ProtoMessage()
- func (x *NotificationEvent) ProtoReflect() protoreflect.Message
- func (x *NotificationEvent) Reset()
- func (x *NotificationEvent) String() string
- type NotificationEventFormatting
- func (*NotificationEventFormatting) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEventFormatting) GetBody() *structpb.Struct
- func (x *NotificationEventFormatting) GetConfirmMode() string
- func (x *NotificationEventFormatting) GetConfirmText() *structpb.Struct
- func (x *NotificationEventFormatting) GetImageLarge() *structpb.Struct
- func (x *NotificationEventFormatting) GetImageSmall() *structpb.Struct
- func (x *NotificationEventFormatting) GetLinkText() *structpb.Struct
- func (x *NotificationEventFormatting) GetLinkUrl() *structpb.Struct
- func (x *NotificationEventFormatting) GetSubject() *structpb.Struct
- func (*NotificationEventFormatting) ProtoMessage()
- func (x *NotificationEventFormatting) ProtoReflect() protoreflect.Message
- func (x *NotificationEventFormatting) Reset()
- func (x *NotificationEventFormatting) String() string
- type NotificationEventScheduling
- func (*NotificationEventScheduling) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEventScheduling) GetDate() string
- func (x *NotificationEventScheduling) GetNextWeekDay() string
- func (x *NotificationEventScheduling) GetTime() string
- func (x *NotificationEventScheduling) GetType() string
- func (*NotificationEventScheduling) ProtoMessage()
- func (x *NotificationEventScheduling) ProtoReflect() protoreflect.Message
- func (x *NotificationEventScheduling) Reset()
- func (x *NotificationEventScheduling) String() string
- type NotificationHandledInfo
- func (*NotificationHandledInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationHandledInfo) GetChannel() string
- func (x *NotificationHandledInfo) GetTimestamp() string
- func (*NotificationHandledInfo) ProtoMessage()
- func (x *NotificationHandledInfo) ProtoReflect() protoreflect.Message
- func (x *NotificationHandledInfo) Reset()
- func (x *NotificationHandledInfo) String() string
- type NotificationUser
- func (*NotificationUser) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationUser) GetEmailAddress() string
- func (x *NotificationUser) GetId() string
- func (x *NotificationUser) GetLastNotification() string
- func (*NotificationUser) ProtoMessage()
- func (x *NotificationUser) ProtoReflect() protoreflect.Message
- func (x *NotificationUser) Reset()
- func (x *NotificationUser) String() string
- type NotificationsServiceClient
- type NotificationsServiceDeleteScheduledNotificationsRequest
- func (*NotificationsServiceDeleteScheduledNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceDeleteScheduledNotificationsRequest) GetIds() []string
- func (*NotificationsServiceDeleteScheduledNotificationsRequest) ProtoMessage()
- func (x *NotificationsServiceDeleteScheduledNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceDeleteScheduledNotificationsRequest) Reset()
- func (x *NotificationsServiceDeleteScheduledNotificationsRequest) String() string
- type NotificationsServiceDeleteScheduledNotificationsResponse
- func (*NotificationsServiceDeleteScheduledNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceDeleteScheduledNotificationsResponse) GetSuccess() bool
- func (*NotificationsServiceDeleteScheduledNotificationsResponse) ProtoMessage()
- func (x *NotificationsServiceDeleteScheduledNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceDeleteScheduledNotificationsResponse) Reset()
- func (x *NotificationsServiceDeleteScheduledNotificationsResponse) String() string
- type NotificationsServiceDeleteUsersRequest
- func (*NotificationsServiceDeleteUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceDeleteUsersRequest) GetIds() []string
- func (*NotificationsServiceDeleteUsersRequest) ProtoMessage()
- func (x *NotificationsServiceDeleteUsersRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceDeleteUsersRequest) Reset()
- func (x *NotificationsServiceDeleteUsersRequest) String() string
- type NotificationsServiceDeleteUsersResponse
- func (*NotificationsServiceDeleteUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceDeleteUsersResponse) GetSuccess() bool
- func (*NotificationsServiceDeleteUsersResponse) ProtoMessage()
- func (x *NotificationsServiceDeleteUsersResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceDeleteUsersResponse) Reset()
- func (x *NotificationsServiceDeleteUsersResponse) String() string
- type NotificationsServiceGetNotificationsRequest
- func (*NotificationsServiceGetNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceGetNotificationsRequest) GetChannels() []string
- func (x *NotificationsServiceGetNotificationsRequest) GetCorrelationId() string
- func (x *NotificationsServiceGetNotificationsRequest) GetLimit() int32
- func (x *NotificationsServiceGetNotificationsRequest) GetQuery() string
- func (x *NotificationsServiceGetNotificationsRequest) GetSkip() int32
- func (x *NotificationsServiceGetNotificationsRequest) GetUserId() string
- func (*NotificationsServiceGetNotificationsRequest) ProtoMessage()
- func (x *NotificationsServiceGetNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceGetNotificationsRequest) Reset()
- func (x *NotificationsServiceGetNotificationsRequest) String() string
- type NotificationsServiceGetNotificationsResponse
- func (*NotificationsServiceGetNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceGetNotificationsResponse) GetNotifications() []*Notification
- func (x *NotificationsServiceGetNotificationsResponse) GetTotal() int32
- func (*NotificationsServiceGetNotificationsResponse) ProtoMessage()
- func (x *NotificationsServiceGetNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceGetNotificationsResponse) Reset()
- func (x *NotificationsServiceGetNotificationsResponse) String() string
- type NotificationsServiceGetScheduledNotificationsRequest
- func (*NotificationsServiceGetScheduledNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceGetScheduledNotificationsRequest) GetIds() []string
- func (x *NotificationsServiceGetScheduledNotificationsRequest) GetLimit() int32
- func (x *NotificationsServiceGetScheduledNotificationsRequest) GetSkip() int32
- func (x *NotificationsServiceGetScheduledNotificationsRequest) GetUserId() string
- func (*NotificationsServiceGetScheduledNotificationsRequest) ProtoMessage()
- func (x *NotificationsServiceGetScheduledNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceGetScheduledNotificationsRequest) Reset()
- func (x *NotificationsServiceGetScheduledNotificationsRequest) String() string
- type NotificationsServiceGetScheduledNotificationsResponse
- func (*NotificationsServiceGetScheduledNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceGetScheduledNotificationsResponse) GetScheduledNotifications() []*ScheduledNotification
- func (*NotificationsServiceGetScheduledNotificationsResponse) ProtoMessage()
- func (x *NotificationsServiceGetScheduledNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceGetScheduledNotificationsResponse) Reset()
- func (x *NotificationsServiceGetScheduledNotificationsResponse) String() string
- type NotificationsServiceGetUsersRequest
- func (*NotificationsServiceGetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceGetUsersRequest) GetIds() []string
- func (*NotificationsServiceGetUsersRequest) ProtoMessage()
- func (x *NotificationsServiceGetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceGetUsersRequest) Reset()
- func (x *NotificationsServiceGetUsersRequest) String() string
- type NotificationsServiceGetUsersResponse
- func (*NotificationsServiceGetUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceGetUsersResponse) GetUsers() []*NotificationUser
- func (*NotificationsServiceGetUsersResponse) ProtoMessage()
- func (x *NotificationsServiceGetUsersResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceGetUsersResponse) Reset()
- func (x *NotificationsServiceGetUsersResponse) String() string
- type NotificationsServiceListUsersRequest
- func (*NotificationsServiceListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceListUsersRequest) GetLimit() int32
- func (x *NotificationsServiceListUsersRequest) GetSkip() int32
- func (*NotificationsServiceListUsersRequest) ProtoMessage()
- func (x *NotificationsServiceListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceListUsersRequest) Reset()
- func (x *NotificationsServiceListUsersRequest) String() string
- type NotificationsServiceListUsersResponse
- func (*NotificationsServiceListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceListUsersResponse) GetUsers() []*NotificationUser
- func (*NotificationsServiceListUsersResponse) ProtoMessage()
- func (x *NotificationsServiceListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceListUsersResponse) Reset()
- func (x *NotificationsServiceListUsersResponse) String() string
- type NotificationsServiceSendNotificationsRequest
- func (*NotificationsServiceSendNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceSendNotificationsRequest) GetNotifications() []*NotificationEvent
- func (*NotificationsServiceSendNotificationsRequest) ProtoMessage()
- func (x *NotificationsServiceSendNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceSendNotificationsRequest) Reset()
- func (x *NotificationsServiceSendNotificationsRequest) String() string
- type NotificationsServiceSendNotificationsResponse
- func (*NotificationsServiceSendNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceSendNotificationsResponse) GetSuccess() bool
- func (*NotificationsServiceSendNotificationsResponse) ProtoMessage()
- func (x *NotificationsServiceSendNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceSendNotificationsResponse) Reset()
- func (x *NotificationsServiceSendNotificationsResponse) String() string
- type NotificationsServiceServer
- type NotificationsServiceUpdateSubscriptionsRequest
- func (*NotificationsServiceUpdateSubscriptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceUpdateSubscriptionsRequest) GetSubscribe() []*SubscriptionSettings
- func (x *NotificationsServiceUpdateSubscriptionsRequest) GetUnsubscribe() []string
- func (x *NotificationsServiceUpdateSubscriptionsRequest) GetUserId() string
- func (*NotificationsServiceUpdateSubscriptionsRequest) ProtoMessage()
- func (x *NotificationsServiceUpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceUpdateSubscriptionsRequest) Reset()
- func (x *NotificationsServiceUpdateSubscriptionsRequest) String() string
- type NotificationsServiceUpdateSubscriptionsResponse
- func (*NotificationsServiceUpdateSubscriptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceUpdateSubscriptionsResponse) GetSuccess() bool
- func (*NotificationsServiceUpdateSubscriptionsResponse) ProtoMessage()
- func (x *NotificationsServiceUpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceUpdateSubscriptionsResponse) Reset()
- func (x *NotificationsServiceUpdateSubscriptionsResponse) String() string
- type NotificationsServiceUpsertScheduledNotificationsRequest
- func (*NotificationsServiceUpsertScheduledNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceUpsertScheduledNotificationsRequest) GetNotifications() []*ScheduledNotification
- func (*NotificationsServiceUpsertScheduledNotificationsRequest) ProtoMessage()
- func (x *NotificationsServiceUpsertScheduledNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceUpsertScheduledNotificationsRequest) Reset()
- func (x *NotificationsServiceUpsertScheduledNotificationsRequest) String() string
- type NotificationsServiceUpsertScheduledNotificationsResponse
- func (*NotificationsServiceUpsertScheduledNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceUpsertScheduledNotificationsResponse) GetSuccess() bool
- func (*NotificationsServiceUpsertScheduledNotificationsResponse) ProtoMessage()
- func (x *NotificationsServiceUpsertScheduledNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceUpsertScheduledNotificationsResponse) Reset()
- func (x *NotificationsServiceUpsertScheduledNotificationsResponse) String() string
- type NotificationsServiceUpsertUsersRequest
- func (*NotificationsServiceUpsertUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceUpsertUsersRequest) GetUsers() []*NotificationUser
- func (*NotificationsServiceUpsertUsersRequest) ProtoMessage()
- func (x *NotificationsServiceUpsertUsersRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceUpsertUsersRequest) Reset()
- func (x *NotificationsServiceUpsertUsersRequest) String() string
- type NotificationsServiceUpsertUsersResponse
- func (*NotificationsServiceUpsertUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationsServiceUpsertUsersResponse) GetUsers() []*NotificationUser
- func (*NotificationsServiceUpsertUsersResponse) ProtoMessage()
- func (x *NotificationsServiceUpsertUsersResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationsServiceUpsertUsersResponse) Reset()
- func (x *NotificationsServiceUpsertUsersResponse) String() string
- type ScheduledNotification
- func (*ScheduledNotification) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledNotification) GetCronTrigger() *CronTrigger
- func (x *ScheduledNotification) GetExecuteOnceTrigger() *ExecuteOnceTrigger
- func (x *ScheduledNotification) GetExpireAfter() int64
- func (x *ScheduledNotification) GetId() string
- func (x *ScheduledNotification) GetNotification() *NotificationEvent
- func (m *ScheduledNotification) GetTrigger() isScheduledNotification_Trigger
- func (x *ScheduledNotification) GetUserId() string
- func (*ScheduledNotification) ProtoMessage()
- func (x *ScheduledNotification) ProtoReflect() protoreflect.Message
- func (x *ScheduledNotification) Reset()
- func (x *ScheduledNotification) String() string
- type ScheduledNotification_CronTrigger
- type ScheduledNotification_ExecuteOnceTrigger
- type SubscriptionSettings
- func (*SubscriptionSettings) Descriptor() ([]byte, []int)deprecated
- func (x *SubscriptionSettings) GetTopicPrefix() string
- func (x *SubscriptionSettings) GetTopicSettings() *structpb.Struct
- func (*SubscriptionSettings) ProtoMessage()
- func (x *SubscriptionSettings) ProtoReflect() protoreflect.Message
- func (x *SubscriptionSettings) Reset()
- func (x *SubscriptionSettings) String() string
- type UnimplementedNotificationsServiceServer
- func (UnimplementedNotificationsServiceServer) DeleteScheduledNotifications(context.Context, *NotificationsServiceDeleteScheduledNotificationsRequest) (*NotificationsServiceDeleteScheduledNotificationsResponse, error)
- func (UnimplementedNotificationsServiceServer) DeleteUsers(context.Context, *NotificationsServiceDeleteUsersRequest) (*NotificationsServiceDeleteUsersResponse, error)
- func (UnimplementedNotificationsServiceServer) GetNotifications(context.Context, *NotificationsServiceGetNotificationsRequest) (*NotificationsServiceGetNotificationsResponse, error)
- func (UnimplementedNotificationsServiceServer) GetScheduledNotifications(context.Context, *NotificationsServiceGetScheduledNotificationsRequest) (*NotificationsServiceGetScheduledNotificationsResponse, error)
- func (UnimplementedNotificationsServiceServer) GetUsers(context.Context, *NotificationsServiceGetUsersRequest) (*NotificationsServiceGetUsersResponse, error)
- func (UnimplementedNotificationsServiceServer) ListUsers(context.Context, *NotificationsServiceListUsersRequest) (*NotificationsServiceListUsersResponse, error)
- func (UnimplementedNotificationsServiceServer) SendNotifications(context.Context, *NotificationsServiceSendNotificationsRequest) (*NotificationsServiceSendNotificationsResponse, error)
- func (UnimplementedNotificationsServiceServer) UpdateSubscriptions(context.Context, *NotificationsServiceUpdateSubscriptionsRequest) (*NotificationsServiceUpdateSubscriptionsResponse, error)
- func (UnimplementedNotificationsServiceServer) UpsertScheduledNotifications(context.Context, *NotificationsServiceUpsertScheduledNotificationsRequest) (*NotificationsServiceUpsertScheduledNotificationsResponse, error)
- func (UnimplementedNotificationsServiceServer) UpsertUsers(context.Context, *NotificationsServiceUpsertUsersRequest) (*NotificationsServiceUpsertUsersResponse, error)
- type UnsafeNotificationsServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_notifications_v1alpha1_api_proto protoreflect.FileDescriptor
var NotificationsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "notifications.v1alpha1.NotificationsService", HandlerType: (*NotificationsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpsertUsers", Handler: _NotificationsService_UpsertUsers_Handler, }, { MethodName: "GetUsers", Handler: _NotificationsService_GetUsers_Handler, }, { MethodName: "ListUsers", Handler: _NotificationsService_ListUsers_Handler, }, { MethodName: "DeleteUsers", Handler: _NotificationsService_DeleteUsers_Handler, }, { MethodName: "GetNotifications", Handler: _NotificationsService_GetNotifications_Handler, }, { MethodName: "SendNotifications", Handler: _NotificationsService_SendNotifications_Handler, }, { MethodName: "UpdateSubscriptions", Handler: _NotificationsService_UpdateSubscriptions_Handler, }, { MethodName: "UpsertScheduledNotifications", Handler: _NotificationsService_UpsertScheduledNotifications_Handler, }, { MethodName: "GetScheduledNotifications", Handler: _NotificationsService_GetScheduledNotifications_Handler, }, { MethodName: "DeleteScheduledNotifications", Handler: _NotificationsService_DeleteScheduledNotifications_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "notifications/v1alpha1/api.proto", }
NotificationsService_ServiceDesc is the grpc.ServiceDesc for NotificationsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNotificationsServiceHandler ¶
func RegisterNotificationsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNotificationsServiceHandler registers the http handlers for service NotificationsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNotificationsServiceHandlerClient ¶
func RegisterNotificationsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NotificationsServiceClient) error
RegisterNotificationsServiceHandlerClient registers the http handlers for service NotificationsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NotificationsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NotificationsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NotificationsServiceClient" to call the correct interceptors.
func RegisterNotificationsServiceHandlerFromEndpoint ¶
func RegisterNotificationsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNotificationsServiceHandlerFromEndpoint is same as RegisterNotificationsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNotificationsServiceHandlerServer ¶
func RegisterNotificationsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NotificationsServiceServer) error
RegisterNotificationsServiceHandlerServer registers the http handlers for service NotificationsService to "mux". UnaryRPC :call NotificationsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNotificationsServiceHandlerFromEndpoint instead.
func RegisterNotificationsServiceServer ¶
func RegisterNotificationsServiceServer(s grpc.ServiceRegistrar, srv NotificationsServiceServer)
Types ¶
type CronTrigger ¶
type CronTrigger struct { Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*CronTrigger) Descriptor
deprecated
func (*CronTrigger) Descriptor() ([]byte, []int)
Deprecated: Use CronTrigger.ProtoReflect.Descriptor instead.
func (*CronTrigger) GetExpression ¶
func (x *CronTrigger) GetExpression() string
func (*CronTrigger) ProtoMessage ¶
func (*CronTrigger) ProtoMessage()
func (*CronTrigger) ProtoReflect ¶
func (x *CronTrigger) ProtoReflect() protoreflect.Message
func (*CronTrigger) Reset ¶
func (x *CronTrigger) Reset()
func (*CronTrigger) String ¶
func (x *CronTrigger) String() string
type ExecuteOnceTrigger ¶
type ExecuteOnceTrigger struct { FireAt string `protobuf:"bytes,1,opt,name=fire_at,json=fireAt,proto3" json:"fire_at,omitempty"` // contains filtered or unexported fields }
func (*ExecuteOnceTrigger) Descriptor
deprecated
func (*ExecuteOnceTrigger) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteOnceTrigger.ProtoReflect.Descriptor instead.
func (*ExecuteOnceTrigger) GetFireAt ¶
func (x *ExecuteOnceTrigger) GetFireAt() string
func (*ExecuteOnceTrigger) ProtoMessage ¶
func (*ExecuteOnceTrigger) ProtoMessage()
func (*ExecuteOnceTrigger) ProtoReflect ¶
func (x *ExecuteOnceTrigger) ProtoReflect() protoreflect.Message
func (*ExecuteOnceTrigger) Reset ¶
func (x *ExecuteOnceTrigger) Reset()
func (*ExecuteOnceTrigger) String ¶
func (x *ExecuteOnceTrigger) String() string
type Notification ¶
type Notification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Silent bool `protobuf:"varint,3,opt,name=silent,proto3" json:"silent,omitempty"` Created string `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"` TrackingToken string `protobuf:"bytes,6,opt,name=tracking_token,json=trackingToken,proto3" json:"tracking_token,omitempty"` Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` ImageSmall string `protobuf:"bytes,8,opt,name=image_small,json=imageSmall,proto3" json:"image_small,omitempty"` ImageLarge string `protobuf:"bytes,9,opt,name=image_large,json=imageLarge,proto3" json:"image_large,omitempty"` TrackSeenUrl string `protobuf:"bytes,10,opt,name=track_seen_url,json=trackSeenUrl,proto3" json:"track_seen_url,omitempty"` TrackDeliveredUrl string `protobuf:"bytes,11,opt,name=track_delivered_url,json=trackDeliveredUrl,proto3" json:"track_delivered_url,omitempty"` LinkUrl string `protobuf:"bytes,12,opt,name=link_url,json=linkUrl,proto3" json:"link_url,omitempty"` LinkText string `protobuf:"bytes,13,opt,name=link_text,json=linkText,proto3" json:"link_text,omitempty"` ConfirmText string `protobuf:"bytes,14,opt,name=confirm_text,json=confirmText,proto3" json:"confirm_text,omitempty"` ConfirmUrl string `protobuf:"bytes,15,opt,name=confirm_url,json=confirmUrl,proto3" json:"confirm_url,omitempty"` Data string `protobuf:"bytes,16,opt,name=data,proto3" json:"data,omitempty"` Properties *structpb.Struct `protobuf:"bytes,17,opt,name=properties,proto3" json:"properties,omitempty"` Channels *structpb.Struct `protobuf:"bytes,18,opt,name=channels,proto3" json:"channels,omitempty"` FirstDelivered *NotificationHandledInfo `protobuf:"bytes,19,opt,name=first_delivered,json=firstDelivered,proto3" json:"first_delivered,omitempty"` FirstSeen *NotificationHandledInfo `protobuf:"bytes,20,opt,name=first_seen,json=firstSeen,proto3" json:"first_seen,omitempty"` FirstConfirmed *NotificationHandledInfo `protobuf:"bytes,21,opt,name=first_confirmed,json=firstConfirmed,proto3" json:"first_confirmed,omitempty"` CorrelationId *string `protobuf:"bytes,22,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetBody ¶
func (x *Notification) GetBody() string
func (*Notification) GetChannels ¶
func (x *Notification) GetChannels() *structpb.Struct
func (*Notification) GetConfirmText ¶
func (x *Notification) GetConfirmText() string
func (*Notification) GetConfirmUrl ¶
func (x *Notification) GetConfirmUrl() string
func (*Notification) GetCorrelationId ¶
func (x *Notification) GetCorrelationId() string
func (*Notification) GetCreated ¶
func (x *Notification) GetCreated() string
func (*Notification) GetData ¶
func (x *Notification) GetData() string
func (*Notification) GetFirstConfirmed ¶
func (x *Notification) GetFirstConfirmed() *NotificationHandledInfo
func (*Notification) GetFirstDelivered ¶
func (x *Notification) GetFirstDelivered() *NotificationHandledInfo
func (*Notification) GetFirstSeen ¶
func (x *Notification) GetFirstSeen() *NotificationHandledInfo
func (*Notification) GetId ¶
func (x *Notification) GetId() string
func (*Notification) GetImageLarge ¶
func (x *Notification) GetImageLarge() string
func (*Notification) GetImageSmall ¶
func (x *Notification) GetImageSmall() string
func (*Notification) GetLinkText ¶
func (x *Notification) GetLinkText() string
func (*Notification) GetLinkUrl ¶
func (x *Notification) GetLinkUrl() string
func (*Notification) GetProperties ¶
func (x *Notification) GetProperties() *structpb.Struct
func (*Notification) GetSilent ¶
func (x *Notification) GetSilent() bool
func (*Notification) GetSubject ¶
func (x *Notification) GetSubject() string
func (*Notification) GetTrackDeliveredUrl ¶
func (x *Notification) GetTrackDeliveredUrl() string
func (*Notification) GetTrackSeenUrl ¶
func (x *Notification) GetTrackSeenUrl() string
func (*Notification) GetTrackingToken ¶
func (x *Notification) GetTrackingToken() string
func (*Notification) GetUpdated ¶
func (x *Notification) GetUpdated() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationEvent ¶
type NotificationEvent struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` TemplateCode string `protobuf:"bytes,3,opt,name=template_code,json=templateCode,proto3" json:"template_code,omitempty"` TemplateVariants *structpb.Struct `protobuf:"bytes,4,opt,name=template_variants,json=templateVariants,proto3" json:"template_variants,omitempty"` Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Preformatted *NotificationEventFormatting `protobuf:"bytes,7,opt,name=preformatted,proto3" json:"preformatted,omitempty"` Settings *structpb.Struct `protobuf:"bytes,8,opt,name=settings,proto3" json:"settings,omitempty"` Properties *structpb.Struct `protobuf:"bytes,9,opt,name=properties,proto3" json:"properties,omitempty"` Scheduling *NotificationEventScheduling `protobuf:"bytes,10,opt,name=scheduling,proto3" json:"scheduling,omitempty"` Silent bool `protobuf:"varint,11,opt,name=silent,proto3" json:"silent,omitempty"` Test bool `protobuf:"varint,12,opt,name=test,proto3" json:"test,omitempty"` TimeToLiveInSeconds int32 `` /* 126-byte string literal not displayed */ CorrelationId *string `protobuf:"bytes,14,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"` // contains filtered or unexported fields }
func (*NotificationEvent) Descriptor
deprecated
func (*NotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEvent.ProtoReflect.Descriptor instead.
func (*NotificationEvent) GetCorrelationId ¶
func (x *NotificationEvent) GetCorrelationId() string
func (*NotificationEvent) GetCreatorId ¶
func (x *NotificationEvent) GetCreatorId() string
func (*NotificationEvent) GetData ¶
func (x *NotificationEvent) GetData() string
func (*NotificationEvent) GetPreformatted ¶
func (x *NotificationEvent) GetPreformatted() *NotificationEventFormatting
func (*NotificationEvent) GetProperties ¶
func (x *NotificationEvent) GetProperties() *structpb.Struct
func (*NotificationEvent) GetScheduling ¶
func (x *NotificationEvent) GetScheduling() *NotificationEventScheduling
func (*NotificationEvent) GetSettings ¶
func (x *NotificationEvent) GetSettings() *structpb.Struct
func (*NotificationEvent) GetSilent ¶
func (x *NotificationEvent) GetSilent() bool
func (*NotificationEvent) GetTemplateCode ¶
func (x *NotificationEvent) GetTemplateCode() string
func (*NotificationEvent) GetTemplateVariants ¶
func (x *NotificationEvent) GetTemplateVariants() *structpb.Struct
func (*NotificationEvent) GetTest ¶
func (x *NotificationEvent) GetTest() bool
func (*NotificationEvent) GetTimeToLiveInSeconds ¶
func (x *NotificationEvent) GetTimeToLiveInSeconds() int32
func (*NotificationEvent) GetTimestamp ¶
func (x *NotificationEvent) GetTimestamp() string
func (*NotificationEvent) GetTopic ¶
func (x *NotificationEvent) GetTopic() string
func (*NotificationEvent) ProtoMessage ¶
func (*NotificationEvent) ProtoMessage()
func (*NotificationEvent) ProtoReflect ¶
func (x *NotificationEvent) ProtoReflect() protoreflect.Message
func (*NotificationEvent) Reset ¶
func (x *NotificationEvent) Reset()
func (*NotificationEvent) String ¶
func (x *NotificationEvent) String() string
type NotificationEventFormatting ¶
type NotificationEventFormatting struct { Subject *structpb.Struct `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Body *structpb.Struct `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` ConfirmText *structpb.Struct `protobuf:"bytes,3,opt,name=confirm_text,json=confirmText,proto3" json:"confirm_text,omitempty"` ImageSmall *structpb.Struct `protobuf:"bytes,4,opt,name=image_small,json=imageSmall,proto3" json:"image_small,omitempty"` ImageLarge *structpb.Struct `protobuf:"bytes,5,opt,name=image_large,json=imageLarge,proto3" json:"image_large,omitempty"` LinkUrl *structpb.Struct `protobuf:"bytes,6,opt,name=link_url,json=linkUrl,proto3" json:"link_url,omitempty"` LinkText *structpb.Struct `protobuf:"bytes,7,opt,name=link_text,json=linkText,proto3" json:"link_text,omitempty"` ConfirmMode string `protobuf:"bytes,8,opt,name=confirm_mode,json=confirmMode,proto3" json:"confirm_mode,omitempty"` // contains filtered or unexported fields }
func (*NotificationEventFormatting) Descriptor
deprecated
func (*NotificationEventFormatting) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEventFormatting.ProtoReflect.Descriptor instead.
func (*NotificationEventFormatting) GetBody ¶
func (x *NotificationEventFormatting) GetBody() *structpb.Struct
func (*NotificationEventFormatting) GetConfirmMode ¶
func (x *NotificationEventFormatting) GetConfirmMode() string
func (*NotificationEventFormatting) GetConfirmText ¶
func (x *NotificationEventFormatting) GetConfirmText() *structpb.Struct
func (*NotificationEventFormatting) GetImageLarge ¶
func (x *NotificationEventFormatting) GetImageLarge() *structpb.Struct
func (*NotificationEventFormatting) GetImageSmall ¶
func (x *NotificationEventFormatting) GetImageSmall() *structpb.Struct
func (*NotificationEventFormatting) GetLinkText ¶
func (x *NotificationEventFormatting) GetLinkText() *structpb.Struct
func (*NotificationEventFormatting) GetLinkUrl ¶
func (x *NotificationEventFormatting) GetLinkUrl() *structpb.Struct
func (*NotificationEventFormatting) GetSubject ¶
func (x *NotificationEventFormatting) GetSubject() *structpb.Struct
func (*NotificationEventFormatting) ProtoMessage ¶
func (*NotificationEventFormatting) ProtoMessage()
func (*NotificationEventFormatting) ProtoReflect ¶
func (x *NotificationEventFormatting) ProtoReflect() protoreflect.Message
func (*NotificationEventFormatting) Reset ¶
func (x *NotificationEventFormatting) Reset()
func (*NotificationEventFormatting) String ¶
func (x *NotificationEventFormatting) String() string
type NotificationEventScheduling ¶
type NotificationEventScheduling struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` NextWeekDay string `protobuf:"bytes,2,opt,name=next_week_day,json=nextWeekDay,proto3" json:"next_week_day,omitempty"` Date string `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*NotificationEventScheduling) Descriptor
deprecated
func (*NotificationEventScheduling) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEventScheduling.ProtoReflect.Descriptor instead.
func (*NotificationEventScheduling) GetDate ¶
func (x *NotificationEventScheduling) GetDate() string
func (*NotificationEventScheduling) GetNextWeekDay ¶
func (x *NotificationEventScheduling) GetNextWeekDay() string
func (*NotificationEventScheduling) GetTime ¶
func (x *NotificationEventScheduling) GetTime() string
func (*NotificationEventScheduling) GetType ¶
func (x *NotificationEventScheduling) GetType() string
func (*NotificationEventScheduling) ProtoMessage ¶
func (*NotificationEventScheduling) ProtoMessage()
func (*NotificationEventScheduling) ProtoReflect ¶
func (x *NotificationEventScheduling) ProtoReflect() protoreflect.Message
func (*NotificationEventScheduling) Reset ¶
func (x *NotificationEventScheduling) Reset()
func (*NotificationEventScheduling) String ¶
func (x *NotificationEventScheduling) String() string
type NotificationHandledInfo ¶
type NotificationHandledInfo struct { Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*NotificationHandledInfo) Descriptor
deprecated
func (*NotificationHandledInfo) Descriptor() ([]byte, []int)
Deprecated: Use NotificationHandledInfo.ProtoReflect.Descriptor instead.
func (*NotificationHandledInfo) GetChannel ¶
func (x *NotificationHandledInfo) GetChannel() string
func (*NotificationHandledInfo) GetTimestamp ¶
func (x *NotificationHandledInfo) GetTimestamp() string
func (*NotificationHandledInfo) ProtoMessage ¶
func (*NotificationHandledInfo) ProtoMessage()
func (*NotificationHandledInfo) ProtoReflect ¶
func (x *NotificationHandledInfo) ProtoReflect() protoreflect.Message
func (*NotificationHandledInfo) Reset ¶
func (x *NotificationHandledInfo) Reset()
func (*NotificationHandledInfo) String ¶
func (x *NotificationHandledInfo) String() string
type NotificationUser ¶
type NotificationUser struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` LastNotification string `protobuf:"bytes,5,opt,name=last_notification,json=lastNotification,proto3" json:"last_notification,omitempty"` // contains filtered or unexported fields }
func (*NotificationUser) Descriptor
deprecated
func (*NotificationUser) Descriptor() ([]byte, []int)
Deprecated: Use NotificationUser.ProtoReflect.Descriptor instead.
func (*NotificationUser) GetEmailAddress ¶
func (x *NotificationUser) GetEmailAddress() string
func (*NotificationUser) GetId ¶
func (x *NotificationUser) GetId() string
func (*NotificationUser) GetLastNotification ¶
func (x *NotificationUser) GetLastNotification() string
func (*NotificationUser) ProtoMessage ¶
func (*NotificationUser) ProtoMessage()
func (*NotificationUser) ProtoReflect ¶
func (x *NotificationUser) ProtoReflect() protoreflect.Message
func (*NotificationUser) Reset ¶
func (x *NotificationUser) Reset()
func (*NotificationUser) String ¶
func (x *NotificationUser) String() string
type NotificationsServiceClient ¶
type NotificationsServiceClient interface { UpsertUsers(ctx context.Context, in *NotificationsServiceUpsertUsersRequest, opts ...grpc.CallOption) (*NotificationsServiceUpsertUsersResponse, error) GetUsers(ctx context.Context, in *NotificationsServiceGetUsersRequest, opts ...grpc.CallOption) (*NotificationsServiceGetUsersResponse, error) ListUsers(ctx context.Context, in *NotificationsServiceListUsersRequest, opts ...grpc.CallOption) (*NotificationsServiceListUsersResponse, error) DeleteUsers(ctx context.Context, in *NotificationsServiceDeleteUsersRequest, opts ...grpc.CallOption) (*NotificationsServiceDeleteUsersResponse, error) GetNotifications(ctx context.Context, in *NotificationsServiceGetNotificationsRequest, opts ...grpc.CallOption) (*NotificationsServiceGetNotificationsResponse, error) SendNotifications(ctx context.Context, in *NotificationsServiceSendNotificationsRequest, opts ...grpc.CallOption) (*NotificationsServiceSendNotificationsResponse, error) UpdateSubscriptions(ctx context.Context, in *NotificationsServiceUpdateSubscriptionsRequest, opts ...grpc.CallOption) (*NotificationsServiceUpdateSubscriptionsResponse, error) UpsertScheduledNotifications(ctx context.Context, in *NotificationsServiceUpsertScheduledNotificationsRequest, opts ...grpc.CallOption) (*NotificationsServiceUpsertScheduledNotificationsResponse, error) GetScheduledNotifications(ctx context.Context, in *NotificationsServiceGetScheduledNotificationsRequest, opts ...grpc.CallOption) (*NotificationsServiceGetScheduledNotificationsResponse, error) DeleteScheduledNotifications(ctx context.Context, in *NotificationsServiceDeleteScheduledNotificationsRequest, opts ...grpc.CallOption) (*NotificationsServiceDeleteScheduledNotificationsResponse, error) }
NotificationsServiceClient is the client API for NotificationsService 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 NewNotificationsServiceClient ¶
func NewNotificationsServiceClient(cc grpc.ClientConnInterface) NotificationsServiceClient
type NotificationsServiceDeleteScheduledNotificationsRequest ¶
type NotificationsServiceDeleteScheduledNotificationsRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceDeleteScheduledNotificationsRequest) Descriptor
deprecated
func (*NotificationsServiceDeleteScheduledNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceDeleteScheduledNotificationsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceDeleteScheduledNotificationsRequest) GetIds ¶
func (x *NotificationsServiceDeleteScheduledNotificationsRequest) GetIds() []string
func (*NotificationsServiceDeleteScheduledNotificationsRequest) ProtoMessage ¶
func (*NotificationsServiceDeleteScheduledNotificationsRequest) ProtoMessage()
func (*NotificationsServiceDeleteScheduledNotificationsRequest) ProtoReflect ¶
func (x *NotificationsServiceDeleteScheduledNotificationsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceDeleteScheduledNotificationsRequest) Reset ¶
func (x *NotificationsServiceDeleteScheduledNotificationsRequest) Reset()
func (*NotificationsServiceDeleteScheduledNotificationsRequest) String ¶
func (x *NotificationsServiceDeleteScheduledNotificationsRequest) String() string
type NotificationsServiceDeleteScheduledNotificationsResponse ¶
type NotificationsServiceDeleteScheduledNotificationsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceDeleteScheduledNotificationsResponse) Descriptor
deprecated
func (*NotificationsServiceDeleteScheduledNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceDeleteScheduledNotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceDeleteScheduledNotificationsResponse) GetSuccess ¶
func (x *NotificationsServiceDeleteScheduledNotificationsResponse) GetSuccess() bool
func (*NotificationsServiceDeleteScheduledNotificationsResponse) ProtoMessage ¶
func (*NotificationsServiceDeleteScheduledNotificationsResponse) ProtoMessage()
func (*NotificationsServiceDeleteScheduledNotificationsResponse) ProtoReflect ¶
func (x *NotificationsServiceDeleteScheduledNotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceDeleteScheduledNotificationsResponse) Reset ¶
func (x *NotificationsServiceDeleteScheduledNotificationsResponse) Reset()
func (*NotificationsServiceDeleteScheduledNotificationsResponse) String ¶
func (x *NotificationsServiceDeleteScheduledNotificationsResponse) String() string
type NotificationsServiceDeleteUsersRequest ¶
type NotificationsServiceDeleteUsersRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceDeleteUsersRequest) Descriptor
deprecated
func (*NotificationsServiceDeleteUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceDeleteUsersRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceDeleteUsersRequest) GetIds ¶
func (x *NotificationsServiceDeleteUsersRequest) GetIds() []string
func (*NotificationsServiceDeleteUsersRequest) ProtoMessage ¶
func (*NotificationsServiceDeleteUsersRequest) ProtoMessage()
func (*NotificationsServiceDeleteUsersRequest) ProtoReflect ¶
func (x *NotificationsServiceDeleteUsersRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceDeleteUsersRequest) Reset ¶
func (x *NotificationsServiceDeleteUsersRequest) Reset()
func (*NotificationsServiceDeleteUsersRequest) String ¶
func (x *NotificationsServiceDeleteUsersRequest) String() string
type NotificationsServiceDeleteUsersResponse ¶
type NotificationsServiceDeleteUsersResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceDeleteUsersResponse) Descriptor
deprecated
func (*NotificationsServiceDeleteUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceDeleteUsersResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceDeleteUsersResponse) GetSuccess ¶
func (x *NotificationsServiceDeleteUsersResponse) GetSuccess() bool
func (*NotificationsServiceDeleteUsersResponse) ProtoMessage ¶
func (*NotificationsServiceDeleteUsersResponse) ProtoMessage()
func (*NotificationsServiceDeleteUsersResponse) ProtoReflect ¶
func (x *NotificationsServiceDeleteUsersResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceDeleteUsersResponse) Reset ¶
func (x *NotificationsServiceDeleteUsersResponse) Reset()
func (*NotificationsServiceDeleteUsersResponse) String ¶
func (x *NotificationsServiceDeleteUsersResponse) String() string
type NotificationsServiceGetNotificationsRequest ¶
type NotificationsServiceGetNotificationsRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Channels []string `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` Skip int32 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"` CorrelationId *string `protobuf:"bytes,6,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceGetNotificationsRequest) Descriptor
deprecated
func (*NotificationsServiceGetNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceGetNotificationsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceGetNotificationsRequest) GetChannels ¶
func (x *NotificationsServiceGetNotificationsRequest) GetChannels() []string
func (*NotificationsServiceGetNotificationsRequest) GetCorrelationId ¶
func (x *NotificationsServiceGetNotificationsRequest) GetCorrelationId() string
func (*NotificationsServiceGetNotificationsRequest) GetLimit ¶
func (x *NotificationsServiceGetNotificationsRequest) GetLimit() int32
func (*NotificationsServiceGetNotificationsRequest) GetQuery ¶
func (x *NotificationsServiceGetNotificationsRequest) GetQuery() string
func (*NotificationsServiceGetNotificationsRequest) GetSkip ¶
func (x *NotificationsServiceGetNotificationsRequest) GetSkip() int32
func (*NotificationsServiceGetNotificationsRequest) GetUserId ¶
func (x *NotificationsServiceGetNotificationsRequest) GetUserId() string
func (*NotificationsServiceGetNotificationsRequest) ProtoMessage ¶
func (*NotificationsServiceGetNotificationsRequest) ProtoMessage()
func (*NotificationsServiceGetNotificationsRequest) ProtoReflect ¶
func (x *NotificationsServiceGetNotificationsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceGetNotificationsRequest) Reset ¶
func (x *NotificationsServiceGetNotificationsRequest) Reset()
func (*NotificationsServiceGetNotificationsRequest) String ¶
func (x *NotificationsServiceGetNotificationsRequest) String() string
type NotificationsServiceGetNotificationsResponse ¶
type NotificationsServiceGetNotificationsResponse struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Notifications []*Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceGetNotificationsResponse) Descriptor
deprecated
func (*NotificationsServiceGetNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceGetNotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceGetNotificationsResponse) GetNotifications ¶
func (x *NotificationsServiceGetNotificationsResponse) GetNotifications() []*Notification
func (*NotificationsServiceGetNotificationsResponse) GetTotal ¶
func (x *NotificationsServiceGetNotificationsResponse) GetTotal() int32
func (*NotificationsServiceGetNotificationsResponse) ProtoMessage ¶
func (*NotificationsServiceGetNotificationsResponse) ProtoMessage()
func (*NotificationsServiceGetNotificationsResponse) ProtoReflect ¶
func (x *NotificationsServiceGetNotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceGetNotificationsResponse) Reset ¶
func (x *NotificationsServiceGetNotificationsResponse) Reset()
func (*NotificationsServiceGetNotificationsResponse) String ¶
func (x *NotificationsServiceGetNotificationsResponse) String() string
type NotificationsServiceGetScheduledNotificationsRequest ¶
type NotificationsServiceGetScheduledNotificationsRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceGetScheduledNotificationsRequest) Descriptor
deprecated
func (*NotificationsServiceGetScheduledNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceGetScheduledNotificationsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceGetScheduledNotificationsRequest) GetIds ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) GetIds() []string
func (*NotificationsServiceGetScheduledNotificationsRequest) GetLimit ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) GetLimit() int32
func (*NotificationsServiceGetScheduledNotificationsRequest) GetSkip ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) GetSkip() int32
func (*NotificationsServiceGetScheduledNotificationsRequest) GetUserId ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) GetUserId() string
func (*NotificationsServiceGetScheduledNotificationsRequest) ProtoMessage ¶
func (*NotificationsServiceGetScheduledNotificationsRequest) ProtoMessage()
func (*NotificationsServiceGetScheduledNotificationsRequest) ProtoReflect ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceGetScheduledNotificationsRequest) Reset ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) Reset()
func (*NotificationsServiceGetScheduledNotificationsRequest) String ¶
func (x *NotificationsServiceGetScheduledNotificationsRequest) String() string
type NotificationsServiceGetScheduledNotificationsResponse ¶
type NotificationsServiceGetScheduledNotificationsResponse struct { ScheduledNotifications []*ScheduledNotification `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NotificationsServiceGetScheduledNotificationsResponse) Descriptor
deprecated
func (*NotificationsServiceGetScheduledNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceGetScheduledNotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceGetScheduledNotificationsResponse) GetScheduledNotifications ¶
func (x *NotificationsServiceGetScheduledNotificationsResponse) GetScheduledNotifications() []*ScheduledNotification
func (*NotificationsServiceGetScheduledNotificationsResponse) ProtoMessage ¶
func (*NotificationsServiceGetScheduledNotificationsResponse) ProtoMessage()
func (*NotificationsServiceGetScheduledNotificationsResponse) ProtoReflect ¶
func (x *NotificationsServiceGetScheduledNotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceGetScheduledNotificationsResponse) Reset ¶
func (x *NotificationsServiceGetScheduledNotificationsResponse) Reset()
func (*NotificationsServiceGetScheduledNotificationsResponse) String ¶
func (x *NotificationsServiceGetScheduledNotificationsResponse) String() string
type NotificationsServiceGetUsersRequest ¶
type NotificationsServiceGetUsersRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceGetUsersRequest) Descriptor
deprecated
func (*NotificationsServiceGetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceGetUsersRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceGetUsersRequest) GetIds ¶
func (x *NotificationsServiceGetUsersRequest) GetIds() []string
func (*NotificationsServiceGetUsersRequest) ProtoMessage ¶
func (*NotificationsServiceGetUsersRequest) ProtoMessage()
func (*NotificationsServiceGetUsersRequest) ProtoReflect ¶
func (x *NotificationsServiceGetUsersRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceGetUsersRequest) Reset ¶
func (x *NotificationsServiceGetUsersRequest) Reset()
func (*NotificationsServiceGetUsersRequest) String ¶
func (x *NotificationsServiceGetUsersRequest) String() string
type NotificationsServiceGetUsersResponse ¶
type NotificationsServiceGetUsersResponse struct { Users []*NotificationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceGetUsersResponse) Descriptor
deprecated
func (*NotificationsServiceGetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceGetUsersResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceGetUsersResponse) GetUsers ¶
func (x *NotificationsServiceGetUsersResponse) GetUsers() []*NotificationUser
func (*NotificationsServiceGetUsersResponse) ProtoMessage ¶
func (*NotificationsServiceGetUsersResponse) ProtoMessage()
func (*NotificationsServiceGetUsersResponse) ProtoReflect ¶
func (x *NotificationsServiceGetUsersResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceGetUsersResponse) Reset ¶
func (x *NotificationsServiceGetUsersResponse) Reset()
func (*NotificationsServiceGetUsersResponse) String ¶
func (x *NotificationsServiceGetUsersResponse) String() string
type NotificationsServiceListUsersRequest ¶
type NotificationsServiceListUsersRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Skip int32 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceListUsersRequest) Descriptor
deprecated
func (*NotificationsServiceListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceListUsersRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceListUsersRequest) GetLimit ¶
func (x *NotificationsServiceListUsersRequest) GetLimit() int32
func (*NotificationsServiceListUsersRequest) GetSkip ¶
func (x *NotificationsServiceListUsersRequest) GetSkip() int32
func (*NotificationsServiceListUsersRequest) ProtoMessage ¶
func (*NotificationsServiceListUsersRequest) ProtoMessage()
func (*NotificationsServiceListUsersRequest) ProtoReflect ¶
func (x *NotificationsServiceListUsersRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceListUsersRequest) Reset ¶
func (x *NotificationsServiceListUsersRequest) Reset()
func (*NotificationsServiceListUsersRequest) String ¶
func (x *NotificationsServiceListUsersRequest) String() string
type NotificationsServiceListUsersResponse ¶
type NotificationsServiceListUsersResponse struct { Users []*NotificationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceListUsersResponse) Descriptor
deprecated
func (*NotificationsServiceListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceListUsersResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceListUsersResponse) GetUsers ¶
func (x *NotificationsServiceListUsersResponse) GetUsers() []*NotificationUser
func (*NotificationsServiceListUsersResponse) ProtoMessage ¶
func (*NotificationsServiceListUsersResponse) ProtoMessage()
func (*NotificationsServiceListUsersResponse) ProtoReflect ¶
func (x *NotificationsServiceListUsersResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceListUsersResponse) Reset ¶
func (x *NotificationsServiceListUsersResponse) Reset()
func (*NotificationsServiceListUsersResponse) String ¶
func (x *NotificationsServiceListUsersResponse) String() string
type NotificationsServiceSendNotificationsRequest ¶
type NotificationsServiceSendNotificationsRequest struct { Notifications []*NotificationEvent `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceSendNotificationsRequest) Descriptor
deprecated
func (*NotificationsServiceSendNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceSendNotificationsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceSendNotificationsRequest) GetNotifications ¶
func (x *NotificationsServiceSendNotificationsRequest) GetNotifications() []*NotificationEvent
func (*NotificationsServiceSendNotificationsRequest) ProtoMessage ¶
func (*NotificationsServiceSendNotificationsRequest) ProtoMessage()
func (*NotificationsServiceSendNotificationsRequest) ProtoReflect ¶
func (x *NotificationsServiceSendNotificationsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceSendNotificationsRequest) Reset ¶
func (x *NotificationsServiceSendNotificationsRequest) Reset()
func (*NotificationsServiceSendNotificationsRequest) String ¶
func (x *NotificationsServiceSendNotificationsRequest) String() string
type NotificationsServiceSendNotificationsResponse ¶
type NotificationsServiceSendNotificationsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceSendNotificationsResponse) Descriptor
deprecated
func (*NotificationsServiceSendNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceSendNotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceSendNotificationsResponse) GetSuccess ¶
func (x *NotificationsServiceSendNotificationsResponse) GetSuccess() bool
func (*NotificationsServiceSendNotificationsResponse) ProtoMessage ¶
func (*NotificationsServiceSendNotificationsResponse) ProtoMessage()
func (*NotificationsServiceSendNotificationsResponse) ProtoReflect ¶
func (x *NotificationsServiceSendNotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceSendNotificationsResponse) Reset ¶
func (x *NotificationsServiceSendNotificationsResponse) Reset()
func (*NotificationsServiceSendNotificationsResponse) String ¶
func (x *NotificationsServiceSendNotificationsResponse) String() string
type NotificationsServiceServer ¶
type NotificationsServiceServer interface { UpsertUsers(context.Context, *NotificationsServiceUpsertUsersRequest) (*NotificationsServiceUpsertUsersResponse, error) GetUsers(context.Context, *NotificationsServiceGetUsersRequest) (*NotificationsServiceGetUsersResponse, error) ListUsers(context.Context, *NotificationsServiceListUsersRequest) (*NotificationsServiceListUsersResponse, error) DeleteUsers(context.Context, *NotificationsServiceDeleteUsersRequest) (*NotificationsServiceDeleteUsersResponse, error) GetNotifications(context.Context, *NotificationsServiceGetNotificationsRequest) (*NotificationsServiceGetNotificationsResponse, error) SendNotifications(context.Context, *NotificationsServiceSendNotificationsRequest) (*NotificationsServiceSendNotificationsResponse, error) UpdateSubscriptions(context.Context, *NotificationsServiceUpdateSubscriptionsRequest) (*NotificationsServiceUpdateSubscriptionsResponse, error) UpsertScheduledNotifications(context.Context, *NotificationsServiceUpsertScheduledNotificationsRequest) (*NotificationsServiceUpsertScheduledNotificationsResponse, error) GetScheduledNotifications(context.Context, *NotificationsServiceGetScheduledNotificationsRequest) (*NotificationsServiceGetScheduledNotificationsResponse, error) DeleteScheduledNotifications(context.Context, *NotificationsServiceDeleteScheduledNotificationsRequest) (*NotificationsServiceDeleteScheduledNotificationsResponse, error) }
NotificationsServiceServer is the server API for NotificationsService service. All implementations should embed UnimplementedNotificationsServiceServer for forward compatibility
type NotificationsServiceUpdateSubscriptionsRequest ¶
type NotificationsServiceUpdateSubscriptionsRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Subscribe []*SubscriptionSettings `protobuf:"bytes,2,rep,name=subscribe,proto3" json:"subscribe,omitempty"` Unsubscribe []string `protobuf:"bytes,3,rep,name=unsubscribe,proto3" json:"unsubscribe,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceUpdateSubscriptionsRequest) Descriptor
deprecated
func (*NotificationsServiceUpdateSubscriptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceUpdateSubscriptionsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceUpdateSubscriptionsRequest) GetSubscribe ¶
func (x *NotificationsServiceUpdateSubscriptionsRequest) GetSubscribe() []*SubscriptionSettings
func (*NotificationsServiceUpdateSubscriptionsRequest) GetUnsubscribe ¶
func (x *NotificationsServiceUpdateSubscriptionsRequest) GetUnsubscribe() []string
func (*NotificationsServiceUpdateSubscriptionsRequest) GetUserId ¶
func (x *NotificationsServiceUpdateSubscriptionsRequest) GetUserId() string
func (*NotificationsServiceUpdateSubscriptionsRequest) ProtoMessage ¶
func (*NotificationsServiceUpdateSubscriptionsRequest) ProtoMessage()
func (*NotificationsServiceUpdateSubscriptionsRequest) ProtoReflect ¶
func (x *NotificationsServiceUpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceUpdateSubscriptionsRequest) Reset ¶
func (x *NotificationsServiceUpdateSubscriptionsRequest) Reset()
func (*NotificationsServiceUpdateSubscriptionsRequest) String ¶
func (x *NotificationsServiceUpdateSubscriptionsRequest) String() string
type NotificationsServiceUpdateSubscriptionsResponse ¶
type NotificationsServiceUpdateSubscriptionsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceUpdateSubscriptionsResponse) Descriptor
deprecated
func (*NotificationsServiceUpdateSubscriptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceUpdateSubscriptionsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceUpdateSubscriptionsResponse) GetSuccess ¶
func (x *NotificationsServiceUpdateSubscriptionsResponse) GetSuccess() bool
func (*NotificationsServiceUpdateSubscriptionsResponse) ProtoMessage ¶
func (*NotificationsServiceUpdateSubscriptionsResponse) ProtoMessage()
func (*NotificationsServiceUpdateSubscriptionsResponse) ProtoReflect ¶
func (x *NotificationsServiceUpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceUpdateSubscriptionsResponse) Reset ¶
func (x *NotificationsServiceUpdateSubscriptionsResponse) Reset()
func (*NotificationsServiceUpdateSubscriptionsResponse) String ¶
func (x *NotificationsServiceUpdateSubscriptionsResponse) String() string
type NotificationsServiceUpsertScheduledNotificationsRequest ¶
type NotificationsServiceUpsertScheduledNotificationsRequest struct { Notifications []*ScheduledNotification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceUpsertScheduledNotificationsRequest) Descriptor
deprecated
func (*NotificationsServiceUpsertScheduledNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceUpsertScheduledNotificationsRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceUpsertScheduledNotificationsRequest) GetNotifications ¶
func (x *NotificationsServiceUpsertScheduledNotificationsRequest) GetNotifications() []*ScheduledNotification
func (*NotificationsServiceUpsertScheduledNotificationsRequest) ProtoMessage ¶
func (*NotificationsServiceUpsertScheduledNotificationsRequest) ProtoMessage()
func (*NotificationsServiceUpsertScheduledNotificationsRequest) ProtoReflect ¶
func (x *NotificationsServiceUpsertScheduledNotificationsRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceUpsertScheduledNotificationsRequest) Reset ¶
func (x *NotificationsServiceUpsertScheduledNotificationsRequest) Reset()
func (*NotificationsServiceUpsertScheduledNotificationsRequest) String ¶
func (x *NotificationsServiceUpsertScheduledNotificationsRequest) String() string
type NotificationsServiceUpsertScheduledNotificationsResponse ¶
type NotificationsServiceUpsertScheduledNotificationsResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceUpsertScheduledNotificationsResponse) Descriptor
deprecated
func (*NotificationsServiceUpsertScheduledNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceUpsertScheduledNotificationsResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceUpsertScheduledNotificationsResponse) GetSuccess ¶
func (x *NotificationsServiceUpsertScheduledNotificationsResponse) GetSuccess() bool
func (*NotificationsServiceUpsertScheduledNotificationsResponse) ProtoMessage ¶
func (*NotificationsServiceUpsertScheduledNotificationsResponse) ProtoMessage()
func (*NotificationsServiceUpsertScheduledNotificationsResponse) ProtoReflect ¶
func (x *NotificationsServiceUpsertScheduledNotificationsResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceUpsertScheduledNotificationsResponse) Reset ¶
func (x *NotificationsServiceUpsertScheduledNotificationsResponse) Reset()
func (*NotificationsServiceUpsertScheduledNotificationsResponse) String ¶
func (x *NotificationsServiceUpsertScheduledNotificationsResponse) String() string
type NotificationsServiceUpsertUsersRequest ¶
type NotificationsServiceUpsertUsersRequest struct { Users []*NotificationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceUpsertUsersRequest) Descriptor
deprecated
func (*NotificationsServiceUpsertUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceUpsertUsersRequest.ProtoReflect.Descriptor instead.
func (*NotificationsServiceUpsertUsersRequest) GetUsers ¶
func (x *NotificationsServiceUpsertUsersRequest) GetUsers() []*NotificationUser
func (*NotificationsServiceUpsertUsersRequest) ProtoMessage ¶
func (*NotificationsServiceUpsertUsersRequest) ProtoMessage()
func (*NotificationsServiceUpsertUsersRequest) ProtoReflect ¶
func (x *NotificationsServiceUpsertUsersRequest) ProtoReflect() protoreflect.Message
func (*NotificationsServiceUpsertUsersRequest) Reset ¶
func (x *NotificationsServiceUpsertUsersRequest) Reset()
func (*NotificationsServiceUpsertUsersRequest) String ¶
func (x *NotificationsServiceUpsertUsersRequest) String() string
type NotificationsServiceUpsertUsersResponse ¶
type NotificationsServiceUpsertUsersResponse struct { Users []*NotificationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*NotificationsServiceUpsertUsersResponse) Descriptor
deprecated
func (*NotificationsServiceUpsertUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationsServiceUpsertUsersResponse.ProtoReflect.Descriptor instead.
func (*NotificationsServiceUpsertUsersResponse) GetUsers ¶
func (x *NotificationsServiceUpsertUsersResponse) GetUsers() []*NotificationUser
func (*NotificationsServiceUpsertUsersResponse) ProtoMessage ¶
func (*NotificationsServiceUpsertUsersResponse) ProtoMessage()
func (*NotificationsServiceUpsertUsersResponse) ProtoReflect ¶
func (x *NotificationsServiceUpsertUsersResponse) ProtoReflect() protoreflect.Message
func (*NotificationsServiceUpsertUsersResponse) Reset ¶
func (x *NotificationsServiceUpsertUsersResponse) Reset()
func (*NotificationsServiceUpsertUsersResponse) String ¶
func (x *NotificationsServiceUpsertUsersResponse) String() string
type ScheduledNotification ¶
type ScheduledNotification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Notification *NotificationEvent `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"` ExpireAfter int64 `protobuf:"varint,4,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"` // Types that are assignable to Trigger: // *ScheduledNotification_ExecuteOnceTrigger // *ScheduledNotification_CronTrigger Trigger isScheduledNotification_Trigger `protobuf_oneof:"trigger"` // contains filtered or unexported fields }
func (*ScheduledNotification) Descriptor
deprecated
func (*ScheduledNotification) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledNotification.ProtoReflect.Descriptor instead.
func (*ScheduledNotification) GetCronTrigger ¶
func (x *ScheduledNotification) GetCronTrigger() *CronTrigger
func (*ScheduledNotification) GetExecuteOnceTrigger ¶
func (x *ScheduledNotification) GetExecuteOnceTrigger() *ExecuteOnceTrigger
func (*ScheduledNotification) GetExpireAfter ¶
func (x *ScheduledNotification) GetExpireAfter() int64
func (*ScheduledNotification) GetId ¶
func (x *ScheduledNotification) GetId() string
func (*ScheduledNotification) GetNotification ¶
func (x *ScheduledNotification) GetNotification() *NotificationEvent
func (*ScheduledNotification) GetTrigger ¶
func (m *ScheduledNotification) GetTrigger() isScheduledNotification_Trigger
func (*ScheduledNotification) GetUserId ¶
func (x *ScheduledNotification) GetUserId() string
func (*ScheduledNotification) ProtoMessage ¶
func (*ScheduledNotification) ProtoMessage()
func (*ScheduledNotification) ProtoReflect ¶
func (x *ScheduledNotification) ProtoReflect() protoreflect.Message
func (*ScheduledNotification) Reset ¶
func (x *ScheduledNotification) Reset()
func (*ScheduledNotification) String ¶
func (x *ScheduledNotification) String() string
type ScheduledNotification_CronTrigger ¶
type ScheduledNotification_CronTrigger struct {
CronTrigger *CronTrigger `protobuf:"bytes,6,opt,name=cron_trigger,json=cronTrigger,proto3,oneof"`
}
type ScheduledNotification_ExecuteOnceTrigger ¶
type ScheduledNotification_ExecuteOnceTrigger struct {
ExecuteOnceTrigger *ExecuteOnceTrigger `protobuf:"bytes,5,opt,name=execute_once_trigger,json=executeOnceTrigger,proto3,oneof"`
}
type SubscriptionSettings ¶
type SubscriptionSettings struct { TopicPrefix string `protobuf:"bytes,1,opt,name=topic_prefix,json=topicPrefix,proto3" json:"topic_prefix,omitempty"` TopicSettings *structpb.Struct `protobuf:"bytes,2,opt,name=topic_settings,json=topicSettings,proto3" json:"topic_settings,omitempty"` // contains filtered or unexported fields }
func (*SubscriptionSettings) Descriptor
deprecated
func (*SubscriptionSettings) Descriptor() ([]byte, []int)
Deprecated: Use SubscriptionSettings.ProtoReflect.Descriptor instead.
func (*SubscriptionSettings) GetTopicPrefix ¶
func (x *SubscriptionSettings) GetTopicPrefix() string
func (*SubscriptionSettings) GetTopicSettings ¶
func (x *SubscriptionSettings) GetTopicSettings() *structpb.Struct
func (*SubscriptionSettings) ProtoMessage ¶
func (*SubscriptionSettings) ProtoMessage()
func (*SubscriptionSettings) ProtoReflect ¶
func (x *SubscriptionSettings) ProtoReflect() protoreflect.Message
func (*SubscriptionSettings) Reset ¶
func (x *SubscriptionSettings) Reset()
func (*SubscriptionSettings) String ¶
func (x *SubscriptionSettings) String() string
type UnimplementedNotificationsServiceServer ¶
type UnimplementedNotificationsServiceServer struct { }
UnimplementedNotificationsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedNotificationsServiceServer) DeleteScheduledNotifications ¶
func (UnimplementedNotificationsServiceServer) DeleteScheduledNotifications(context.Context, *NotificationsServiceDeleteScheduledNotificationsRequest) (*NotificationsServiceDeleteScheduledNotificationsResponse, error)
func (UnimplementedNotificationsServiceServer) DeleteUsers ¶
func (UnimplementedNotificationsServiceServer) GetNotifications ¶
func (UnimplementedNotificationsServiceServer) GetScheduledNotifications ¶
func (UnimplementedNotificationsServiceServer) GetScheduledNotifications(context.Context, *NotificationsServiceGetScheduledNotificationsRequest) (*NotificationsServiceGetScheduledNotificationsResponse, error)
func (UnimplementedNotificationsServiceServer) SendNotifications ¶
func (UnimplementedNotificationsServiceServer) SendNotifications(context.Context, *NotificationsServiceSendNotificationsRequest) (*NotificationsServiceSendNotificationsResponse, error)
func (UnimplementedNotificationsServiceServer) UpdateSubscriptions ¶
func (UnimplementedNotificationsServiceServer) UpdateSubscriptions(context.Context, *NotificationsServiceUpdateSubscriptionsRequest) (*NotificationsServiceUpdateSubscriptionsResponse, error)
func (UnimplementedNotificationsServiceServer) UpsertScheduledNotifications ¶
func (UnimplementedNotificationsServiceServer) UpsertScheduledNotifications(context.Context, *NotificationsServiceUpsertScheduledNotificationsRequest) (*NotificationsServiceUpsertScheduledNotificationsResponse, error)
func (UnimplementedNotificationsServiceServer) UpsertUsers ¶
type UnsafeNotificationsServiceServer ¶
type UnsafeNotificationsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationsServiceServer will result in compilation errors.