Documentation ¶
Index ¶
- Variables
- func RegisterNotificationAPIServiceServer(s grpc.ServiceRegistrar, srv NotificationAPIServiceServer)
- type CancelScheduledPushToCircleJobRequest
- func (*CancelScheduledPushToCircleJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelScheduledPushToCircleJobRequest) GetJobId() string
- func (*CancelScheduledPushToCircleJobRequest) ProtoMessage()
- func (x *CancelScheduledPushToCircleJobRequest) ProtoReflect() protoreflect.Message
- func (x *CancelScheduledPushToCircleJobRequest) Reset()
- func (x *CancelScheduledPushToCircleJobRequest) String() string
- type CancelScheduledPushToCircleJobResponse
- func (*CancelScheduledPushToCircleJobResponse) Descriptor() ([]byte, []int)deprecated
- func (*CancelScheduledPushToCircleJobResponse) ProtoMessage()
- func (x *CancelScheduledPushToCircleJobResponse) ProtoReflect() protoreflect.Message
- func (x *CancelScheduledPushToCircleJobResponse) Reset()
- func (x *CancelScheduledPushToCircleJobResponse) String() string
- type CirclePush
- func (*CirclePush) Descriptor() ([]byte, []int)deprecated
- func (x *CirclePush) GetBody() string
- func (x *CirclePush) GetCircleId() string
- func (x *CirclePush) GetImageUrl() string
- func (x *CirclePush) GetPostId() string
- func (x *CirclePush) GetTitle() string
- func (*CirclePush) ProtoMessage()
- func (x *CirclePush) ProtoReflect() protoreflect.Message
- func (x *CirclePush) Reset()
- func (x *CirclePush) String() string
- type DeleteRequest
- type DeleteResponse
- type DeviceTokenCleaningRequest
- func (*DeviceTokenCleaningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceTokenCleaningRequest) GetRoutineCount() string
- func (x *DeviceTokenCleaningRequest) GetUserId() string
- func (*DeviceTokenCleaningRequest) ProtoMessage()
- func (x *DeviceTokenCleaningRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceTokenCleaningRequest) Reset()
- func (x *DeviceTokenCleaningRequest) String() string
- type DeviceTokenCleaningResponse
- type GetNotificationSettingsRequest
- func (*GetNotificationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetNotificationSettingsRequest) ProtoMessage()
- func (x *GetNotificationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationSettingsRequest) Reset()
- func (x *GetNotificationSettingsRequest) String() string
- type GetNotificationSettingsResponse
- func (*GetNotificationSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationSettingsResponse) GetNotificationSettings() *NotificationSettings
- func (*GetNotificationSettingsResponse) ProtoMessage()
- func (x *GetNotificationSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotificationSettingsResponse) Reset()
- func (x *GetNotificationSettingsResponse) String() string
- type GetUnreadCountRequest
- type GetUnreadCountResponse
- func (*GetUnreadCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnreadCountResponse) GetCount() uint32
- func (*GetUnreadCountResponse) ProtoMessage()
- func (x *GetUnreadCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetUnreadCountResponse) Reset()
- func (x *GetUnreadCountResponse) String() string
- type JobStatus
- type ListPushToCircleJobsRequest
- func (*ListPushToCircleJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPushToCircleJobsRequest) GetCursor() *PageCursor
- func (x *ListPushToCircleJobsRequest) GetStatus() JobStatus
- func (*ListPushToCircleJobsRequest) ProtoMessage()
- func (x *ListPushToCircleJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPushToCircleJobsRequest) Reset()
- func (x *ListPushToCircleJobsRequest) String() string
- type ListPushToCircleJobsResponse
- func (*ListPushToCircleJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPushToCircleJobsResponse) GetInfo() *PageInfo
- func (x *ListPushToCircleJobsResponse) GetJobs() []*ListPushToCircleJobsResponse_CirclePushJobResponse
- func (*ListPushToCircleJobsResponse) ProtoMessage()
- func (x *ListPushToCircleJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPushToCircleJobsResponse) Reset()
- func (x *ListPushToCircleJobsResponse) String() string
- type ListPushToCircleJobsResponse_CirclePushJobResponse
- func (*ListPushToCircleJobsResponse_CirclePushJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetCreatedAt() string
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetId() string
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetPayload() *CirclePush
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetScheduledAt() string
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetSchedulerId() string
- func (*ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoMessage()
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoReflect() protoreflect.Message
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) Reset()
- func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) String() string
- type ListRequest
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetInfo() *PageInfo
- func (x *ListResponse) GetNotifications() []*Notification
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type LocalTestingRequest
- type LocalTestingResponse
- type MigrateUserRequest
- func (*MigrateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateUserRequest) GetDeviceToken() string
- func (x *MigrateUserRequest) GetUserId() string
- func (*MigrateUserRequest) ProtoMessage()
- func (x *MigrateUserRequest) ProtoReflect() protoreflect.Message
- func (x *MigrateUserRequest) Reset()
- func (x *MigrateUserRequest) String() string
- type MigrateUserResponse
- type MigrationJobRequest
- func (*MigrationJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MigrationJobRequest) GetRoutineCount() int64
- func (*MigrationJobRequest) ProtoMessage()
- func (x *MigrationJobRequest) ProtoReflect() protoreflect.Message
- func (x *MigrationJobRequest) Reset()
- func (x *MigrationJobRequest) String() string
- type MigrationJobResponse
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetAction() string
- func (x *Notification) GetCreatedAt() string
- func (x *Notification) GetFromId() string
- func (x *Notification) GetFromType() Type
- func (x *Notification) GetId() string
- func (x *Notification) GetImageUrl() string
- func (x *Notification) GetReadAt() string
- func (x *Notification) GetReceiverId() string
- func (x *Notification) GetReceiverType() Type
- func (x *Notification) GetSourceId() string
- func (x *Notification) GetSourceType() Type
- func (x *Notification) GetSubSourceId() string
- func (x *Notification) GetSubSourceType() Type
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationAPIServiceClient
- type NotificationAPIServiceServer
- type NotificationSettings
- func (*NotificationSettings) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationSettings) GetCircleChats() bool
- func (x *NotificationSettings) GetCircleInvites() bool
- func (x *NotificationSettings) GetCircleJoins() bool
- func (x *NotificationSettings) GetCommentLikes() bool
- func (x *NotificationSettings) GetComments() bool
- func (x *NotificationSettings) GetDirectMessages() bool
- func (x *NotificationSettings) GetGlitterBombs() bool
- func (x *NotificationSettings) GetGroupChats() bool
- func (x *NotificationSettings) GetLikes() bool
- func (x *NotificationSettings) GetMentions() bool
- func (x *NotificationSettings) GetNewFollowers() bool
- func (x *NotificationSettings) GetNotificationId() string
- func (x *NotificationSettings) GetPostSaves() bool
- func (x *NotificationSettings) GetPostShares() bool
- func (x *NotificationSettings) GetPosts() bool
- func (x *NotificationSettings) GetSeeds() bool
- func (*NotificationSettings) ProtoMessage()
- func (x *NotificationSettings) ProtoReflect() protoreflect.Message
- func (x *NotificationSettings) Reset()
- func (x *NotificationSettings) String() string
- type PageCursor
- func (*PageCursor) Descriptor() ([]byte, []int)deprecated
- func (x *PageCursor) GetDir() PageDir
- func (x *PageCursor) GetLastId() string
- func (x *PageCursor) GetLimit() uint32
- func (*PageCursor) ProtoMessage()
- func (x *PageCursor) ProtoReflect() protoreflect.Message
- func (x *PageCursor) Reset()
- func (x *PageCursor) String() string
- type PageDir
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetFirstId() string
- func (x *PageInfo) GetHasNext() bool
- func (x *PageInfo) GetHasPrev() bool
- func (x *PageInfo) GetLastId() string
- func (x *PageInfo) GetLength() uint32
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type Platform
- type ReadAllRequest
- type ReadAllResponse
- type SaveDeviceTokenRequest
- func (*SaveDeviceTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveDeviceTokenRequest) GetPlatform() Platform
- func (x *SaveDeviceTokenRequest) GetToken() string
- func (*SaveDeviceTokenRequest) ProtoMessage()
- func (x *SaveDeviceTokenRequest) ProtoReflect() protoreflect.Message
- func (x *SaveDeviceTokenRequest) Reset()
- func (x *SaveDeviceTokenRequest) String() string
- type SaveDeviceTokenResponse
- type SchedulePushToCircleJobRequest
- func (*SchedulePushToCircleJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulePushToCircleJobRequest) GetPayload() *CirclePush
- func (x *SchedulePushToCircleJobRequest) GetScheduledAt() string
- func (*SchedulePushToCircleJobRequest) ProtoMessage()
- func (x *SchedulePushToCircleJobRequest) ProtoReflect() protoreflect.Message
- func (x *SchedulePushToCircleJobRequest) Reset()
- func (x *SchedulePushToCircleJobRequest) String() string
- type SchedulePushToCircleJobResponse
- func (*SchedulePushToCircleJobResponse) Descriptor() ([]byte, []int)deprecated
- func (*SchedulePushToCircleJobResponse) ProtoMessage()
- func (x *SchedulePushToCircleJobResponse) ProtoReflect() protoreflect.Message
- func (x *SchedulePushToCircleJobResponse) Reset()
- func (x *SchedulePushToCircleJobResponse) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetBody() string
- func (x *SendMessageRequest) GetTitle() string
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SendMessageResponse
- type SendPushToCircleRequest
- func (*SendPushToCircleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendPushToCircleRequest) GetBody() string
- func (x *SendPushToCircleRequest) GetCircleId() string
- func (x *SendPushToCircleRequest) GetImageUrl() string
- func (x *SendPushToCircleRequest) GetPostId() string
- func (x *SendPushToCircleRequest) GetTitle() string
- func (*SendPushToCircleRequest) ProtoMessage()
- func (x *SendPushToCircleRequest) ProtoReflect() protoreflect.Message
- func (x *SendPushToCircleRequest) Reset()
- func (x *SendPushToCircleRequest) String() string
- type SendPushToCircleResponse
- type Type
- type UnimplementedNotificationAPIServiceServer
- func (UnimplementedNotificationAPIServiceServer) CancelScheduledPushToCircleJob(context.Context, *CancelScheduledPushToCircleJobRequest) (*CancelScheduledPushToCircleJobResponse, error)
- func (UnimplementedNotificationAPIServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedNotificationAPIServiceServer) DeviceTokenCleaning(context.Context, *DeviceTokenCleaningRequest) (*DeviceTokenCleaningResponse, error)
- func (UnimplementedNotificationAPIServiceServer) GetNotificationSettings(context.Context, *GetNotificationSettingsRequest) (*GetNotificationSettingsResponse, error)
- func (UnimplementedNotificationAPIServiceServer) GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error)
- func (UnimplementedNotificationAPIServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedNotificationAPIServiceServer) ListPushToCircleJobs(context.Context, *ListPushToCircleJobsRequest) (*ListPushToCircleJobsResponse, error)
- func (UnimplementedNotificationAPIServiceServer) LocalTesting(context.Context, *LocalTestingRequest) (*LocalTestingResponse, error)
- func (UnimplementedNotificationAPIServiceServer) MigrateUser(context.Context, *MigrateUserRequest) (*MigrateUserResponse, error)
- func (UnimplementedNotificationAPIServiceServer) MigrationJob(context.Context, *MigrationJobRequest) (*MigrationJobResponse, error)
- func (UnimplementedNotificationAPIServiceServer) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
- func (UnimplementedNotificationAPIServiceServer) SaveDeviceToken(context.Context, *SaveDeviceTokenRequest) (*SaveDeviceTokenResponse, error)
- func (UnimplementedNotificationAPIServiceServer) SchedulePushToCircleJob(context.Context, *SchedulePushToCircleJobRequest) (*SchedulePushToCircleJobResponse, error)
- func (UnimplementedNotificationAPIServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedNotificationAPIServiceServer) SendPushToCircle(context.Context, *SendPushToCircleRequest) (*SendPushToCircleResponse, error)
- func (UnimplementedNotificationAPIServiceServer) UpsertNotificationSettings(context.Context, *UpsertNotificationSettingsRequest) (*UpsertNotificationSettingsResponse, error)
- type UnsafeNotificationAPIServiceServer
- type UpsertNotificationSettingsRequest
- func (*UpsertNotificationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertNotificationSettingsRequest) GetNotificationSettings() *NotificationSettings
- func (*UpsertNotificationSettingsRequest) ProtoMessage()
- func (x *UpsertNotificationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertNotificationSettingsRequest) Reset()
- func (x *UpsertNotificationSettingsRequest) String() string
- type UpsertNotificationSettingsResponse
- func (*UpsertNotificationSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpsertNotificationSettingsResponse) ProtoMessage()
- func (x *UpsertNotificationSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertNotificationSettingsResponse) Reset()
- func (x *UpsertNotificationSettingsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( JobStatus_name = map[int32]string{ 0: "JOB_STATUS_UNKNOWN_UNSPECIFIED", 1: "JOB_STATUS_INCOMPLETE", 2: "JOB_STATUS_COMPLETE", 3: "JOB_STATUS_PENDING", } JobStatus_value = map[string]int32{ "JOB_STATUS_UNKNOWN_UNSPECIFIED": 0, "JOB_STATUS_INCOMPLETE": 1, "JOB_STATUS_COMPLETE": 2, "JOB_STATUS_PENDING": 3, } )
Enum value maps for JobStatus.
var ( Platform_name = map[int32]string{ 0: "PLATFORM_UNSPECIFIED", 1: "PLATFORM_ANDROID", 2: "PLATFORM_IOS", 3: "PLATFORM_HUAWEI", } Platform_value = map[string]int32{ "PLATFORM_UNSPECIFIED": 0, "PLATFORM_ANDROID": 1, "PLATFORM_IOS": 2, "PLATFORM_HUAWEI": 3, } )
Enum value maps for Platform.
var ( Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_CIRCLE", 2: "TYPE_USER", 3: "TYPE_COMMENT", 4: "TYPE_POST", 5: "TYPE_NO_AUTH_CIRCLE", } Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_CIRCLE": 1, "TYPE_USER": 2, "TYPE_COMMENT": 3, "TYPE_POST": 4, "TYPE_NO_AUTH_CIRCLE": 5, } )
Enum value maps for Type.
var ( PageDir_name = map[int32]string{ 0: "PAGE_DIR_ASC", 1: "PAGE_DIR_DESC", } PageDir_value = map[string]int32{ "PAGE_DIR_ASC": 0, "PAGE_DIR_DESC": 1, } )
Enum value maps for PageDir.
var File_notification_api_notification_v1_notification_proto protoreflect.FileDescriptor
var NotificationAPIService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "notification.v1.NotificationAPIService", HandlerType: (*NotificationAPIServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _NotificationAPIService_List_Handler, }, { MethodName: "Delete", Handler: _NotificationAPIService_Delete_Handler, }, { MethodName: "GetUnreadCount", Handler: _NotificationAPIService_GetUnreadCount_Handler, }, { MethodName: "SaveDeviceToken", Handler: _NotificationAPIService_SaveDeviceToken_Handler, }, { MethodName: "ReadAll", Handler: _NotificationAPIService_ReadAll_Handler, }, { MethodName: "SendMessage", Handler: _NotificationAPIService_SendMessage_Handler, }, { MethodName: "MigrateUser", Handler: _NotificationAPIService_MigrateUser_Handler, }, { MethodName: "GetNotificationSettings", Handler: _NotificationAPIService_GetNotificationSettings_Handler, }, { MethodName: "UpsertNotificationSettings", Handler: _NotificationAPIService_UpsertNotificationSettings_Handler, }, { MethodName: "SendPushToCircle", Handler: _NotificationAPIService_SendPushToCircle_Handler, }, { MethodName: "LocalTesting", Handler: _NotificationAPIService_LocalTesting_Handler, }, { MethodName: "SchedulePushToCircleJob", Handler: _NotificationAPIService_SchedulePushToCircleJob_Handler, }, { MethodName: "ListPushToCircleJobs", Handler: _NotificationAPIService_ListPushToCircleJobs_Handler, }, { MethodName: "CancelScheduledPushToCircleJob", Handler: _NotificationAPIService_CancelScheduledPushToCircleJob_Handler, }, { MethodName: "DeviceTokenCleaning", Handler: _NotificationAPIService_DeviceTokenCleaning_Handler, }, { MethodName: "MigrationJob", Handler: _NotificationAPIService_MigrationJob_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "notification-api/notification/v1/notification.proto", }
NotificationAPIService_ServiceDesc is the grpc.ServiceDesc for NotificationAPIService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNotificationAPIServiceServer ¶
func RegisterNotificationAPIServiceServer(s grpc.ServiceRegistrar, srv NotificationAPIServiceServer)
Types ¶
type CancelScheduledPushToCircleJobRequest ¶
type CancelScheduledPushToCircleJobRequest struct { JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // contains filtered or unexported fields }
func (*CancelScheduledPushToCircleJobRequest) Descriptor
deprecated
func (*CancelScheduledPushToCircleJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelScheduledPushToCircleJobRequest.ProtoReflect.Descriptor instead.
func (*CancelScheduledPushToCircleJobRequest) GetJobId ¶
func (x *CancelScheduledPushToCircleJobRequest) GetJobId() string
func (*CancelScheduledPushToCircleJobRequest) ProtoMessage ¶
func (*CancelScheduledPushToCircleJobRequest) ProtoMessage()
func (*CancelScheduledPushToCircleJobRequest) ProtoReflect ¶
func (x *CancelScheduledPushToCircleJobRequest) ProtoReflect() protoreflect.Message
func (*CancelScheduledPushToCircleJobRequest) Reset ¶
func (x *CancelScheduledPushToCircleJobRequest) Reset()
func (*CancelScheduledPushToCircleJobRequest) String ¶
func (x *CancelScheduledPushToCircleJobRequest) String() string
type CancelScheduledPushToCircleJobResponse ¶
type CancelScheduledPushToCircleJobResponse struct {
// contains filtered or unexported fields
}
func (*CancelScheduledPushToCircleJobResponse) Descriptor
deprecated
func (*CancelScheduledPushToCircleJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelScheduledPushToCircleJobResponse.ProtoReflect.Descriptor instead.
func (*CancelScheduledPushToCircleJobResponse) ProtoMessage ¶
func (*CancelScheduledPushToCircleJobResponse) ProtoMessage()
func (*CancelScheduledPushToCircleJobResponse) ProtoReflect ¶
func (x *CancelScheduledPushToCircleJobResponse) ProtoReflect() protoreflect.Message
func (*CancelScheduledPushToCircleJobResponse) Reset ¶
func (x *CancelScheduledPushToCircleJobResponse) Reset()
func (*CancelScheduledPushToCircleJobResponse) String ¶
func (x *CancelScheduledPushToCircleJobResponse) String() string
type CirclePush ¶
type CirclePush struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` PostId string `protobuf:"bytes,5,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // contains filtered or unexported fields }
func (*CirclePush) Descriptor
deprecated
func (*CirclePush) Descriptor() ([]byte, []int)
Deprecated: Use CirclePush.ProtoReflect.Descriptor instead.
func (*CirclePush) GetBody ¶
func (x *CirclePush) GetBody() string
func (*CirclePush) GetCircleId ¶
func (x *CirclePush) GetCircleId() string
func (*CirclePush) GetImageUrl ¶
func (x *CirclePush) GetImageUrl() string
func (*CirclePush) GetPostId ¶
func (x *CirclePush) GetPostId() string
func (*CirclePush) GetTitle ¶
func (x *CirclePush) GetTitle() string
func (*CirclePush) ProtoMessage ¶
func (*CirclePush) ProtoMessage()
func (*CirclePush) ProtoReflect ¶
func (x *CirclePush) ProtoReflect() protoreflect.Message
func (*CirclePush) Reset ¶
func (x *CirclePush) Reset()
func (*CirclePush) String ¶
func (x *CirclePush) String() string
type DeleteRequest ¶
type DeleteRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetNotificationId ¶
func (x *DeleteRequest) GetNotificationId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type DeviceTokenCleaningRequest ¶
type DeviceTokenCleaningRequest struct { UserId *string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"` RoutineCount *string `protobuf:"bytes,2,opt,name=routine_count,json=routineCount,proto3,oneof" json:"routine_count,omitempty"` // contains filtered or unexported fields }
func (*DeviceTokenCleaningRequest) Descriptor
deprecated
func (*DeviceTokenCleaningRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceTokenCleaningRequest.ProtoReflect.Descriptor instead.
func (*DeviceTokenCleaningRequest) GetRoutineCount ¶
func (x *DeviceTokenCleaningRequest) GetRoutineCount() string
func (*DeviceTokenCleaningRequest) GetUserId ¶
func (x *DeviceTokenCleaningRequest) GetUserId() string
func (*DeviceTokenCleaningRequest) ProtoMessage ¶
func (*DeviceTokenCleaningRequest) ProtoMessage()
func (*DeviceTokenCleaningRequest) ProtoReflect ¶
func (x *DeviceTokenCleaningRequest) ProtoReflect() protoreflect.Message
func (*DeviceTokenCleaningRequest) Reset ¶
func (x *DeviceTokenCleaningRequest) Reset()
func (*DeviceTokenCleaningRequest) String ¶
func (x *DeviceTokenCleaningRequest) String() string
type DeviceTokenCleaningResponse ¶
type DeviceTokenCleaningResponse struct {
// contains filtered or unexported fields
}
func (*DeviceTokenCleaningResponse) Descriptor
deprecated
func (*DeviceTokenCleaningResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceTokenCleaningResponse.ProtoReflect.Descriptor instead.
func (*DeviceTokenCleaningResponse) ProtoMessage ¶
func (*DeviceTokenCleaningResponse) ProtoMessage()
func (*DeviceTokenCleaningResponse) ProtoReflect ¶
func (x *DeviceTokenCleaningResponse) ProtoReflect() protoreflect.Message
func (*DeviceTokenCleaningResponse) Reset ¶
func (x *DeviceTokenCleaningResponse) Reset()
func (*DeviceTokenCleaningResponse) String ¶
func (x *DeviceTokenCleaningResponse) String() string
type GetNotificationSettingsRequest ¶
type GetNotificationSettingsRequest struct {
// contains filtered or unexported fields
}
func (*GetNotificationSettingsRequest) Descriptor
deprecated
func (*GetNotificationSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationSettingsRequest) ProtoMessage ¶
func (*GetNotificationSettingsRequest) ProtoMessage()
func (*GetNotificationSettingsRequest) ProtoReflect ¶
func (x *GetNotificationSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationSettingsRequest) Reset ¶
func (x *GetNotificationSettingsRequest) Reset()
func (*GetNotificationSettingsRequest) String ¶
func (x *GetNotificationSettingsRequest) String() string
type GetNotificationSettingsResponse ¶
type GetNotificationSettingsResponse struct { NotificationSettings *NotificationSettings `protobuf:"bytes,1,opt,name=notification_settings,json=notificationSettings,proto3" json:"notification_settings,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationSettingsResponse) Descriptor
deprecated
func (*GetNotificationSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetNotificationSettingsResponse) GetNotificationSettings ¶
func (x *GetNotificationSettingsResponse) GetNotificationSettings() *NotificationSettings
func (*GetNotificationSettingsResponse) ProtoMessage ¶
func (*GetNotificationSettingsResponse) ProtoMessage()
func (*GetNotificationSettingsResponse) ProtoReflect ¶
func (x *GetNotificationSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetNotificationSettingsResponse) Reset ¶
func (x *GetNotificationSettingsResponse) Reset()
func (*GetNotificationSettingsResponse) String ¶
func (x *GetNotificationSettingsResponse) String() string
type GetUnreadCountRequest ¶
type GetUnreadCountRequest struct {
// contains filtered or unexported fields
}
func (*GetUnreadCountRequest) Descriptor
deprecated
func (*GetUnreadCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUnreadCountRequest.ProtoReflect.Descriptor instead.
func (*GetUnreadCountRequest) ProtoMessage ¶
func (*GetUnreadCountRequest) ProtoMessage()
func (*GetUnreadCountRequest) ProtoReflect ¶
func (x *GetUnreadCountRequest) ProtoReflect() protoreflect.Message
func (*GetUnreadCountRequest) Reset ¶
func (x *GetUnreadCountRequest) Reset()
func (*GetUnreadCountRequest) String ¶
func (x *GetUnreadCountRequest) String() string
type GetUnreadCountResponse ¶
type GetUnreadCountResponse struct { Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetUnreadCountResponse) Descriptor
deprecated
func (*GetUnreadCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUnreadCountResponse.ProtoReflect.Descriptor instead.
func (*GetUnreadCountResponse) GetCount ¶
func (x *GetUnreadCountResponse) GetCount() uint32
func (*GetUnreadCountResponse) ProtoMessage ¶
func (*GetUnreadCountResponse) ProtoMessage()
func (*GetUnreadCountResponse) ProtoReflect ¶
func (x *GetUnreadCountResponse) ProtoReflect() protoreflect.Message
func (*GetUnreadCountResponse) Reset ¶
func (x *GetUnreadCountResponse) Reset()
func (*GetUnreadCountResponse) String ¶
func (x *GetUnreadCountResponse) String() string
type JobStatus ¶
type JobStatus int32
func (JobStatus) Descriptor ¶
func (JobStatus) Descriptor() protoreflect.EnumDescriptor
func (JobStatus) EnumDescriptor
deprecated
func (JobStatus) Number ¶
func (x JobStatus) Number() protoreflect.EnumNumber
func (JobStatus) Type ¶
func (JobStatus) Type() protoreflect.EnumType
type ListPushToCircleJobsRequest ¶
type ListPushToCircleJobsRequest struct { Status JobStatus `protobuf:"varint,1,opt,name=status,proto3,enum=notification.v1.JobStatus" json:"status,omitempty"` Cursor *PageCursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*ListPushToCircleJobsRequest) Descriptor
deprecated
func (*ListPushToCircleJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPushToCircleJobsRequest.ProtoReflect.Descriptor instead.
func (*ListPushToCircleJobsRequest) GetCursor ¶
func (x *ListPushToCircleJobsRequest) GetCursor() *PageCursor
func (*ListPushToCircleJobsRequest) GetStatus ¶
func (x *ListPushToCircleJobsRequest) GetStatus() JobStatus
func (*ListPushToCircleJobsRequest) ProtoMessage ¶
func (*ListPushToCircleJobsRequest) ProtoMessage()
func (*ListPushToCircleJobsRequest) ProtoReflect ¶
func (x *ListPushToCircleJobsRequest) ProtoReflect() protoreflect.Message
func (*ListPushToCircleJobsRequest) Reset ¶
func (x *ListPushToCircleJobsRequest) Reset()
func (*ListPushToCircleJobsRequest) String ¶
func (x *ListPushToCircleJobsRequest) String() string
type ListPushToCircleJobsResponse ¶
type ListPushToCircleJobsResponse struct { Jobs []*ListPushToCircleJobsResponse_CirclePushJobResponse `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` Info *PageInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ListPushToCircleJobsResponse) Descriptor
deprecated
func (*ListPushToCircleJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPushToCircleJobsResponse.ProtoReflect.Descriptor instead.
func (*ListPushToCircleJobsResponse) GetInfo ¶
func (x *ListPushToCircleJobsResponse) GetInfo() *PageInfo
func (*ListPushToCircleJobsResponse) GetJobs ¶
func (x *ListPushToCircleJobsResponse) GetJobs() []*ListPushToCircleJobsResponse_CirclePushJobResponse
func (*ListPushToCircleJobsResponse) ProtoMessage ¶
func (*ListPushToCircleJobsResponse) ProtoMessage()
func (*ListPushToCircleJobsResponse) ProtoReflect ¶
func (x *ListPushToCircleJobsResponse) ProtoReflect() protoreflect.Message
func (*ListPushToCircleJobsResponse) Reset ¶
func (x *ListPushToCircleJobsResponse) Reset()
func (*ListPushToCircleJobsResponse) String ¶
func (x *ListPushToCircleJobsResponse) String() string
type ListPushToCircleJobsResponse_CirclePushJobResponse ¶
type ListPushToCircleJobsResponse_CirclePushJobResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Payload *CirclePush `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` SchedulerId string `protobuf:"bytes,3,opt,name=scheduler_id,json=schedulerId,proto3" json:"scheduler_id,omitempty"` ScheduledAt string `protobuf:"bytes,4,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) Descriptor
deprecated
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPushToCircleJobsResponse_CirclePushJobResponse.ProtoReflect.Descriptor instead.
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetCreatedAt ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetCreatedAt() string
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetId ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetId() string
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetPayload ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetPayload() *CirclePush
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetScheduledAt ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetScheduledAt() string
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) GetSchedulerId ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) GetSchedulerId() string
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoMessage ¶
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoMessage()
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoReflect ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) ProtoReflect() protoreflect.Message
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) Reset ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) Reset()
func (*ListPushToCircleJobsResponse_CirclePushJobResponse) String ¶
func (x *ListPushToCircleJobsResponse_CirclePushJobResponse) String() string
type ListRequest ¶
type ListRequest struct { Cursor *PageCursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetCursor ¶
func (x *ListRequest) GetCursor() *PageCursor
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` Info *PageInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetInfo ¶
func (x *ListResponse) GetInfo() *PageInfo
func (*ListResponse) GetNotifications ¶
func (x *ListResponse) GetNotifications() []*Notification
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type LocalTestingRequest ¶
type LocalTestingRequest struct {
// contains filtered or unexported fields
}
func (*LocalTestingRequest) Descriptor
deprecated
func (*LocalTestingRequest) Descriptor() ([]byte, []int)
Deprecated: Use LocalTestingRequest.ProtoReflect.Descriptor instead.
func (*LocalTestingRequest) ProtoMessage ¶
func (*LocalTestingRequest) ProtoMessage()
func (*LocalTestingRequest) ProtoReflect ¶
func (x *LocalTestingRequest) ProtoReflect() protoreflect.Message
func (*LocalTestingRequest) Reset ¶
func (x *LocalTestingRequest) Reset()
func (*LocalTestingRequest) String ¶
func (x *LocalTestingRequest) String() string
type LocalTestingResponse ¶
type LocalTestingResponse struct {
// contains filtered or unexported fields
}
func (*LocalTestingResponse) Descriptor
deprecated
func (*LocalTestingResponse) Descriptor() ([]byte, []int)
Deprecated: Use LocalTestingResponse.ProtoReflect.Descriptor instead.
func (*LocalTestingResponse) ProtoMessage ¶
func (*LocalTestingResponse) ProtoMessage()
func (*LocalTestingResponse) ProtoReflect ¶
func (x *LocalTestingResponse) ProtoReflect() protoreflect.Message
func (*LocalTestingResponse) Reset ¶
func (x *LocalTestingResponse) Reset()
func (*LocalTestingResponse) String ¶
func (x *LocalTestingResponse) String() string
type MigrateUserRequest ¶
type MigrateUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` DeviceToken string `protobuf:"bytes,2,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"` // contains filtered or unexported fields }
func (*MigrateUserRequest) Descriptor
deprecated
func (*MigrateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use MigrateUserRequest.ProtoReflect.Descriptor instead.
func (*MigrateUserRequest) GetDeviceToken ¶
func (x *MigrateUserRequest) GetDeviceToken() string
func (*MigrateUserRequest) GetUserId ¶
func (x *MigrateUserRequest) GetUserId() string
func (*MigrateUserRequest) ProtoMessage ¶
func (*MigrateUserRequest) ProtoMessage()
func (*MigrateUserRequest) ProtoReflect ¶
func (x *MigrateUserRequest) ProtoReflect() protoreflect.Message
func (*MigrateUserRequest) Reset ¶
func (x *MigrateUserRequest) Reset()
func (*MigrateUserRequest) String ¶
func (x *MigrateUserRequest) String() string
type MigrateUserResponse ¶
type MigrateUserResponse struct {
// contains filtered or unexported fields
}
func (*MigrateUserResponse) Descriptor
deprecated
func (*MigrateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use MigrateUserResponse.ProtoReflect.Descriptor instead.
func (*MigrateUserResponse) ProtoMessage ¶
func (*MigrateUserResponse) ProtoMessage()
func (*MigrateUserResponse) ProtoReflect ¶
func (x *MigrateUserResponse) ProtoReflect() protoreflect.Message
func (*MigrateUserResponse) Reset ¶
func (x *MigrateUserResponse) Reset()
func (*MigrateUserResponse) String ¶
func (x *MigrateUserResponse) String() string
type MigrationJobRequest ¶
type MigrationJobRequest struct { RoutineCount int64 `protobuf:"varint,1,opt,name=routine_count,json=routineCount,proto3" json:"routine_count,omitempty"` // contains filtered or unexported fields }
func (*MigrationJobRequest) Descriptor
deprecated
func (*MigrationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJobRequest.ProtoReflect.Descriptor instead.
func (*MigrationJobRequest) GetRoutineCount ¶
func (x *MigrationJobRequest) GetRoutineCount() int64
func (*MigrationJobRequest) ProtoMessage ¶
func (*MigrationJobRequest) ProtoMessage()
func (*MigrationJobRequest) ProtoReflect ¶
func (x *MigrationJobRequest) ProtoReflect() protoreflect.Message
func (*MigrationJobRequest) Reset ¶
func (x *MigrationJobRequest) Reset()
func (*MigrationJobRequest) String ¶
func (x *MigrationJobRequest) String() string
type MigrationJobResponse ¶
type MigrationJobResponse struct {
// contains filtered or unexported fields
}
func (*MigrationJobResponse) Descriptor
deprecated
func (*MigrationJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use MigrationJobResponse.ProtoReflect.Descriptor instead.
func (*MigrationJobResponse) ProtoMessage ¶
func (*MigrationJobResponse) ProtoMessage()
func (*MigrationJobResponse) ProtoReflect ¶
func (x *MigrationJobResponse) ProtoReflect() protoreflect.Message
func (*MigrationJobResponse) Reset ¶
func (x *MigrationJobResponse) Reset()
func (*MigrationJobResponse) String ¶
func (x *MigrationJobResponse) String() string
type Notification ¶
type Notification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FromId string `protobuf:"bytes,2,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` FromType Type `protobuf:"varint,3,opt,name=from_type,json=fromType,proto3,enum=notification.v1.Type" json:"from_type,omitempty"` ReceiverId string `protobuf:"bytes,4,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` ReceiverType Type `protobuf:"varint,5,opt,name=receiver_type,json=receiverType,proto3,enum=notification.v1.Type" json:"receiver_type,omitempty"` Action string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"` SourceId string `protobuf:"bytes,7,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` SourceType Type `protobuf:"varint,8,opt,name=source_type,json=sourceType,proto3,enum=notification.v1.Type" json:"source_type,omitempty"` SubSourceId string `protobuf:"bytes,9,opt,name=sub_source_id,json=subSourceId,proto3" json:"sub_source_id,omitempty"` SubSourceType Type `` /* 130-byte string literal not displayed */ ImageUrl string `protobuf:"bytes,11,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` ReadAt string `protobuf:"bytes,12,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` CreatedAt string `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetAction ¶
func (x *Notification) GetAction() string
func (*Notification) GetCreatedAt ¶
func (x *Notification) GetCreatedAt() string
func (*Notification) GetFromId ¶
func (x *Notification) GetFromId() string
func (*Notification) GetFromType ¶
func (x *Notification) GetFromType() Type
func (*Notification) GetId ¶
func (x *Notification) GetId() string
func (*Notification) GetImageUrl ¶
func (x *Notification) GetImageUrl() string
func (*Notification) GetReadAt ¶
func (x *Notification) GetReadAt() string
func (*Notification) GetReceiverId ¶
func (x *Notification) GetReceiverId() string
func (*Notification) GetReceiverType ¶
func (x *Notification) GetReceiverType() Type
func (*Notification) GetSourceId ¶
func (x *Notification) GetSourceId() string
func (*Notification) GetSourceType ¶
func (x *Notification) GetSourceType() Type
func (*Notification) GetSubSourceId ¶
func (x *Notification) GetSubSourceId() string
func (*Notification) GetSubSourceType ¶
func (x *Notification) GetSubSourceType() Type
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 NotificationAPIServiceClient ¶
type NotificationAPIServiceClient interface { List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) GetUnreadCount(ctx context.Context, in *GetUnreadCountRequest, opts ...grpc.CallOption) (*GetUnreadCountResponse, error) SaveDeviceToken(ctx context.Context, in *SaveDeviceTokenRequest, opts ...grpc.CallOption) (*SaveDeviceTokenResponse, error) ReadAll(ctx context.Context, in *ReadAllRequest, opts ...grpc.CallOption) (*ReadAllResponse, error) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error) MigrateUser(ctx context.Context, in *MigrateUserRequest, opts ...grpc.CallOption) (*MigrateUserResponse, error) GetNotificationSettings(ctx context.Context, in *GetNotificationSettingsRequest, opts ...grpc.CallOption) (*GetNotificationSettingsResponse, error) UpsertNotificationSettings(ctx context.Context, in *UpsertNotificationSettingsRequest, opts ...grpc.CallOption) (*UpsertNotificationSettingsResponse, error) SendPushToCircle(ctx context.Context, in *SendPushToCircleRequest, opts ...grpc.CallOption) (*SendPushToCircleResponse, error) // Local testing used only in local development and should not be used in production LocalTesting(ctx context.Context, in *LocalTestingRequest, opts ...grpc.CallOption) (*LocalTestingResponse, error) SchedulePushToCircleJob(ctx context.Context, in *SchedulePushToCircleJobRequest, opts ...grpc.CallOption) (*SchedulePushToCircleJobResponse, error) ListPushToCircleJobs(ctx context.Context, in *ListPushToCircleJobsRequest, opts ...grpc.CallOption) (*ListPushToCircleJobsResponse, error) CancelScheduledPushToCircleJob(ctx context.Context, in *CancelScheduledPushToCircleJobRequest, opts ...grpc.CallOption) (*CancelScheduledPushToCircleJobResponse, error) DeviceTokenCleaning(ctx context.Context, in *DeviceTokenCleaningRequest, opts ...grpc.CallOption) (*DeviceTokenCleaningResponse, error) MigrationJob(ctx context.Context, in *MigrationJobRequest, opts ...grpc.CallOption) (*MigrationJobResponse, error) }
NotificationAPIServiceClient is the client API for NotificationAPIService 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 NewNotificationAPIServiceClient ¶
func NewNotificationAPIServiceClient(cc grpc.ClientConnInterface) NotificationAPIServiceClient
type NotificationAPIServiceServer ¶
type NotificationAPIServiceServer interface { List(context.Context, *ListRequest) (*ListResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error) SaveDeviceToken(context.Context, *SaveDeviceTokenRequest) (*SaveDeviceTokenResponse, error) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error) MigrateUser(context.Context, *MigrateUserRequest) (*MigrateUserResponse, error) GetNotificationSettings(context.Context, *GetNotificationSettingsRequest) (*GetNotificationSettingsResponse, error) UpsertNotificationSettings(context.Context, *UpsertNotificationSettingsRequest) (*UpsertNotificationSettingsResponse, error) SendPushToCircle(context.Context, *SendPushToCircleRequest) (*SendPushToCircleResponse, error) // Local testing used only in local development and should not be used in production LocalTesting(context.Context, *LocalTestingRequest) (*LocalTestingResponse, error) SchedulePushToCircleJob(context.Context, *SchedulePushToCircleJobRequest) (*SchedulePushToCircleJobResponse, error) ListPushToCircleJobs(context.Context, *ListPushToCircleJobsRequest) (*ListPushToCircleJobsResponse, error) CancelScheduledPushToCircleJob(context.Context, *CancelScheduledPushToCircleJobRequest) (*CancelScheduledPushToCircleJobResponse, error) DeviceTokenCleaning(context.Context, *DeviceTokenCleaningRequest) (*DeviceTokenCleaningResponse, error) MigrationJob(context.Context, *MigrationJobRequest) (*MigrationJobResponse, error) // contains filtered or unexported methods }
NotificationAPIServiceServer is the server API for NotificationAPIService service. All implementations must embed UnimplementedNotificationAPIServiceServer for forward compatibility
type NotificationSettings ¶
type NotificationSettings struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` Likes *bool `protobuf:"varint,2,opt,name=likes,proto3,oneof" json:"likes,omitempty"` Comments *bool `protobuf:"varint,3,opt,name=comments,proto3,oneof" json:"comments,omitempty"` NewFollowers *bool `protobuf:"varint,4,opt,name=new_followers,json=newFollowers,proto3,oneof" json:"new_followers,omitempty"` Mentions *bool `protobuf:"varint,5,opt,name=mentions,proto3,oneof" json:"mentions,omitempty"` DirectMessages *bool `protobuf:"varint,6,opt,name=direct_messages,json=directMessages,proto3,oneof" json:"direct_messages,omitempty"` Posts *bool `protobuf:"varint,7,opt,name=posts,proto3,oneof" json:"posts,omitempty"` CircleChats *bool `protobuf:"varint,8,opt,name=circle_chats,json=circleChats,proto3,oneof" json:"circle_chats,omitempty"` GroupChats *bool `protobuf:"varint,9,opt,name=group_chats,json=groupChats,proto3,oneof" json:"group_chats,omitempty"` GlitterBombs *bool `protobuf:"varint,10,opt,name=glitter_bombs,json=glitterBombs,proto3,oneof" json:"glitter_bombs,omitempty"` CommentLikes *bool `protobuf:"varint,11,opt,name=comment_likes,json=commentLikes,proto3,oneof" json:"comment_likes,omitempty"` PostSaves *bool `protobuf:"varint,12,opt,name=post_saves,json=postSaves,proto3,oneof" json:"post_saves,omitempty"` Seeds *bool `protobuf:"varint,14,opt,name=seeds,proto3,oneof" json:"seeds,omitempty"` CircleJoins *bool `protobuf:"varint,15,opt,name=circle_joins,json=circleJoins,proto3,oneof" json:"circle_joins,omitempty"` CircleInvites *bool `protobuf:"varint,16,opt,name=circle_invites,json=circleInvites,proto3,oneof" json:"circle_invites,omitempty"` // contains filtered or unexported fields }
func (*NotificationSettings) Descriptor
deprecated
func (*NotificationSettings) Descriptor() ([]byte, []int)
Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead.
func (*NotificationSettings) GetCircleChats ¶
func (x *NotificationSettings) GetCircleChats() bool
func (*NotificationSettings) GetCircleInvites ¶
func (x *NotificationSettings) GetCircleInvites() bool
func (*NotificationSettings) GetCircleJoins ¶
func (x *NotificationSettings) GetCircleJoins() bool
func (*NotificationSettings) GetCommentLikes ¶
func (x *NotificationSettings) GetCommentLikes() bool
func (*NotificationSettings) GetComments ¶
func (x *NotificationSettings) GetComments() bool
func (*NotificationSettings) GetDirectMessages ¶
func (x *NotificationSettings) GetDirectMessages() bool
func (*NotificationSettings) GetGlitterBombs ¶
func (x *NotificationSettings) GetGlitterBombs() bool
func (*NotificationSettings) GetGroupChats ¶
func (x *NotificationSettings) GetGroupChats() bool
func (*NotificationSettings) GetLikes ¶
func (x *NotificationSettings) GetLikes() bool
func (*NotificationSettings) GetMentions ¶
func (x *NotificationSettings) GetMentions() bool
func (*NotificationSettings) GetNewFollowers ¶
func (x *NotificationSettings) GetNewFollowers() bool
func (*NotificationSettings) GetNotificationId ¶
func (x *NotificationSettings) GetNotificationId() string
func (*NotificationSettings) GetPostSaves ¶
func (x *NotificationSettings) GetPostSaves() bool
func (*NotificationSettings) GetPostShares ¶
func (x *NotificationSettings) GetPostShares() bool
func (*NotificationSettings) GetPosts ¶
func (x *NotificationSettings) GetPosts() bool
func (*NotificationSettings) GetSeeds ¶
func (x *NotificationSettings) GetSeeds() bool
func (*NotificationSettings) ProtoMessage ¶
func (*NotificationSettings) ProtoMessage()
func (*NotificationSettings) ProtoReflect ¶
func (x *NotificationSettings) ProtoReflect() protoreflect.Message
func (*NotificationSettings) Reset ¶
func (x *NotificationSettings) Reset()
func (*NotificationSettings) String ¶
func (x *NotificationSettings) String() string
type PageCursor ¶
type PageCursor struct { LastId string `protobuf:"bytes,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Dir PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=notification.v1.PageDir" json:"dir,omitempty"` // contains filtered or unexported fields }
func (*PageCursor) Descriptor
deprecated
func (*PageCursor) Descriptor() ([]byte, []int)
Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.
func (*PageCursor) GetDir ¶
func (x *PageCursor) GetDir() PageDir
func (*PageCursor) GetLastId ¶
func (x *PageCursor) GetLastId() string
func (*PageCursor) GetLimit ¶
func (x *PageCursor) GetLimit() uint32
func (*PageCursor) ProtoMessage ¶
func (*PageCursor) ProtoMessage()
func (*PageCursor) ProtoReflect ¶
func (x *PageCursor) ProtoReflect() protoreflect.Message
func (*PageCursor) Reset ¶
func (x *PageCursor) Reset()
func (*PageCursor) String ¶
func (x *PageCursor) String() string
type PageDir ¶
type PageDir int32
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
func (PageDir) Descriptor ¶
func (PageDir) Descriptor() protoreflect.EnumDescriptor
func (PageDir) EnumDescriptor
deprecated
func (PageDir) Number ¶
func (x PageDir) Number() protoreflect.EnumNumber
func (PageDir) Type ¶
func (PageDir) Type() protoreflect.EnumType
type PageInfo ¶
type PageInfo struct { FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"` LastId *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"` HasPrev bool `protobuf:"varint,3,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"` HasNext bool `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"` Length uint32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetFirstId ¶
func (*PageInfo) GetHasNext ¶
func (*PageInfo) GetHasPrev ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type Platform ¶
type Platform int32
func (Platform) Descriptor ¶
func (Platform) Descriptor() protoreflect.EnumDescriptor
func (Platform) EnumDescriptor
deprecated
func (Platform) Number ¶
func (x Platform) Number() protoreflect.EnumNumber
func (Platform) Type ¶
func (Platform) Type() protoreflect.EnumType
type ReadAllRequest ¶
type ReadAllRequest struct {
// contains filtered or unexported fields
}
func (*ReadAllRequest) Descriptor
deprecated
func (*ReadAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAllRequest.ProtoReflect.Descriptor instead.
func (*ReadAllRequest) ProtoMessage ¶
func (*ReadAllRequest) ProtoMessage()
func (*ReadAllRequest) ProtoReflect ¶
func (x *ReadAllRequest) ProtoReflect() protoreflect.Message
func (*ReadAllRequest) Reset ¶
func (x *ReadAllRequest) Reset()
func (*ReadAllRequest) String ¶
func (x *ReadAllRequest) String() string
type ReadAllResponse ¶
type ReadAllResponse struct {
// contains filtered or unexported fields
}
func (*ReadAllResponse) Descriptor
deprecated
func (*ReadAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAllResponse.ProtoReflect.Descriptor instead.
func (*ReadAllResponse) ProtoMessage ¶
func (*ReadAllResponse) ProtoMessage()
func (*ReadAllResponse) ProtoReflect ¶
func (x *ReadAllResponse) ProtoReflect() protoreflect.Message
func (*ReadAllResponse) Reset ¶
func (x *ReadAllResponse) Reset()
func (*ReadAllResponse) String ¶
func (x *ReadAllResponse) String() string
type SaveDeviceTokenRequest ¶
type SaveDeviceTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Platform Platform `protobuf:"varint,2,opt,name=platform,proto3,enum=notification.v1.Platform" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*SaveDeviceTokenRequest) Descriptor
deprecated
func (*SaveDeviceTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveDeviceTokenRequest.ProtoReflect.Descriptor instead.
func (*SaveDeviceTokenRequest) GetPlatform ¶
func (x *SaveDeviceTokenRequest) GetPlatform() Platform
func (*SaveDeviceTokenRequest) GetToken ¶
func (x *SaveDeviceTokenRequest) GetToken() string
func (*SaveDeviceTokenRequest) ProtoMessage ¶
func (*SaveDeviceTokenRequest) ProtoMessage()
func (*SaveDeviceTokenRequest) ProtoReflect ¶
func (x *SaveDeviceTokenRequest) ProtoReflect() protoreflect.Message
func (*SaveDeviceTokenRequest) Reset ¶
func (x *SaveDeviceTokenRequest) Reset()
func (*SaveDeviceTokenRequest) String ¶
func (x *SaveDeviceTokenRequest) String() string
type SaveDeviceTokenResponse ¶
type SaveDeviceTokenResponse struct {
// contains filtered or unexported fields
}
func (*SaveDeviceTokenResponse) Descriptor
deprecated
func (*SaveDeviceTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveDeviceTokenResponse.ProtoReflect.Descriptor instead.
func (*SaveDeviceTokenResponse) ProtoMessage ¶
func (*SaveDeviceTokenResponse) ProtoMessage()
func (*SaveDeviceTokenResponse) ProtoReflect ¶
func (x *SaveDeviceTokenResponse) ProtoReflect() protoreflect.Message
func (*SaveDeviceTokenResponse) Reset ¶
func (x *SaveDeviceTokenResponse) Reset()
func (*SaveDeviceTokenResponse) String ¶
func (x *SaveDeviceTokenResponse) String() string
type SchedulePushToCircleJobRequest ¶
type SchedulePushToCircleJobRequest struct { Payload *CirclePush `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` ScheduledAt string `protobuf:"bytes,2,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"` // contains filtered or unexported fields }
func (*SchedulePushToCircleJobRequest) Descriptor
deprecated
func (*SchedulePushToCircleJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use SchedulePushToCircleJobRequest.ProtoReflect.Descriptor instead.
func (*SchedulePushToCircleJobRequest) GetPayload ¶
func (x *SchedulePushToCircleJobRequest) GetPayload() *CirclePush
func (*SchedulePushToCircleJobRequest) GetScheduledAt ¶
func (x *SchedulePushToCircleJobRequest) GetScheduledAt() string
func (*SchedulePushToCircleJobRequest) ProtoMessage ¶
func (*SchedulePushToCircleJobRequest) ProtoMessage()
func (*SchedulePushToCircleJobRequest) ProtoReflect ¶
func (x *SchedulePushToCircleJobRequest) ProtoReflect() protoreflect.Message
func (*SchedulePushToCircleJobRequest) Reset ¶
func (x *SchedulePushToCircleJobRequest) Reset()
func (*SchedulePushToCircleJobRequest) String ¶
func (x *SchedulePushToCircleJobRequest) String() string
type SchedulePushToCircleJobResponse ¶
type SchedulePushToCircleJobResponse struct {
// contains filtered or unexported fields
}
func (*SchedulePushToCircleJobResponse) Descriptor
deprecated
func (*SchedulePushToCircleJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use SchedulePushToCircleJobResponse.ProtoReflect.Descriptor instead.
func (*SchedulePushToCircleJobResponse) ProtoMessage ¶
func (*SchedulePushToCircleJobResponse) ProtoMessage()
func (*SchedulePushToCircleJobResponse) ProtoReflect ¶
func (x *SchedulePushToCircleJobResponse) ProtoReflect() protoreflect.Message
func (*SchedulePushToCircleJobResponse) Reset ¶
func (x *SchedulePushToCircleJobResponse) Reset()
func (*SchedulePushToCircleJobResponse) String ¶
func (x *SchedulePushToCircleJobResponse) String() string
type SendMessageRequest ¶
type SendMessageRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetBody ¶
func (x *SendMessageRequest) GetBody() string
func (*SendMessageRequest) GetTitle ¶
func (x *SendMessageRequest) GetTitle() string
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
type SendMessageResponse ¶
type SendMessageResponse struct {
// contains filtered or unexported fields
}
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
type SendPushToCircleRequest ¶
type SendPushToCircleRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` PostId string `protobuf:"bytes,5,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // contains filtered or unexported fields }
func (*SendPushToCircleRequest) Descriptor
deprecated
func (*SendPushToCircleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendPushToCircleRequest.ProtoReflect.Descriptor instead.
func (*SendPushToCircleRequest) GetBody ¶
func (x *SendPushToCircleRequest) GetBody() string
func (*SendPushToCircleRequest) GetCircleId ¶
func (x *SendPushToCircleRequest) GetCircleId() string
func (*SendPushToCircleRequest) GetImageUrl ¶
func (x *SendPushToCircleRequest) GetImageUrl() string
func (*SendPushToCircleRequest) GetPostId ¶
func (x *SendPushToCircleRequest) GetPostId() string
func (*SendPushToCircleRequest) GetTitle ¶
func (x *SendPushToCircleRequest) GetTitle() string
func (*SendPushToCircleRequest) ProtoMessage ¶
func (*SendPushToCircleRequest) ProtoMessage()
func (*SendPushToCircleRequest) ProtoReflect ¶
func (x *SendPushToCircleRequest) ProtoReflect() protoreflect.Message
func (*SendPushToCircleRequest) Reset ¶
func (x *SendPushToCircleRequest) Reset()
func (*SendPushToCircleRequest) String ¶
func (x *SendPushToCircleRequest) String() string
type SendPushToCircleResponse ¶
type SendPushToCircleResponse struct {
// contains filtered or unexported fields
}
func (*SendPushToCircleResponse) Descriptor
deprecated
func (*SendPushToCircleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendPushToCircleResponse.ProtoReflect.Descriptor instead.
func (*SendPushToCircleResponse) ProtoMessage ¶
func (*SendPushToCircleResponse) ProtoMessage()
func (*SendPushToCircleResponse) ProtoReflect ¶
func (x *SendPushToCircleResponse) ProtoReflect() protoreflect.Message
func (*SendPushToCircleResponse) Reset ¶
func (x *SendPushToCircleResponse) Reset()
func (*SendPushToCircleResponse) String ¶
func (x *SendPushToCircleResponse) String() string
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedNotificationAPIServiceServer ¶
type UnimplementedNotificationAPIServiceServer struct { }
UnimplementedNotificationAPIServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNotificationAPIServiceServer) CancelScheduledPushToCircleJob ¶
func (UnimplementedNotificationAPIServiceServer) CancelScheduledPushToCircleJob(context.Context, *CancelScheduledPushToCircleJobRequest) (*CancelScheduledPushToCircleJobResponse, error)
func (UnimplementedNotificationAPIServiceServer) Delete ¶
func (UnimplementedNotificationAPIServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedNotificationAPIServiceServer) DeviceTokenCleaning ¶
func (UnimplementedNotificationAPIServiceServer) DeviceTokenCleaning(context.Context, *DeviceTokenCleaningRequest) (*DeviceTokenCleaningResponse, error)
func (UnimplementedNotificationAPIServiceServer) GetNotificationSettings ¶
func (UnimplementedNotificationAPIServiceServer) GetNotificationSettings(context.Context, *GetNotificationSettingsRequest) (*GetNotificationSettingsResponse, error)
func (UnimplementedNotificationAPIServiceServer) GetUnreadCount ¶
func (UnimplementedNotificationAPIServiceServer) GetUnreadCount(context.Context, *GetUnreadCountRequest) (*GetUnreadCountResponse, error)
func (UnimplementedNotificationAPIServiceServer) List ¶
func (UnimplementedNotificationAPIServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedNotificationAPIServiceServer) ListPushToCircleJobs ¶
func (UnimplementedNotificationAPIServiceServer) ListPushToCircleJobs(context.Context, *ListPushToCircleJobsRequest) (*ListPushToCircleJobsResponse, error)
func (UnimplementedNotificationAPIServiceServer) LocalTesting ¶
func (UnimplementedNotificationAPIServiceServer) LocalTesting(context.Context, *LocalTestingRequest) (*LocalTestingResponse, error)
func (UnimplementedNotificationAPIServiceServer) MigrateUser ¶
func (UnimplementedNotificationAPIServiceServer) MigrateUser(context.Context, *MigrateUserRequest) (*MigrateUserResponse, error)
func (UnimplementedNotificationAPIServiceServer) MigrationJob ¶
func (UnimplementedNotificationAPIServiceServer) MigrationJob(context.Context, *MigrationJobRequest) (*MigrationJobResponse, error)
func (UnimplementedNotificationAPIServiceServer) ReadAll ¶
func (UnimplementedNotificationAPIServiceServer) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
func (UnimplementedNotificationAPIServiceServer) SaveDeviceToken ¶
func (UnimplementedNotificationAPIServiceServer) SaveDeviceToken(context.Context, *SaveDeviceTokenRequest) (*SaveDeviceTokenResponse, error)
func (UnimplementedNotificationAPIServiceServer) SchedulePushToCircleJob ¶
func (UnimplementedNotificationAPIServiceServer) SchedulePushToCircleJob(context.Context, *SchedulePushToCircleJobRequest) (*SchedulePushToCircleJobResponse, error)
func (UnimplementedNotificationAPIServiceServer) SendMessage ¶
func (UnimplementedNotificationAPIServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (UnimplementedNotificationAPIServiceServer) SendPushToCircle ¶
func (UnimplementedNotificationAPIServiceServer) SendPushToCircle(context.Context, *SendPushToCircleRequest) (*SendPushToCircleResponse, error)
func (UnimplementedNotificationAPIServiceServer) UpsertNotificationSettings ¶
func (UnimplementedNotificationAPIServiceServer) UpsertNotificationSettings(context.Context, *UpsertNotificationSettingsRequest) (*UpsertNotificationSettingsResponse, error)
type UnsafeNotificationAPIServiceServer ¶
type UnsafeNotificationAPIServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNotificationAPIServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotificationAPIServiceServer will result in compilation errors.
type UpsertNotificationSettingsRequest ¶
type UpsertNotificationSettingsRequest struct { NotificationSettings *NotificationSettings `protobuf:"bytes,1,opt,name=notification_settings,json=notificationSettings,proto3" json:"notification_settings,omitempty"` // contains filtered or unexported fields }
func (*UpsertNotificationSettingsRequest) Descriptor
deprecated
func (*UpsertNotificationSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertNotificationSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpsertNotificationSettingsRequest) GetNotificationSettings ¶
func (x *UpsertNotificationSettingsRequest) GetNotificationSettings() *NotificationSettings
func (*UpsertNotificationSettingsRequest) ProtoMessage ¶
func (*UpsertNotificationSettingsRequest) ProtoMessage()
func (*UpsertNotificationSettingsRequest) ProtoReflect ¶
func (x *UpsertNotificationSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpsertNotificationSettingsRequest) Reset ¶
func (x *UpsertNotificationSettingsRequest) Reset()
func (*UpsertNotificationSettingsRequest) String ¶
func (x *UpsertNotificationSettingsRequest) String() string
type UpsertNotificationSettingsResponse ¶
type UpsertNotificationSettingsResponse struct {
// contains filtered or unexported fields
}
func (*UpsertNotificationSettingsResponse) Descriptor
deprecated
func (*UpsertNotificationSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertNotificationSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpsertNotificationSettingsResponse) ProtoMessage ¶
func (*UpsertNotificationSettingsResponse) ProtoMessage()
func (*UpsertNotificationSettingsResponse) ProtoReflect ¶
func (x *UpsertNotificationSettingsResponse) ProtoReflect() protoreflect.Message
func (*UpsertNotificationSettingsResponse) Reset ¶
func (x *UpsertNotificationSettingsResponse) Reset()
func (*UpsertNotificationSettingsResponse) String ¶
func (x *UpsertNotificationSettingsResponse) String() string